Comment 18 for bug 1811941

Revision history for this message
Amer Hwitat (amer.hwitat) wrote :

neutron port-list --fixed-ips ip_address=192.168.43.1 ip_address=172.17.20.5 ip_address=172.17.20.152
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+------+----------------------------------+-------------------+--------------------------------------------------------------------------------------+
| id | name | tenant_id | mac_address | fixed_ips |
+--------------------------------------+------+----------------------------------+-------------------+--------------------------------------------------------------------------------------+
| 53c7f03e-27b6-419d-a098-61823dad013b | | a76eea958a6e435a93e3ffc7a36c7970 | fa:16:3e:94:b5:b2 | {"subnet_id": "4f61307a-6f89-4edc-8c9b-f4afc9c9bde6", "ip_address": "172.17.20.152"} |
| b2639fd0-a2ff-4616-9f69-1a86240a65ce | | a76eea958a6e435a93e3ffc7a36c7970 | fa:16:3e:ff:0c:d1 | {"subnet_id": "4f61307a-6f89-4edc-8c9b-f4afc9c9bde6", "ip_address": "172.17.20.5"} |
+--------------------------------------+------+----------------------------------+-------------------+--------------------------------------------------------------------------------------+

neutron router-update router1 --routes type=dict list=true destination=192.168.43.0/24,nexthop=172.17.20.150
neutron router-update router1 --routes type=dict list=true destination=172.17.0.0,nexthop=192.168.43.1

#####################################################################################################

/etc/cinder/cinder.conf

added

[keystone_authtoken]
auth_uri = http://keystone_ip:5000
auth_url = http://keystone_ip:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = services
username = cinder
password = [ccinder password]

systemctl restart openstack-nova-api
systemctl restart openstack-nova-cert
systemctl restart openstack-nova-consoleauth
systemctl restart openstack-nova-scheduler
systemctl restart openstack-nova-conductor
systemctl restart openstack-nova-novncproxy
systemctl restart neutron-server
systemctl restart neutron-dhcp-agent
systemctl restart neutron-l3-agent
systemctl restart neutron-metadata-agent
systemctl restart neutron-openvswitch-agent
systemctl restart openstack-cinder-api
systemctl restart openstack-cinder-backup
systemctl restart openstack-cinder-scheduler
systemctl restart openstack-cinder-volume

sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder

and

systemctl enable neutron-server.service neutron-openvswitch-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service neutron-ovs-cleanup.service
systemctl start neutron-server.service neutron-openvswitch-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service neutron-ovs-cleanup.service
systemctl enable neutron-l3-agent.service
systemctl start neutron-l3-agent.service

just to make sure because my system rebooted while sleeping