您的位置:首页 > 理论基础 > 计算机网络

cloudify与openstack整合,下载JDK失败,wget网络出错

2013-04-06 00:00 716 查看
cloudify@default> bootstrap-cloud --verbose openstack
Setting security profile to "nonsecure".
Bootstrapping cloud openstack. This may take a few minutes.
Establishing connection with provider openstack-nova.
Established connection with provider openstack-nova.
Attempting Cloudify Management VM provisioning.
starting machine with template : {image={id=RegionOne/1f047b49-d3f8-402d-9f27-6a84fbd3f9ac, providerId=1f047b49-d3f8-402d-9f27-6a84fbd3f9ac, name=centos6.3_liveCD, location={scope=ZONE, id=RegionOne, description=RegionOne, parent=openstack-nova}, os={family=unrecognized, name=centos6.3_liveCD, description=centos6.3_liveCD, is64Bit=true}, description=centos6.3_liveCD, status=AVAILABLE, loginUser=root}, hardware={id=RegionOne/2, providerId=2, name=m1.small, location={scope=ZONE, id=RegionOne, description=RegionOne, parent=openstack-nova}, processors=[{cores=1.0, speed=1.0}], ram=2048, volumes=[{type=LOCAL, size=20.0, bootDevice=true, durable=true}], supportsImage=ALWAYS_TRUE}, location={scope=ZONE, id=RegionOne, description=RegionOne, parent=openstack-nova}, options={securityGroupNames=[default], keyPairName=paas}}
Management started successfully.
Attempting to access Management VM 192.168.100.7.
Uploading files to 192.168.100.7.
Launching agent on 192.168.100.7.
Connecting to 192.168.100.7:22
Permanently added '192.168.100.7' (RSA) to the list of known hosts.
[192.168.100.7] Checking script path
[192.168.100.7] script path is /home/root/gs-files/upload
[192.168.100.7] Machine Architecture -- i686
[192.168.100.7] Previous JAVA_HOME value --
[192.168.100.7] Loaded plugins: fastestmirror, refresh-packagekit, security
[192.168.100.7] Determining fastest mirrors
[192.168.100.7] Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
[192.168.100.7] 14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
[192.168.100.7] Error: Cannot find a valid baseurl for repo: base
[192.168.100.7] Downloading JDK from http://repository.cloudifysource.org/com/oracle/java/1.6.0_32/jdk-6...
[192.168.100.7] Installing JDK
[192.168.100.7] Downloading cloudify installation from http://repository.cloudifysource.org/org/cloudifysource/2.5.0-RC/gi...
[192.168.100.7] Failed downloading cloudify installation : error code: 8
Failed accessing management VM null Reason: Remote bootstrap command failed with exit code: 8: Operation failed. org.cloudifysource.esc.installer.InstallerException: Remote bootstrap command failed with exit code: 8
at org.cloudifysource.esc.installer.remoteExec.SshExecutor.execute(SshExecutor.java:69)
at org.cloudifysource.esc.installer.AgentlessInstaller.remoteExecuteAgentOnServer(AgentlessInstaller.java:380)
at org.cloudifysource.esc.installer.AgentlessInstaller.installOnMachineWithIP(AgentlessInstaller.java:234)
at org.cloudifysource.esc.shell.installer.CloudGridAgentBootstrapper$1.call(CloudGridAgentBootstrapper.java:651)
at org.cloudifysource.esc.shell.installer.CloudGridAgentBootstrapper$1.call(CloudGridAgentBootstrapper.java:646)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: Remote command failed with exit status 8
output:
Checking script path
script path is /home/root/gs-files/upload
Machine Architecture -- i686
Previous JAVA_HOME value --
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Error: Cannot find a valid baseurl for repo: base
Downloading JDK from http://repository.cloudifysource.org/com/oracle/java/1.6.0_32/jdk-6...
Installing JDK
Downloading cloudify installation from http://repository.cloudifysource.org/org/cloudifysource/2.5.0-RC/gi...
Failed downloading cloudify installation : error code: 8
at org.cloudifysource.esc.util.SSHExec.executeCommand(SSHExec.java:366)
at org.cloudifysource.esc.util.SSHExec.execute(SSHExec.java:244)
at org.cloudifysource.esc.util.Utils.executeSSHCommand(Utils.java:149)
at org.cloudifysource.esc.installer.remoteExec.SshExecutor.execute(SshExecutor.java:52)
... 9 more
Operation failed. org.cloudifysource.esc.installer.InstallerException: Remote bootstrap command failed with exit code: 8
at org.cloudifysource.esc.installer.remoteExec.SshExecutor.execute(SshExecutor.java:69)
at org.cloudifysource.esc.installer.AgentlessInstaller.remoteExecuteAgentOnServer(AgentlessInstaller.java:380)
at org.cloudifysource.esc.installer.AgentlessInstaller.installOnMachineWithIP(AgentlessInstaller.java:234)
at org.cloudifysource.esc.shell.installer.CloudGridAgentBootstrapper$1.call(CloudGridAgentBootstrapper.java:651)
at org.cloudifysource.esc.shell.installer.CloudGridAgentBootstrapper$1.call(CloudGridAgentBootstrapper.java:646)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: Remote command failed with exit status 8
output:
Checking script path
script path is /home/root/gs-files/upload
Machine Architecture -- i686
Previous JAVA_HOME value --
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
Error: Cannot find a valid baseurl for repo: base
Downloading JDK from http://repository.cloudifysource.org/com/oracle/java/1.6.0_32/jdk-6...
Installing JDK
Downloading cloudify installation from http://repository.cloudifysource.org/org/cloudifysource/2.5.0-RC/gi...
Failed downloading cloudify installation : error code: 8
at org.cloudifysource.esc.util.SSHExec.executeCommand(SSHExec.java:366)
at org.cloudifysource.esc.util.SSHExec.execute(SSHExec.java:244)
at org.cloudifysource.esc.util.Utils.executeSSHCommand(Utils.java:149)
at org.cloudifysource.esc.installer.remoteExec.SshExecutor.execute(SshExecutor.java:52)
... 9 more
Operation failed.

禁用centos 6里的ipv6方法

首先,在终端输入 ip -6 addr show 和 lsmod | grep ipv6查询一下有无安装IPV6模块,或用netstat -nuptl查看是否有ipv6的地址,如果有显示,则说明未禁用IPV6协议,请按以下步骤操作:

一、vi /etc/modprobe.d/ipv6.conf(名字随便起)(RHEL6.0之后没有了/etc/modprobe.conf这个文件)

输入:install ipv6 /bin/true

[root@manager ~]# cd /etc/modprobe.d/

[root@manager modprobe.d]# cat ipv6.conf

install ipv6 /bin/true

二、vi /etc/sysconfig/network在最后增加一句:IPV6INIT=no

[root@manager ~]# cat /etc/sysconfig/network

NETWORKING=yes

IPV6INIT=no

三、禁用ipv6的iptables

chkconfig ip6tables off

四、重启。

最后,在终端再次输入开头两条命令来验证IPV6协议禁用是否成功,此时应无任何内容则禁用成功。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  cloudify openstack wget