Ok ... finally done the router is pingable from my windows installation with both interfaces is up and running ... nova computation CPU on the router, and it took some time for the external gateway interface to be up and active (GREEN) ... I did install though the ironic baremetal on a fresh VM of Openstack ... I have now three VMs ... one for Linux only ... the second with Openstack installed allinone (one Node) ... and the third is the VM I'm working on now (copied it to External Drive for future reference) and it'sm running well on 5GB .. slow but the Horizon is fare to configure Networks and Routers ... though I need a physical router as gateway for my windows to ping the internal network subnet for now I'm preparing static routes to do that ..
I did the following on CLI and the rest is on Horizon ...
systemctl restart network #### and check brifge br-ex status with ip a if Down or UNKOWN
grep rewrite /etc/httpd/conf.modules.d/* ## recreate modules in httpd
systemctl restart httpd
systemctl restart openstack*
systemctl status openstack*
#########################################################################################
gedit /etc/neutron/plugin.ini #### define openvswitch ovs and flat networks
Ok ... finally done the router is pingable from my windows installation with both interfaces is up and running ... nova computation CPU on the router, and it took some time for the external gateway interface to be up and active (GREEN) ... I did install though the ironic baremetal on a fresh VM of Openstack ... I have now three VMs ... one for Linux only ... the second with Openstack installed allinone (one Node) ... and the third is the VM I'm working on now (copied it to External Drive for future reference) and it'sm running well on 5GB .. slow but the Horizon is fare to configure Networks and Routers ... though I need a physical router as gateway for my windows to ping the internal network subnet for now I'm preparing static routes to do that ..
I did the following on CLI and the rest is on Horizon ...
systemctl restart network #### and check brifge br-ex status with ip a if Down or UNKOWN
grep rewrite /etc/httpd/ conf.modules. d/* ## recreate modules in httpd
systemctl restart httpd ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### plugin. ini #### define openvswitch ovs and flat networks
systemctl restart openstack*
systemctl status openstack*
#######
gedit /etc/neutron/
File : openvswitch_ agent.ini
integration_ bridge= br-int interface_ mappings = physnet1:br-ex
tenant_network_type = local,flat,vlan
network_vlan_ranges = physnet1
enable_tunneling = True
bridge_mappings = physnet1:br-ex
physical_
#/etc/neutron/ plugins/ openvswitch/ ovs_neutron_ plugin. ini
[ovs]
#change br-eth0 to your "data network" bridge
bridge_mappings = physnet1:br-eth0
network_vlan_ranges = physnet1
systemctl restart neutron- openvswitch- agent
In addition, turning on verbose and debugging mode in the neutron conf can help alot in tracking down this issue.
#/etc/neutron/ neutron. conf ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### 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 ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ##### NAME=admin 192.168. 43.110: 5000/v3
[DEFAULT]
verbose = True
debug = True
#######
systemctl enable neutron-
systemctl start neutron-
systemctl enable neutron-
systemctl start neutron-
#######
export OS_USERNAME=admin
export OS_PASSWORD=server
export OS_TENANT_
export OS_AUTH_URL=http://
curl -v http:// 192.168. 43.110: 35357 192.168. 43.110: 35357
curl -v http://
neutron net-create External1 --provider: network_ type flat --provider: physical_ network br-ex --router: external= true --shared network_ type flat --provider: physical_ network eno16777736 --router: external= true --shared physical- network provider --provider: physical_ network br-ex --router: external= true --shared
neutron net-create External2 --provider:
neutron net-create External3 --provider-
openstack subnet create --network provider \ 168.43. 2,end=192. 168.43. 240 \
--allocation-pool start=192.
--dns-nameserver 192.168.43.1 --gateway 192.168.43.1 \
--subnet-range 192.168.43.0/24 provider
openstack network create --provider- network- type flat \
--provider- physical- network extnet \
--external \
--share \
external_ network network- type flat \ physical- network extnet \ ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ zone_hints | | 20T15:41: 16Z | 5d8b-4d7b- afdc-724235c971 ec | enabled | True | 9a98cb177bcd313 25 | network_ type | flat | physical_ network | extnet | segmentation_ id | None | 20T15:41: 17Z | ------- ------- ------- +------ ------- ------- ------- ------- ----+
[root@localhost ~(keystone_admin)]# openstack network create --provider-
> --provider-
> --external \
> --share \
> external_network
+------
| Field | Value |
+------
| admin_state_up | UP |
| availability_
| availability_zones | |
| created_at | 2019-01-
| description | |
| dns_domain | None |
| id | a69b0d71-
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | False |
| is_vlan_transparent | None |
| mtu | 1500 |
| name | external_network |
| port_security_
| project_id | d1d7e8bafc6d4e7
| provider:
| provider:
| provider:
| qos_policy_id | None |
| revision_number | 1 |
| router:external | External |
| segments | None |
| shared | True |
| status | ACTIVE |
| subnets | |
| tags | |
| updated_at | 2019-01-
+------
[root@localhost ~(keystone_admin)]#
openstack subnet create --subnet-range 192.168.43.0/24 \
--network external_network \
--no- dhcp \
--gateway= 192.168. 43.1 \
--allocation -pool start=192. 168.43. 100,end= 192.168. 43.240 \
external_ subnet 192.168. 43.1 \ 168.43. 100,end= 192.168. 43.240 \ ------- ------+ ------- ------- ------- ------- ------- ---+ ------- ------+ ------- ------- ------- ------- ------- ---+ 43.100- 192.168. 43.240 | 20T15:42: 16Z | 10c3-48ed- a5a2-84ea253dfa 0f | 5d8b-4d7b- afdc-724235c971 ec | 9a98cb177bcd313 25 | 20T15:42: 16Z | ------- ------+ ------- ------- ------- ------- ------- ---+
[root@localhost ~(keystone_admin)]# openstack subnet create --subnet-range 192.168.43.0/24 \
> --network external_network \
> --no-dhcp \
> --gateway=
> --allocation-pool start=192.
> external_subnet
+------
| Field | Value |
+------
| allocation_pools | 192.168.
| cidr | 192.168.43.0/24 |
| created_at | 2019-01-
| description | |
| dns_nameservers | |
| enable_dhcp | False |
| gateway_ip | 192.168.43.1 |
| host_routes | |
| id | 7660b3d7-
| ip_version | 4 |
| ipv6_address_mode | None |
| ipv6_ra_mode | None |
| name | external_subnet |
| network_id | a69b0d71-
| project_id | d1d7e8bafc6d4e7
| revision_number | 0 |
| segment_id | None |
| service_types | |
| subnetpool_id | None |
| tags | |
| updated_at | 2019-01-
+------
[root@localhost ~(keystone_admin)]#
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######
openstack baremetal node list
openstack baremetal node clean <node> \ devices_ metadata" }]'
--clean-steps '[{"interface": "deploy", "step": "erase_
openstack baremetal node clean <node> \
--clean-steps '[{"interface": "deploy", "step": "erase_devices"}]'