Updates Nova under training labs
Updates to nova, fixes some of the issues present in the scripts. Changes the compute package from "nova-compute-kvm" to "nova-compute-qemu". Fixes Bug 1312764 Implements Blueprint: openstack-training-labs Change-Id: Id3a2dc5f06921f803e07ef2dc8c4dbf64ea508be
This commit is contained in:
parent
e15a4bdfa3
commit
648a6cc2b6
@ -19,5 +19,5 @@ sudo apt-get install -y --download-only cinder-api cinder-scheduler lvm2 \
|
||||
cinder-volume glance openstack-dashboard memcached keystone \
|
||||
neutron-server neutron-plugin-ml2 nova-api nova-cert nova-conductor \
|
||||
nova-consoleauth nova-novncproxy nova-scheduler python-novaclient \
|
||||
nova-compute-kvm python-guestfs neutron-common \
|
||||
nova-compute-qemu libguestfs-tools python-guestfs neutron-common \
|
||||
neutron-plugin-openvswitch-agent neutron-l3-agent neutron-dhcp-agent
|
||||
|
@ -13,7 +13,7 @@ indicate_current_auto
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
echo "Installing nova for compute node."
|
||||
sudo apt-get install -y nova-compute-kvm python-guestfs
|
||||
sudo apt-get install -y nova-compute-qemu python-guestfs libguestfs-tools
|
||||
|
||||
echo "Making the current kernel image world-readable."
|
||||
sudo dpkg-statoverride \
|
||||
@ -53,11 +53,11 @@ iniset_sudo $conf DEFAULT rabbit_host controller-mgmt
|
||||
iniset_sudo $conf DEFAULT rabbit_password "$RABBIT_PASSWORD"
|
||||
|
||||
# Configure other variables
|
||||
iniset_sudo $conf DEFAULT my_ip controller-mgmt
|
||||
iniset_sudo $conf DEFAULT vncserver_listen controller-mgmt
|
||||
iniset_sudo $conf DEFAULT vncserver_proxyclient_address compute-mgmt
|
||||
iniset_sudo $conf DEFAULT my_ip compute-mgmt
|
||||
iniset_sudo $conf DEFAULT vncserver_listen 0.0.0.0
|
||||
iniset_sudo $conf DEFAULT vnc_enabled True
|
||||
iniset_sudo $conf DEFAULT vncserver_proxyclient_address compute-mgmt
|
||||
iniset_sudo $conf DEFAULT novncproxy_base_url http://"$(hostname_to_ip controller-api)":6080/vnc_auto.html
|
||||
iniset_sudo $conf DEFAULT glance_host controller-mgmt
|
||||
iniset_sudo $conf DEFAULT auth_strategy keystone
|
||||
|
||||
@ -72,7 +72,7 @@ iniset_sudo $conf keystone_authtoken admin_password "$nova_admin_password"
|
||||
|
||||
# Configure nova-comptue.conf
|
||||
conf=/etc/nova/nova-compute.conf
|
||||
iniset_sudo $conf DEFAULT virt_type qemu
|
||||
iniset_sudo $conf libvirt virt_type qemu
|
||||
|
||||
echo "Restarting nova services."
|
||||
sudo service nova-compute restart
|
||||
|
Loading…
x
Reference in New Issue
Block a user