As mentioned above, this is a desktop installation of Ubuntu 12.04 to be used for tasks such as bundling of images. It will also be used for managing the cloud infrastructure using nova, glance and swift commandline tools.
Install the required command line tools with the following command:
sudo apt-get install python-novaclient glance-client swift
Install qemu-kvm
sudo apt-get install qemu-kvm
Export the following environment variables or add them to your ~/.bashrc.
export SERVICE_TOKEN=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=admin export OS_AUTH_URL="http://10.10.10.2:5000/v2.0/" export SERVICE_ENDPOINT=http://10.10.10.2:35357/v2.0
Execute nova and glance commands to check the connectivity to OpenStack setup.
nova list +--------------------------------------+------------+--------+----------------------+ | ID | Name | Status | Networks | +--------------------------------------+------------+--------+----------------------+ | 25ee9230-6bb5-4eca-8808-e6b4e0348362 | myinstance | ACTIVE | private=192.168.4.35 | | c939cb2c-e662-46e5-bc31-453007442cf9 | myinstance1| ACTIVE | private=192.168.4.36 | +--------------------------------------+------------+--------+----------------------+
glance index
ID Name Disk Container Size
Format Format
------------------------------------ ------------------------------ ----------------
65b9f8e1-cde8-40e7-93e3-0866becfb9d4 windows qcow2 ovf 7580745728
f147e666-990c-47e2-9caa-a5a21470cc4e debian qcow2 ovf 932904960
f3a8e689-02ed-460f-a587-dc868576228f opensuse qcow2 ovf 1072300032
aa362fd9-7c28-480b-845c-85a5c38ccd86 centoscli qcow2 ovf 1611530240
49f0ec2b-26dd-4644-adcc-2ce047e281c5 ubuntuimage qcow2 ovf 1471807488
