Here is the list of dependencies of all the Nova components as found in the package’s metadata. These
packages are installed automatically.
▪ nova-api: nova-common, python, upstart-job.
▪ nova-scheduler: nova-common, python, upstart-job.
▪ nova-network: netcat, vlan, bridge-utils, dnsmasq-base, iputils-arping, dnsmasq-utils, nova-
common, python2.7, upstart-job.
▪ nova-compute: lsb-base, nova-common, qemu-utils, kpartx, curl, parted, vlan, ebtables, gawk,
iptables, open-iscsi, nova-compute-kvm, python2.7, upstart-job.
▪ nova-compute-kvm: nova-compute, python-libvirt, libvirt-bin, kvm.
▪ nova-compute-lxc: nova-compute, python-libvirt, libvirt-bin.
▪ nova-volume: nova-common, lvm2, tgt, python2.7, upstart-job.
▪ python-nova: python2.7, openssh-client, openssl, python-boto, python-m2crypto, python-pycurl,
python-daemon, python-carrot, python-kombu, python-lockfile, python-gflags, python-libxml2,
python-ldap, python-sqlalchemy, python-eventlet, python-routes, python-webob, python-cheetah,
python-netaddr, python-paste, python-pastedeploy, python-tempita, python-migrate, python-
glance, python-novaclient, python-simplejson, python-lxml, python-feedparser, python-xattr, py-
thon-suds, python-iso8601, sudo.
▪ nova-common: python-amqplib, python-nova, python, adduser.
See appendix A for a description of some of these packages.
If you want to use LXC (still experimental in Essex release) in place of KVM do this on all compute
nodes:
root@nodeX:~# aptitude remove nova-compute-kvm
root@nodeX:~# aptitude install nova-compute-lxc
And adapt the configuration file:
root@nodeX:~# vi /etc/nova/nova.conf
To look like this:
libvirt_type=lxc
And restart the nova-compute service:
root@nodeX:~# service nova-compute restart
If you want to disable the compute node (nova-compute component) on the node1 (see topology n°
2), do this:
root@node1:~# nova-manage service disable --host node1 --service nova-compute
The nova-compute will still run on node1, but the scheduler will no more try to boot instances on it.
• Install Glance (the image service):
Create the glance DB and glance username:
root@node1:~# mysql -uroot -p123456 -e 'CREATE DATABASE glance;'
root@node1:~# mysql -uroot -p123456 -e "GRANT ALL PRIVILEGES ON *.* TO 'glance'@'%'
WITH GRANT OPTION;"
root@node1:~# mysql -uroot -p123456 -e "SET PASSWORD
FOR 'glance'@'%' = PASSWORD('123456');"
Install the Glance components (api and registry):
root@node1:~# aptitude install glance