You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by juhongzhi <ju...@126.com> on 2013/02/27 08:07:25 UTC

安装cloud-agent出错,求指教!

[root@cloud CloudStack-non-OSS-140]# ./install.sh
Setting up the temporary repository...
Cleaning Yum cache...
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: cloud-temp local
2 metadata files removed
Welcome to the Apache CloudStack (Incubating) Installer.  What would you like to do?
    M) Install the Management Server  
    A) Install the Agent
    B) Install BareMetal Agent
    S) Install the Usage Monitor
    E) Remove the MySQL server (will not remove the MySQL databases)
    Q) Quit
    > A
Installing the Agent...
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
cloud-temp                                                                                                   | 1.3 kB     00:00 ...
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Thu Jan 10 04:37:06 2013
  Downloaded: Wed Oct 24 13:27:14 2012
local                                                                                                        | 1.3 kB     00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cloud-agent.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
--> Processing Dependency: cloud-utils = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: cloud-scripts = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: cloud-python = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: cloud-deps = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: cloud-core = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: cloud-agent-libs = 4.0.1 for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Processing Dependency: jakarta-commons-daemon for package: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
--> Running transaction check
---> Package cloud-agent-libs.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
---> Package cloud-core.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
---> Package cloud-deps.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
--> Processing Dependency: mysql-connector-java for package: cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64
---> Package cloud-python.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
---> Package cloud-scripts.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
---> Package cloud-utils.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
---> Package jakarta-commons-daemon.x86_64 1:1.0.1-8.9.el6 will be installed
--> Running transaction check
---> Package mysql-connector-java.noarch 1:5.1.17-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
 Package                               Arch                  Version                                Repository                 Size
====================================================================================================================================
Installing:
 cloud-agent                           x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                 56 k
Installing for dependencies:
 cloud-agent-libs                      x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                335 k
 cloud-core                            x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                352 k
 cloud-deps                            x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                 36 M
 cloud-python                          x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                 77 k
 cloud-scripts                         x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                 27 M
 cloud-utils                           x86_64                4.0.1-0.13.el6.4.0.1                   cloud-temp                1.4 M
 jakarta-commons-daemon                x86_64                1:1.0.1-8.9.el6                        local                      45 k
 mysql-connector-java                  noarch                1:5.1.17-6.el6                         local                     1.4 M
Transaction Summary
====================================================================================================================================
Install       9 Package(s)
Total download size: 67 M
Installed size: 76 M
Is this ok [y/N]: y
Downloading Packages:

Error Downloading Packages:
  cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-scripts-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-scripts-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-utils-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-utils-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-python-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-python-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-agent-libs-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-agent-libs-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
  cloud-core-4.0.1-0.13.el6.4.0.1.x86_64: failure: cloud-core-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try.
Done

Re: 安装cloud-agent出错,求指教!

Posted by 马营 <br...@gmail.com>.
检查这台机器的网络访问权限是否足够,dns是否配置正确

2013/2/27 juhongzhi <ju...@126.com>

> [root@cloud CloudStack-non-OSS-140]# ./install.sh
> Setting up the temporary repository...
> Cleaning Yum cache...
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Cleaning repos: cloud-temp local
> 2 metadata files removed
> Welcome to the Apache CloudStack (Incubating) Installer.  What would you
> like to do?
>     M) Install the Management Server
>     A) Install the Agent
>     B) Install BareMetal Agent
>     S) Install the Usage Monitor
>     E) Remove the MySQL server (will not remove the MySQL databases)
>     Q) Quit
>     > A
> Installing the Agent...
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
> cloud-temp
>                                   | 1.3 kB     00:00 ...
> Not using downloaded repomd.xml because it is older than what we have:
>   Current   : Thu Jan 10 04:37:06 2013
>   Downloaded: Wed Oct 24 13:27:14 2012
> local
>                                    | 1.3 kB     00:00 ...
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package cloud-agent.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> --> Processing Dependency: cloud-utils = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: cloud-scripts = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: cloud-python = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: cloud-deps = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: cloud-core = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: cloud-agent-libs = 4.0.1 for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Processing Dependency: jakarta-commons-daemon for package:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64
> --> Running transaction check
> ---> Package cloud-agent-libs.x86_64 0:4.0.1-0.13.el6.4.0.1 will be
> installed
> ---> Package cloud-core.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> ---> Package cloud-deps.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> --> Processing Dependency: mysql-connector-java for package:
> cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64
> ---> Package cloud-python.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> ---> Package cloud-scripts.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> ---> Package cloud-utils.x86_64 0:4.0.1-0.13.el6.4.0.1 will be installed
> ---> Package jakarta-commons-daemon.x86_64 1:1.0.1-8.9.el6 will be
> installed
> --> Running transaction check
> ---> Package mysql-connector-java.noarch 1:5.1.17-6.el6 will be installed
> --> Finished Dependency Resolution
> Dependencies Resolved
>
> ====================================================================================================================================
>  Package                               Arch                  Version
>                          Repository                 Size
>
> ====================================================================================================================================
> Installing:
>  cloud-agent                           x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                 56 k
> Installing for dependencies:
>  cloud-agent-libs                      x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                335 k
>  cloud-core                            x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                352 k
>  cloud-deps                            x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                 36 M
>  cloud-python                          x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                 77 k
>  cloud-scripts                         x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                 27 M
>  cloud-utils                           x86_64
>  4.0.1-0.13.el6.4.0.1                   cloud-temp                1.4 M
>  jakarta-commons-daemon                x86_64
>  1:1.0.1-8.9.el6                        local                      45 k
>  mysql-connector-java                  noarch
>  1:5.1.17-6.el6                         local                     1.4 M
> Transaction Summary
>
> ====================================================================================================================================
> Install       9 Package(s)
> Total download size: 67 M
> Installed size: 76 M
> Is this ok [y/N]: y
> Downloading Packages:
>
> Error Downloading Packages:
>   cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-agent-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No
> more mirrors to try.
>   cloud-scripts-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-scripts-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256]
> No more mirrors to try.
>   cloud-utils-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-utils-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No
> more mirrors to try.
>   cloud-python-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-python-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256]
> No more mirrors to try.
>   cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-deps-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No
> more mirrors to try.
>   cloud-agent-libs-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-agent-libs-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno
> 256] No more mirrors to try.
>   cloud-core-4.0.1-0.13.el6.4.0.1.x86_64: failure:
> cloud-core-4.0.1-0.13.el6.4.0.1.x86_64.rpm from cloud-temp: [Errno 256] No
> more mirrors to try.
> Done