(1) Setup a couple of env. variables: $ PRIV_NET=$(neutron net-list | grep private | awk '{print $2;}') $ EXT_NET=$(neutron net-list | grep public | awk '{print $2;}') $ ROUTER_ID=$(neutron router-list | grep router1 | awk '{print $2;}') (2) Set the gateway for router: $ neutron router-gateway-set $ROUTER_ID $EXT_NET Set gateway for router b04ccfed-3613-4e87-a412-c3c13185a96d (3) Add security group rules to enable `ping` and `ssh`: $ neutron security-group-rule-create --protocol icmp \ --direction ingress --remote-ip-prefix 0.0.0.0/0 default $ neutron security-group-rule-create --protocol tcp \ --port-range-min 22 --port-range-max 22 --direction ingress default (4) Check the value of 'force_config_drive' in nova.conf: $ grep force_config_drive /etc/nova/nova.conf force_config_drive = False (5) Boot an instance: $ nova boot --image cirros-0.3.3-x86_64-disk --nic net-id=$PRIV_NET \ --flavor m1.small --key_name oskey1 cirrvm1 \ --security_groups default (6) Enumerate the instance: $ nova list +--------------------------------------+---------+--------+------------+-------------+------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+---------+--------+------------+-------------+------------------+ | 95e32cea-5f04-49e7-a875-c70d4d92cde4 | cirrvm1 | ACTIVE | - | Running | private=10.1.0.3 | +--------------------------------------+---------+--------+------------+-------------+------------------+ (7) Enumerate the block devices associated with the instance $ sudo virsh list Id Name State ---------------------------------------------------- 2 instance-00000001 running $ sudo virsh domblklist instance-00000001 Target Source ------------------------------------------------ vda /home/kashyapc/src/cloud/data/nova/instances/95e32cea-5f04-49e7-a875-c70d4d92cde4/disk