Ask Your Question

wildloop's profile - activity

2017-10-17 06:56:41 -0500 answered a question How do I create a floating IP pool

Commands for OpenStack Pike

https://docs.openstack.org/python-openstackclient/latest/cli/decoder.html (https://docs.openstack.org/python-ope...)

os_extnet_project='admin'
os_extnet_name='public1'

os_subnet_name='pub_subnet1'
os_subnet_range='192.168.10.0/24'
os_subnet_ap='start=192.168.10.100,end=192.168.10.200'
os_subnet_gw='192.168.10.1'

os_router_project='myproject'
os_router_name='router1'

# http://<os_addr>/dashboard/project/api_access/openrc/ -> /root/admin-openrc.sh
source /root/admin-openrc.sh 

openstack network create $os_extnet_name --external --project $os_extnet_project
openstack subnet create $os_subnet_name --network $os_extnet_name --subnet-range $os_subnet_range --no-dhcp --allocation-pool $os_subnet_ap --gateway $os_subnet_gw
openstack router create $os_router_name --project $os_router_project
openstack router set $os_router_name --external-gateway $os_extnet_name 
openstack floating ip create $os_extnet_name
2017-09-24 01:11:04 -0500 received badge  Editor (source)
2017-09-24 01:08:35 -0500 answered a question Ceilometer alarm create fail (Table 'aodh.alarm' doesn't exist)

Populate aodh database step is still missing (Packstack Pike) - https://bugs.launchpad.net/openstack-manuals/+bug/1585739 (bug)

Execute:

$ su -s /bin/sh -c "aodh-dbsync --config-file=/etc/aodh/aodh.conf" aodh
$ sudo chown -R aodh:aodh /var/log/aodh/
2017-09-04 06:36:50 -0500 received badge  Enthusiast
2017-08-29 21:58:02 -0500 answered a question Unable to delete instances in 'ERROR' state

$ nova reset-state --active Name-or-ID-of-server

$ nova delete Name-or-ID-of-server

flags: nova --os-project-name my-proj --os-username admin --os-password my-pass --os-auth-url http://127.0.0.1:5000/v3 <subcommand> ...