The <service_token> value will be pasted into nova and glance configs later.

Glance

# apt-get install -y glance

Glance-registry will ask you to configure the database. You can use sqlite3 which is enough.

Glance-common will ask you which pipeline flavor you want. Choose keystone. Then it will ask you what the auth server URL is, answer with http://<proxy.host>:5000. Then paste the <service_token> you get from Keystone in the previous step when debconf asks for it.

NOTE*

If you have made a mistake on this step, doing "# dpkg-reconfigure glance-common" will give you one more chance.

Nova

In the file /etc/nova/api-paste.ini :

In sections pipeline:ec2cloud and pipeline:ec2admin comment the line starting with pipeline = and uncomment the line indicated to be used for keystone auth just above.

In section pipeline:openstack_api_v2 comment the line starting with pipeline = and uncomment the line indicated to be used for keystone auth just above.

Look for the filter:authtoken section and replace <proxy.host> and <service_token> :

To see the instance console, we can go on our compute node and look at the file /var/lib/nova/instances/instance-00000001/console.log (if this is the first intance you created, else change 00000001 to the last available in the folder).

We can activate ssh access, create a floating ip, attach it to our instance and ssh into it (with user ubuntu for UEC images):