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
neutron port-list --fixed-ips ip_address= 192.168. 43.1 ip_address= 172.17. 20.5 ip_address= 172.17. 20.152 ------- ------- ------- ------- ----+-- ----+-- ------- ------- ------- ------- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ----+-- ------- ------- ------- ------- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ 27b6-419d- a098-61823dad01 3b | | a76eea958a6e435 a93e3ffc7a36c79 70 | fa:16:3e:94:b5:b2 | {"subnet_id": "4f61307a- 6f89-4edc- 8c9b-f4afc9c9bd e6", "ip_address": "172.17.20.152"} | a2ff-4616- 9f69-1a86240a65 ce | | a76eea958a6e435 a93e3ffc7a36c79 70 | fa:16:3e:ff:0c:d1 | {"subnet_id": "4f61307a- 6f89-4edc- 8c9b-f4afc9c9bd e6", "ip_address": "172.17.20.5"} | ------- ------- ------- ------- ----+-- ----+-- ------- ------- ------- ------- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+------
| id | name | tenant_id | mac_address | fixed_ips |
+------
| 53c7f03e-
| b2639fd0-
+------
neutron router-update router1 --routes type=dict list=true destination= 192.168. 43.0/24, nexthop= 172.17. 20.150 172.17. 0.0,nexthop= 192.168. 43.1
neutron router-update router1 --routes type=dict list=true destination=
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ###
/etc/cinder/ cinder. conf
added
[keystone_ authtoken] keystone_ ip:5000 keystone_ ip:35357
auth_uri = http://
auth_url = http://
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = services
username = cinder
password = [ccinder password]
systemctl restart openstack-nova-api nova-consoleaut h nova-scheduler nova-conductor nova-novncproxy metadata- agent openvswitch- agent cinder- api cinder- backup cinder- scheduler cinder- volume
systemctl restart openstack-nova-cert
systemctl restart openstack-
systemctl restart openstack-
systemctl restart openstack-
systemctl restart openstack-
systemctl restart neutron-server
systemctl restart neutron-dhcp-agent
systemctl restart neutron-l3-agent
systemctl restart neutron-
systemctl restart neutron-
systemctl restart openstack-
systemctl restart openstack-
systemctl restart openstack-
systemctl restart openstack-
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 server. service neutron- openvswitch- agent.service neutron- dhcp-agent. service neutron- metadata- agent.service neutron- ovs-cleanup. service l3-agent. service l3-agent. service
systemctl start neutron-
systemctl enable neutron-
systemctl start neutron-
just to make sure because my system rebooted while sleeping