Fuel7.0安装脚本(for virtualbox)执行过程

来源:互联网 发布:mysql 恢复 编辑:程序博客网 时间:2024/05/16 03:34
zebra@zebra-PC /cygdrive/c/tool/mirantis/vbox-scripts-7.0/virtualbox
$ sh launch.sh
Checking for 'free'... OK
Checking for 'expect'... OK
If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH.
Usually it is enough to run "export PATH=$PATH:"/cygdrive/c/Program Files/Oracle/VirtualBox"
Checking for "VBoxManage"... OK
Checking for VirtualBox Extension Pack... OK
Checking for Mirantis OpenStack ISO image... OK
Going to use Mirantis OpenStack ISO file iso/MirantisOpenStack-7.0.iso
Checking if SSH client installed... OK
Checking if ipconfig or ifconfig installed... OK
Setup is done.
Creating host-only interface
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interface VirtualBox Host-Only Ethernet Adapter #2 was successfully created
Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter #2...
Configuring IP address 10.20.0.1 and network mask 255.255.255.0 on interface: VirtualBox Host-Only Ethernet Adapter #2...
+ VBoxManage hostonlyif ipconfig 'VirtualBox Host-Only Ethernet Adapter #2' --ip 10.20.0.1 --netmask 255.255.255.0
+ set +x
Verifying interface VirtualBox Host-Only Ethernet Adapter #2 has IP 10.20.0.1 and mask 255.255.255.0 properly set.
OK.
Creating host-only interface
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interface VirtualBox Host-Only Ethernet Adapter #3 was successfully created
Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter #3...
Configuring IP address 172.16.0.254 and network mask 255.255.255.0 on interface: VirtualBox Host-Only Ethernet Adapter #3...
+ VBoxManage hostonlyif ipconfig 'VirtualBox Host-Only Ethernet Adapter #3' --ip 172.16.0.254 --netmask 255.255.255.0
+ set +x
Verifying interface VirtualBox Host-Only Ethernet Adapter #3 has IP 172.16.0.254 and mask 255.255.255.0 properly set.
OK.
Creating host-only interface
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interface VirtualBox Host-Only Ethernet Adapter #4 was successfully created
Disabling DHCP server on interface: VirtualBox Host-Only Ethernet Adapter #4...
Configuring IP address 172.16.1.1 and network mask 255.255.255.0 on interface: VirtualBox Host-Only Ethernet Adapter #4...
+ VBoxManage hostonlyif ipconfig 'VirtualBox Host-Only Ethernet Adapter #4' --ip 172.16.1.1 --netmask 255.255.255.0
+ set +x
Verifying interface VirtualBox Host-Only Ethernet Adapter #4 has IP 172.16.1.1 and mask 255.255.255.0 properly set.
OK.
Virtual machine 'fuel-master' is created and registered.
UUID: ab69719d-f351-4169-9105-cb8fc35f4c0e
Settings file: 'C:\Users\zebra\VirtualBox VMs\fuel-master\fuel-master.vbox'
Adding hostonly adapter to fuel-master and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #2...
Adding disk to fuel-master, with size 65535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: 820c93a0-0c8d-4a84-af61-96d2bde8ee27
Adding serial numbers of disks to fuel-master...


Adding hostonly adapter to fuel-master and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #3...
Adding NAT adapter to fuel-master for outbound network access through the host system...
VBoxManage.exe: error: Machine 'fuel-master' is not currently running


Waiting for VM "fuel-master" to power on...
VM "fuel-master" has been successfully started.
Waiting for product VM to install. Please do NOT abort the script...
Checking for internet connectivity on the host system... FAIL
############################################################
# WARNING: some of the Fuel features will not be supported #
#          because there is no Internet connectivity       #
############################################################
Checking local DNS configuration... /etc/resolv.conf does not contain a nameserver. Using 8.8.8.8 for DNS.
Enabling outbound network/internet access for the product VM...
Waiting until the network services are restarted...
OK


Master node has been installed.




Virtual machine 'fuel-slave-1' is created and registered.
UUID: 7b4ee09a-f444-4bf3-93cb-bf369e46df6d
Settings file: 'C:\Users\zebra\VirtualBox VMs\fuel-slave-1\fuel-slave-1.vbox'
Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #2...
Adding disk to fuel-slave-1, with size 85535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: e333d815-9269-487c-b325-205dce2b22db
Adding serial numbers of disks to fuel-slave-1...
Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #3...
Adding hostonly adapter to fuel-slave-1 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #4...


Adding disk to fuel-slave-1, with size 35535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: b0d398cc-8186-4178-9f68-33ab7ec9df98
Adding serial numbers of disks to fuel-slave-1...
Adding disk to fuel-slave-1, with size 65535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: 4f34f174-3878-41c3-8f03-1565bcbbfada
Adding serial numbers of disks to fuel-slave-1...
Waiting for VM "fuel-slave-1" to power on...
VM "fuel-slave-1" has been successfully started.




Virtual machine 'fuel-slave-2' is created and registered.
UUID: c48ed336-09f3-4083-87e4-39297bacbe0d
Settings file: 'C:\Users\zebra\VirtualBox VMs\fuel-slave-2\fuel-slave-2.vbox'
Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #2...
Adding disk to fuel-slave-2, with size 85535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: d7e098ce-af9b-4aba-b6ee-33133289c634
Adding serial numbers of disks to fuel-slave-2...
Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #3...
Adding hostonly adapter to fuel-slave-2 and bridging with host NIC VirtualBox Host-Only Ethernet Adapter #4...


Adding disk to fuel-slave-2, with size 35535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: b676844e-1eef-494a-b979-ce89af49f3f6
Adding serial numbers of disks to fuel-slave-2...
Adding disk to fuel-slave-2, with size 65535 Mb...
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Medium created. UUID: 793441c3-2dcc-41e6-9c71-7093ff71d965
Adding serial numbers of disks to fuel-slave-2...
Waiting for VM "fuel-slave-2" to power on...
VM "fuel-slave-2" has been successfully started.


Slave nodes have been created. They will boot over PXE and get discovered by the master node.
To access master node, please point your browser to:
    http://10.20.0.2:8000/
The default username and password is admin:admin


zebra@zebra-PC /cygdrive/c/tool/mirantis/vbox-scripts-7.0/virtualbox
$
0 0