After these,
Install OpenStack Ocata by Packstack on CentOS 7. - AKAI TSUKI
Check openstack service. - AKAI TSUKI
image
# openstack image list +--------------------------------------+--------+--------+ | ID | Name | Status | +--------------------------------------+--------+--------+ | b5e892b7-c8a5-44fc-83a7-5cafc43dabf8 | cirros | active | +--------------------------------------+--------+--------+ #
network
# openstack network list +--------------------------------------+---------+--------------------------------------+ | ID | Name | Subnets | +--------------------------------------+---------+--------------------------------------+ | b2e1df72-d4cb-4474-ab9e-cb2d7c5acd1b | public | 71ba8757-ca92-40c2-b85a-2dd5dc6d58c1 | | cf8a77e6-2063-4db3-8fc9-a0c22c82a6b7 | private | c6db71fa-185b-4da9-bacc-31ae7e3a7f50 | +--------------------------------------+---------+--------------------------------------+ #
flavor
# openstack flavor list +----+-----------+-------+------+-----------+-------+-----------+ | ID | Name | RAM | Disk | Ephemeral | VCPUs | Is Public | +----+-----------+-------+------+-----------+-------+-----------+ | 1 | m1.tiny | 512 | 1 | 0 | 1 | True | | 2 | m1.small | 2048 | 20 | 0 | 1 | True | | 3 | m1.medium | 4096 | 40 | 0 | 2 | True | | 4 | m1.large | 8192 | 80 | 0 | 4 | True | | 5 | m1.xlarge | 16384 | 160 | 0 | 8 | True | +----+-----------+-------+------+-----------+-------+-----------+ #
create server
# openstack server create --image cirros --flavor m1.tiny --nic net-id=cf8a77e6-2063-4db3-8fc9-a0c22c82a6b7 sample-vm *snip* # openstack server list +--------------------------------------+-----------+--------+------------------+------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+-----------+--------+------------------+------------+ | 7f61abf8-c070-4968-b1ab-4c3222eaff77 | sample-vm | ACTIVE | private=10.0.0.8 | cirros | +--------------------------------------+-----------+--------+------------------+------------+ #