File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash -xe
22
33nova-manage cell_v2 discover_hosts --verbose
4+
5+ sudo systemctl restart devstack@q-l3
6+ sudo systemctl restart devstack@q-meta
7+
8+ sleep 10
49openstack compute service list
510openstack network agent list
11+
612net_id=$( openstack network show private -f json 2> /dev/null | jq -r .id | tr -d " \r\n" )
7- nova boot --image cirros-0.5.2-x86_64-disk --flavor m1.medium --nic net-id=$net_id testvm
8- sleep 15
13+ nova boot --image cirros-0.5.2-x86_64-disk --flavor m1.medium \
14+ --nic net-id=$net_id --availability-zone=nova:controller testvm
15+ sleep 60
16+
917nova list
10- nova show testvm
11- nova list | grep ACTIVE
18+ nova show testvm | grep ACTIVE
19+ nova console-log testvm
20+ nova console-log testvm | grep " udhcpc: lease of"
21+ nova console-log testvm | grep " successful after"
1222nova delete testvm
1323
1424sudo journalctl --no-pager -n 300 -eu devstack@n-cpu
You can’t perform that action at this time.
0 commit comments