openstack neutron-gateway - error: “could not add network device eno2 to ofproto (Device or resource busy)”No route to host found - OpenStackCan't ping/ssh Openstack VM internal instance from controllerOpenstack, neutron, Can't ping external networkNo route to host for the C-class external IP onlyOpenStack Error(Neutron network service)OpenStack neutron subnet - create port with ip address after network addressCannot ping gateway for external Openstack networkNeutron configuration error : Failed to retrieve extensions list from Network APIOpenstack Pike installation Neutron Compute could not be found errorOpenstack Neutron: Cannot find list of possible error response messages for Openstack neutronWhile using openstack neutron apiv2 not able to fetch details of network quotaOpenstack neutron : accessing openstack managed servers from the network host
Star/Wye electrical connection math symbol
Can I convert a rim brake wheel to a disc brake wheel?
Valid Badminton Score?
Teaching indefinite integrals that require special-casing
How to be diplomatic in refusing to write code that breaches the privacy of our users
Is there a problem with hiding "forgot password" until it's needed?
Why Were Madagascar and New Zealand Discovered So Late?
Can I Retrieve Email Addresses from BCC?
Is a roofing delivery truck likely to crack my driveway slab?
Modify casing of marked letters
Print name if parameter passed to function
What to do with wrong results in talks?
At which point does a character regain all their Hit Dice?
How to prove that the query oracle is unitary?
Go Pregnant or Go Home
What will be the benefits of Brexit?
Hostile work environment after whistle-blowing on coworker and our boss. What do I do?
quarter to five p.m
Modulo 2 binary long division in European notation
Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?
I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?
Opposite of a diet
What is the intuitive meaning of having a linear relationship between the logs of two variables?
MaTeX, font size, and PlotLegends
openstack neutron-gateway - error: “could not add network device eno2 to ofproto (Device or resource busy)”
No route to host found - OpenStackCan't ping/ssh Openstack VM internal instance from controllerOpenstack, neutron, Can't ping external networkNo route to host for the C-class external IP onlyOpenStack Error(Neutron network service)OpenStack neutron subnet - create port with ip address after network addressCannot ping gateway for external Openstack networkNeutron configuration error : Failed to retrieve extensions list from Network APIOpenstack Pike installation Neutron Compute could not be found errorOpenstack Neutron: Cannot find list of possible error response messages for Openstack neutronWhile using openstack neutron apiv2 not able to fetch details of network quotaOpenstack neutron : accessing openstack managed servers from the network host
my lab:
10.20.81.0/24
+-------------+
Firewall
10.20.81.254
+-------------+
|
+-------------------------------------------------------------+
Switch
vlan81 vlan81 vlan81
+-------------------------------------------------------------+
| | || || || ||
+--------------+ +------------+ +------------------+
|Maas+Juju |Juju Gui| |Openstack
|10.20.81.1 |10.20.81.2 |10.20.81.21-24
+--------------+ +-------------+ +------------------+
|
+--------------------------------------------+
Private Subnet-1 Public Subnet-2
10.0.0.0/24 10.20.81.0/24
+---+----+--+ +----+------+
| | +----+ |
| | | | |
| +--------+ VR +-------------+
| | |
+--+-+ +----+
| |
| VM |
| .9 |
| |
+----+
On my lab, the nodes for Openstack present two eth interface, the first one (eno2) the single external network used as floating IP, then the other one (eno3) for the private network.
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
I've opened this post https://ask.openstack.org/en/question/119783/no-route-to-instance-ssh-and-ping-no-route-to-host/ to resolve the problem about the Ping and Ssh connection to my instance, but during same check I've seen this issue on neutron-gateway:
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Maybe that is the cause of my first issue, but I don't understand how I can fix it.
$:juju ssh neutron-gateway/0
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Mar 19 16:07:19 UTC 2019
System load: 0.64 Processes: 409
Usage of /: 5.7% of 273.00GB Users logged in: 0
Memory usage: 13% IP address for lxdbr0: 10.122.135.1
Swap usage: 0% IP address for br-eno2: 10.20.81.21
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ovs-vsctl show output
ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "eno2"
Interface "eno2"
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: peer=int-br-ex
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: peer=patch-tun
Port br-tun
Interface br-tun
type: internal
Port "gre-0a145118"
Interface "gre-0a145118"
type: gre
options: df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: peer=patch-int
Port "tapb0b04b07-8f"
tag: 2
Interface "tapb0b04b07-8f"
Port int-br-ex
Interface int-br-ex
type: patch
options: peer=phy-br-ex
Port "tap2354468c-88"
tag: 4
Interface "tap2354468c-88"
Port "tap6d2b2fe0-47"
tag: 4
Interface "tap6d2b2fe0-47"
ovs_version: "2.10.0"
this is the ifconfig of neutron-gateway/0
ubuntu@os-compute01:~$ ifconfig
br-eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.20.81.21 netmask 255.255.255.0 broadcast 10.20.81.255
inet6 fe80::5845:7bff:fec9:74d7 prefixlen 64 scopeid 0x20<link>
ether 5a:45:7b:c9:74:d7 txqueuelen 1000 (Ethernet)
RX packets 1162427 bytes 389002315 (389.0 MB)
RX errors 0 dropped 77 overruns 0 frame 0
TX packets 988585 bytes 262205905 (262.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno2: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26652040 bytes 7129763535 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22342193 bytes 8933585044 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26635773 bytes 7125970730 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22328401 bytes 8928056782 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
gre_sys: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65000
inet6 fe80::24:9fff:fea8:b4e9 prefixlen 64 scopeid 0x20<link>
ether 02:24:9f:a8:b4:e9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 31 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3105900 bytes 818901653 (818.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3105900 bytes 818901653 (818.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxdbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.84.173.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::7c55:3dff:feda:dd66 prefixlen 64 scopeid 0x20<link>
ether 7e:55:3d:da:dd:66 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113 bytes 8006 (8.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap6d2b2fe0-47: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 6e:26:54:53:b5:50 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 446 (446.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80134 bytes 3365764 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap8cd81547-a1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 92:7b:80:8a:d2:bf txqueuelen 1000 (Ethernet)
RX packets 216396 bytes 9089084 (9.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapa87cf04b-d5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 86:37:c5:54:7e:e2 txqueuelen 1000 (Ethernet)
RX packets 16 bytes 1124 (1.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth5U6BQO: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fca9:a3ff:fed4:be24 prefixlen 64 scopeid 0x20<link>
ether fe:a9:a3:d4:be:24 txqueuelen 1000 (Ethernet)
RX packets 1628811 bytes 433090133 (433.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1613481 bytes 510808197 (510.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethB3HMSC: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fcd7:beff:fe73:ecfd prefixlen 64 scopeid 0x20<link>
ether fe:d7:be:73:ec:fd txqueuelen 1000 (Ethernet)
RX packets 13690383 bytes 6300229482 (6.3 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19035675 bytes 4310376006 (4.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethIK7XQ8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc0e:3ff:fea9:e857 prefixlen 64 scopeid 0x20<link>
ether fe:0e:03:a9:e8:57 txqueuelen 1000 (Ethernet)
RX packets 5194277 bytes 2026801560 (2.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5222938 bytes 1959040428 (1.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
juju status
$:juju status
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-cloud-controller maas-cloud 2.5.1 unsupported 22:10:17Z
App Version Status Scale Charm Store Rev OS Notes
ceph-mon 13.2.4+dfsg1 active 3 ceph-mon jujucharms 31 ubuntu
ceph-osd 13.2.4+dfsg1 active 3 ceph-osd jujucharms 273 ubuntu
ceph-radosgw 13.2.4+dfsg1 active 1 ceph-radosgw jujucharms 262 ubuntu
cinder 13.0.2 active 1 cinder jujucharms 276 ubuntu
cinder-ceph 13.0.2 active 1 cinder-ceph jujucharms 238 ubuntu
glance 17.0.0 active 1 glance jujucharms 271 ubuntu
keystone 14.0.1 active 1 keystone jujucharms 288 ubuntu
mysql 5.7.20-29.24 active 1 percona-cluster jujucharms 272 ubuntu
neutron-api 13.0.2 active 1 neutron-api jujucharms 266 ubuntu
neutron-gateway 13.0.2 active 1 neutron-gateway jujucharms 256 ubuntu
neutron-openvswitch 13.0.2 active 3 neutron-openvswitch jujucharms 255 ubuntu
nova-cloud-controller 18.0.3 active 1 nova-cloud-controller jujucharms 316 ubuntu
nova-compute 18.0.3 active 3 nova-compute jujucharms 290 ubuntu
ntp 3.2 active 4 ntp jujucharms 31 ubuntu
openstack-dashboard 14.0.1 active 1 openstack-dashboard jujucharms 271 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 82 ubuntu
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0 active idle 1/lxd/0 10.20.81.4 Unit is ready and clustered
ceph-mon/1 active idle 2/lxd/0 10.20.81.8 Unit is ready and clustered
ceph-mon/2* active idle 3/lxd/0 10.20.81.5 Unit is ready and clustered
ceph-osd/0 active idle 1 10.20.81.23 Unit is ready (1 OSD)
ceph-osd/1 active idle 2 10.20.81.22 Unit is ready (1 OSD)
ceph-osd/2* active idle 3 10.20.81.24 Unit is ready (1 OSD)
ceph-radosgw/0* active idle 0/lxd/0 10.20.81.15 80/tcp Unit is ready
cinder/0* active idle 1/lxd/1 10.20.81.18 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.20.81.18 Unit is ready
glance/0* active idle 2/lxd/1 10.20.81.6 9292/tcp Unit is ready
keystone/0* active idle 3/lxd/1 10.20.81.20 5000/tcp Unit is ready
mysql/0* active idle 0/lxd/1 10.20.81.17 3306/tcp Unit is ready
neutron-api/0* active idle 1/lxd/2 10.20.81.7 9696/tcp Unit is ready
neutron-gateway/0* active idle 0 10.20.81.21 Unit is ready
ntp/0* active idle 10.20.81.21 123/udp chrony: Ready
nova-cloud-controller/0* active idle 2/lxd/2 10.20.81.3 8774/tcp,8775/tcp,8778/tcp Unit is ready
nova-compute/0 active idle 1 10.20.81.23 Unit is ready
neutron-openvswitch/1 active idle 10.20.81.23 Unit is ready
ntp/2 active idle 10.20.81.23 123/udp chrony: Ready
nova-compute/1 active idle 2 10.20.81.22 Unit is ready
neutron-openvswitch/2 active idle 10.20.81.22 Unit is ready
ntp/3 active idle 10.20.81.22 123/udp chrony: Ready
nova-compute/2* active idle 3 10.20.81.24 Unit is ready
neutron-openvswitch/0* active idle 10.20.81.24 Unit is ready
ntp/1 active idle 10.20.81.24 123/udp chrony: Ready
openstack-dashboard/0* active idle 3/lxd/2 10.20.81.19 80/tcp,443/tcp Unit is ready
rabbitmq-server/0* active idle 0/lxd/2 10.20.81.16 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.20.81.21 nbe8q3 bionic Openstack Deployed
0/lxd/0 started 10.20.81.15 juju-26461e-0-lxd-0 bionic Openstack Container started
0/lxd/1 started 10.20.81.17 juju-26461e-0-lxd-1 bionic Openstack Container started
0/lxd/2 started 10.20.81.16 juju-26461e-0-lxd-2 bionic Openstack Container started
1 started 10.20.81.23 pdnc7c bionic Openstack Deployed
1/lxd/0 started 10.20.81.4 juju-26461e-1-lxd-0 bionic Openstack Container started
1/lxd/1 started 10.20.81.18 juju-26461e-1-lxd-1 bionic Openstack Container started
1/lxd/2 started 10.20.81.7 juju-26461e-1-lxd-2 bionic Openstack Container started
2 started 10.20.81.22 yxkyet bionic Openstack Deployed
2/lxd/0 started 10.20.81.8 juju-26461e-2-lxd-0 bionic Openstack Container started
2/lxd/1 started 10.20.81.6 juju-26461e-2-lxd-1 bionic Openstack Container started
2/lxd/2 started 10.20.81.3 juju-26461e-2-lxd-2 bionic Openstack Container started
3 started 10.20.81.24 bgqsdy bionic Openstack Deployed
3/lxd/0 started 10.20.81.5 juju-26461e-3-lxd-0 bionic Openstack Container started
3/lxd/1 started 10.20.81.20 juju-26461e-3-lxd-1 bionic Openstack Container started
3/lxd/2 started 10.20.81.19 juju-26461e-3-lxd-2 bionic Openstack Container started
iptables
on Maas this is my ip https://pasteboard.co/I5TxgTe.png
ovs-dpctl show output
ubuntu@os-compute01:~$ sudo ovs-dpctl show
system@ovs-system:
lookups: hit:0 missed:0 lost:0
flows: 0
masks: hit:0 total:0 hit/pkt:0.00
port 0: ovs-system (internal)
port 1: br-int (internal)
port 2: br-ex (internal)
port 3: br-tun (internal)
ovs-vsctl list output
ubuntu@os-compute01:~$ sudo ovs-vsctl list bridge
_uuid : 1d1a8985-2d02-4c4d-8cc8-14187ceaf452
auto_attach : []
controller : [cdc46997-476e-4cce-b2ac-c8e87d196097]
datapath_id : "000086891a1d4d4c"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-int
netflow : []
other_config : mac-table-size="50000"
ports : [01b29dff-8e4a-4eda-8374-762ae8439202, 08bb05ff-fc98-422a-89a0-31cfa1e064a0, 4b798168-bea9-4468-98b3-fe685490c17c, 963b4c30-6a5b-4a0b-962e-6aba53633fbf, ee97db71-a5d6-4d55-95a4-cbc2fe2064a1, fa019bc3-f65b-4ef8-b7ac-db2deb87f9bf]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : be346721-d09f-49a3-be6c-8708449dd4e6
auto_attach : []
controller : [69c35660-b59f-441e-bc6b-99ee403287ae]
datapath_id : "0000226734bea349"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-tun
netflow : []
other_config : mac-table-size="50000"
ports : [5768ab68-ac55-4595-afbb-c62efc316cde, 5ab65280-4a69-4802-a4e6-12b59c518dc6, c9829b4c-89e6-4fab-a126-0b3bf668a427]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : eaac7d8f-cb89-4426-9579-7f5873fa6e23
auto_attach : []
controller : [5b8b9b1a-d800-4f31-b424-3995b89406dd]
datapath_id : "00008e7dacea2644"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-ex
netflow : []
other_config : mac-table-size="50000"
ports : [28849a2a-7ab6-4674-80fb-5c0a0c8194ed, 70322c1b-6c16-4031-8305-e79a1d07ca77, cb385e9c-719f-415b-92ef-ae7896f33a6a]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
Any suggestions please. I am still unable to solve the problem. Thanks.
openstack-neutron juju
add a comment |
my lab:
10.20.81.0/24
+-------------+
Firewall
10.20.81.254
+-------------+
|
+-------------------------------------------------------------+
Switch
vlan81 vlan81 vlan81
+-------------------------------------------------------------+
| | || || || ||
+--------------+ +------------+ +------------------+
|Maas+Juju |Juju Gui| |Openstack
|10.20.81.1 |10.20.81.2 |10.20.81.21-24
+--------------+ +-------------+ +------------------+
|
+--------------------------------------------+
Private Subnet-1 Public Subnet-2
10.0.0.0/24 10.20.81.0/24
+---+----+--+ +----+------+
| | +----+ |
| | | | |
| +--------+ VR +-------------+
| | |
+--+-+ +----+
| |
| VM |
| .9 |
| |
+----+
On my lab, the nodes for Openstack present two eth interface, the first one (eno2) the single external network used as floating IP, then the other one (eno3) for the private network.
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
I've opened this post https://ask.openstack.org/en/question/119783/no-route-to-instance-ssh-and-ping-no-route-to-host/ to resolve the problem about the Ping and Ssh connection to my instance, but during same check I've seen this issue on neutron-gateway:
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Maybe that is the cause of my first issue, but I don't understand how I can fix it.
$:juju ssh neutron-gateway/0
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Mar 19 16:07:19 UTC 2019
System load: 0.64 Processes: 409
Usage of /: 5.7% of 273.00GB Users logged in: 0
Memory usage: 13% IP address for lxdbr0: 10.122.135.1
Swap usage: 0% IP address for br-eno2: 10.20.81.21
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ovs-vsctl show output
ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "eno2"
Interface "eno2"
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: peer=int-br-ex
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: peer=patch-tun
Port br-tun
Interface br-tun
type: internal
Port "gre-0a145118"
Interface "gre-0a145118"
type: gre
options: df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: peer=patch-int
Port "tapb0b04b07-8f"
tag: 2
Interface "tapb0b04b07-8f"
Port int-br-ex
Interface int-br-ex
type: patch
options: peer=phy-br-ex
Port "tap2354468c-88"
tag: 4
Interface "tap2354468c-88"
Port "tap6d2b2fe0-47"
tag: 4
Interface "tap6d2b2fe0-47"
ovs_version: "2.10.0"
this is the ifconfig of neutron-gateway/0
ubuntu@os-compute01:~$ ifconfig
br-eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.20.81.21 netmask 255.255.255.0 broadcast 10.20.81.255
inet6 fe80::5845:7bff:fec9:74d7 prefixlen 64 scopeid 0x20<link>
ether 5a:45:7b:c9:74:d7 txqueuelen 1000 (Ethernet)
RX packets 1162427 bytes 389002315 (389.0 MB)
RX errors 0 dropped 77 overruns 0 frame 0
TX packets 988585 bytes 262205905 (262.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno2: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26652040 bytes 7129763535 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22342193 bytes 8933585044 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26635773 bytes 7125970730 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22328401 bytes 8928056782 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
gre_sys: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65000
inet6 fe80::24:9fff:fea8:b4e9 prefixlen 64 scopeid 0x20<link>
ether 02:24:9f:a8:b4:e9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 31 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3105900 bytes 818901653 (818.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3105900 bytes 818901653 (818.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxdbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.84.173.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::7c55:3dff:feda:dd66 prefixlen 64 scopeid 0x20<link>
ether 7e:55:3d:da:dd:66 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113 bytes 8006 (8.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap6d2b2fe0-47: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 6e:26:54:53:b5:50 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 446 (446.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80134 bytes 3365764 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap8cd81547-a1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 92:7b:80:8a:d2:bf txqueuelen 1000 (Ethernet)
RX packets 216396 bytes 9089084 (9.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapa87cf04b-d5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 86:37:c5:54:7e:e2 txqueuelen 1000 (Ethernet)
RX packets 16 bytes 1124 (1.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth5U6BQO: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fca9:a3ff:fed4:be24 prefixlen 64 scopeid 0x20<link>
ether fe:a9:a3:d4:be:24 txqueuelen 1000 (Ethernet)
RX packets 1628811 bytes 433090133 (433.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1613481 bytes 510808197 (510.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethB3HMSC: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fcd7:beff:fe73:ecfd prefixlen 64 scopeid 0x20<link>
ether fe:d7:be:73:ec:fd txqueuelen 1000 (Ethernet)
RX packets 13690383 bytes 6300229482 (6.3 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19035675 bytes 4310376006 (4.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethIK7XQ8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc0e:3ff:fea9:e857 prefixlen 64 scopeid 0x20<link>
ether fe:0e:03:a9:e8:57 txqueuelen 1000 (Ethernet)
RX packets 5194277 bytes 2026801560 (2.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5222938 bytes 1959040428 (1.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
juju status
$:juju status
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-cloud-controller maas-cloud 2.5.1 unsupported 22:10:17Z
App Version Status Scale Charm Store Rev OS Notes
ceph-mon 13.2.4+dfsg1 active 3 ceph-mon jujucharms 31 ubuntu
ceph-osd 13.2.4+dfsg1 active 3 ceph-osd jujucharms 273 ubuntu
ceph-radosgw 13.2.4+dfsg1 active 1 ceph-radosgw jujucharms 262 ubuntu
cinder 13.0.2 active 1 cinder jujucharms 276 ubuntu
cinder-ceph 13.0.2 active 1 cinder-ceph jujucharms 238 ubuntu
glance 17.0.0 active 1 glance jujucharms 271 ubuntu
keystone 14.0.1 active 1 keystone jujucharms 288 ubuntu
mysql 5.7.20-29.24 active 1 percona-cluster jujucharms 272 ubuntu
neutron-api 13.0.2 active 1 neutron-api jujucharms 266 ubuntu
neutron-gateway 13.0.2 active 1 neutron-gateway jujucharms 256 ubuntu
neutron-openvswitch 13.0.2 active 3 neutron-openvswitch jujucharms 255 ubuntu
nova-cloud-controller 18.0.3 active 1 nova-cloud-controller jujucharms 316 ubuntu
nova-compute 18.0.3 active 3 nova-compute jujucharms 290 ubuntu
ntp 3.2 active 4 ntp jujucharms 31 ubuntu
openstack-dashboard 14.0.1 active 1 openstack-dashboard jujucharms 271 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 82 ubuntu
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0 active idle 1/lxd/0 10.20.81.4 Unit is ready and clustered
ceph-mon/1 active idle 2/lxd/0 10.20.81.8 Unit is ready and clustered
ceph-mon/2* active idle 3/lxd/0 10.20.81.5 Unit is ready and clustered
ceph-osd/0 active idle 1 10.20.81.23 Unit is ready (1 OSD)
ceph-osd/1 active idle 2 10.20.81.22 Unit is ready (1 OSD)
ceph-osd/2* active idle 3 10.20.81.24 Unit is ready (1 OSD)
ceph-radosgw/0* active idle 0/lxd/0 10.20.81.15 80/tcp Unit is ready
cinder/0* active idle 1/lxd/1 10.20.81.18 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.20.81.18 Unit is ready
glance/0* active idle 2/lxd/1 10.20.81.6 9292/tcp Unit is ready
keystone/0* active idle 3/lxd/1 10.20.81.20 5000/tcp Unit is ready
mysql/0* active idle 0/lxd/1 10.20.81.17 3306/tcp Unit is ready
neutron-api/0* active idle 1/lxd/2 10.20.81.7 9696/tcp Unit is ready
neutron-gateway/0* active idle 0 10.20.81.21 Unit is ready
ntp/0* active idle 10.20.81.21 123/udp chrony: Ready
nova-cloud-controller/0* active idle 2/lxd/2 10.20.81.3 8774/tcp,8775/tcp,8778/tcp Unit is ready
nova-compute/0 active idle 1 10.20.81.23 Unit is ready
neutron-openvswitch/1 active idle 10.20.81.23 Unit is ready
ntp/2 active idle 10.20.81.23 123/udp chrony: Ready
nova-compute/1 active idle 2 10.20.81.22 Unit is ready
neutron-openvswitch/2 active idle 10.20.81.22 Unit is ready
ntp/3 active idle 10.20.81.22 123/udp chrony: Ready
nova-compute/2* active idle 3 10.20.81.24 Unit is ready
neutron-openvswitch/0* active idle 10.20.81.24 Unit is ready
ntp/1 active idle 10.20.81.24 123/udp chrony: Ready
openstack-dashboard/0* active idle 3/lxd/2 10.20.81.19 80/tcp,443/tcp Unit is ready
rabbitmq-server/0* active idle 0/lxd/2 10.20.81.16 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.20.81.21 nbe8q3 bionic Openstack Deployed
0/lxd/0 started 10.20.81.15 juju-26461e-0-lxd-0 bionic Openstack Container started
0/lxd/1 started 10.20.81.17 juju-26461e-0-lxd-1 bionic Openstack Container started
0/lxd/2 started 10.20.81.16 juju-26461e-0-lxd-2 bionic Openstack Container started
1 started 10.20.81.23 pdnc7c bionic Openstack Deployed
1/lxd/0 started 10.20.81.4 juju-26461e-1-lxd-0 bionic Openstack Container started
1/lxd/1 started 10.20.81.18 juju-26461e-1-lxd-1 bionic Openstack Container started
1/lxd/2 started 10.20.81.7 juju-26461e-1-lxd-2 bionic Openstack Container started
2 started 10.20.81.22 yxkyet bionic Openstack Deployed
2/lxd/0 started 10.20.81.8 juju-26461e-2-lxd-0 bionic Openstack Container started
2/lxd/1 started 10.20.81.6 juju-26461e-2-lxd-1 bionic Openstack Container started
2/lxd/2 started 10.20.81.3 juju-26461e-2-lxd-2 bionic Openstack Container started
3 started 10.20.81.24 bgqsdy bionic Openstack Deployed
3/lxd/0 started 10.20.81.5 juju-26461e-3-lxd-0 bionic Openstack Container started
3/lxd/1 started 10.20.81.20 juju-26461e-3-lxd-1 bionic Openstack Container started
3/lxd/2 started 10.20.81.19 juju-26461e-3-lxd-2 bionic Openstack Container started
iptables
on Maas this is my ip https://pasteboard.co/I5TxgTe.png
ovs-dpctl show output
ubuntu@os-compute01:~$ sudo ovs-dpctl show
system@ovs-system:
lookups: hit:0 missed:0 lost:0
flows: 0
masks: hit:0 total:0 hit/pkt:0.00
port 0: ovs-system (internal)
port 1: br-int (internal)
port 2: br-ex (internal)
port 3: br-tun (internal)
ovs-vsctl list output
ubuntu@os-compute01:~$ sudo ovs-vsctl list bridge
_uuid : 1d1a8985-2d02-4c4d-8cc8-14187ceaf452
auto_attach : []
controller : [cdc46997-476e-4cce-b2ac-c8e87d196097]
datapath_id : "000086891a1d4d4c"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-int
netflow : []
other_config : mac-table-size="50000"
ports : [01b29dff-8e4a-4eda-8374-762ae8439202, 08bb05ff-fc98-422a-89a0-31cfa1e064a0, 4b798168-bea9-4468-98b3-fe685490c17c, 963b4c30-6a5b-4a0b-962e-6aba53633fbf, ee97db71-a5d6-4d55-95a4-cbc2fe2064a1, fa019bc3-f65b-4ef8-b7ac-db2deb87f9bf]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : be346721-d09f-49a3-be6c-8708449dd4e6
auto_attach : []
controller : [69c35660-b59f-441e-bc6b-99ee403287ae]
datapath_id : "0000226734bea349"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-tun
netflow : []
other_config : mac-table-size="50000"
ports : [5768ab68-ac55-4595-afbb-c62efc316cde, 5ab65280-4a69-4802-a4e6-12b59c518dc6, c9829b4c-89e6-4fab-a126-0b3bf668a427]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : eaac7d8f-cb89-4426-9579-7f5873fa6e23
auto_attach : []
controller : [5b8b9b1a-d800-4f31-b424-3995b89406dd]
datapath_id : "00008e7dacea2644"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-ex
netflow : []
other_config : mac-table-size="50000"
ports : [28849a2a-7ab6-4674-80fb-5c0a0c8194ed, 70322c1b-6c16-4031-8305-e79a1d07ca77, cb385e9c-719f-415b-92ef-ae7896f33a6a]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
Any suggestions please. I am still unable to solve the problem. Thanks.
openstack-neutron juju
add a comment |
my lab:
10.20.81.0/24
+-------------+
Firewall
10.20.81.254
+-------------+
|
+-------------------------------------------------------------+
Switch
vlan81 vlan81 vlan81
+-------------------------------------------------------------+
| | || || || ||
+--------------+ +------------+ +------------------+
|Maas+Juju |Juju Gui| |Openstack
|10.20.81.1 |10.20.81.2 |10.20.81.21-24
+--------------+ +-------------+ +------------------+
|
+--------------------------------------------+
Private Subnet-1 Public Subnet-2
10.0.0.0/24 10.20.81.0/24
+---+----+--+ +----+------+
| | +----+ |
| | | | |
| +--------+ VR +-------------+
| | |
+--+-+ +----+
| |
| VM |
| .9 |
| |
+----+
On my lab, the nodes for Openstack present two eth interface, the first one (eno2) the single external network used as floating IP, then the other one (eno3) for the private network.
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
I've opened this post https://ask.openstack.org/en/question/119783/no-route-to-instance-ssh-and-ping-no-route-to-host/ to resolve the problem about the Ping and Ssh connection to my instance, but during same check I've seen this issue on neutron-gateway:
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Maybe that is the cause of my first issue, but I don't understand how I can fix it.
$:juju ssh neutron-gateway/0
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Mar 19 16:07:19 UTC 2019
System load: 0.64 Processes: 409
Usage of /: 5.7% of 273.00GB Users logged in: 0
Memory usage: 13% IP address for lxdbr0: 10.122.135.1
Swap usage: 0% IP address for br-eno2: 10.20.81.21
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ovs-vsctl show output
ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "eno2"
Interface "eno2"
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: peer=int-br-ex
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: peer=patch-tun
Port br-tun
Interface br-tun
type: internal
Port "gre-0a145118"
Interface "gre-0a145118"
type: gre
options: df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: peer=patch-int
Port "tapb0b04b07-8f"
tag: 2
Interface "tapb0b04b07-8f"
Port int-br-ex
Interface int-br-ex
type: patch
options: peer=phy-br-ex
Port "tap2354468c-88"
tag: 4
Interface "tap2354468c-88"
Port "tap6d2b2fe0-47"
tag: 4
Interface "tap6d2b2fe0-47"
ovs_version: "2.10.0"
this is the ifconfig of neutron-gateway/0
ubuntu@os-compute01:~$ ifconfig
br-eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.20.81.21 netmask 255.255.255.0 broadcast 10.20.81.255
inet6 fe80::5845:7bff:fec9:74d7 prefixlen 64 scopeid 0x20<link>
ether 5a:45:7b:c9:74:d7 txqueuelen 1000 (Ethernet)
RX packets 1162427 bytes 389002315 (389.0 MB)
RX errors 0 dropped 77 overruns 0 frame 0
TX packets 988585 bytes 262205905 (262.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno2: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26652040 bytes 7129763535 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22342193 bytes 8933585044 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26635773 bytes 7125970730 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22328401 bytes 8928056782 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
gre_sys: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65000
inet6 fe80::24:9fff:fea8:b4e9 prefixlen 64 scopeid 0x20<link>
ether 02:24:9f:a8:b4:e9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 31 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3105900 bytes 818901653 (818.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3105900 bytes 818901653 (818.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxdbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.84.173.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::7c55:3dff:feda:dd66 prefixlen 64 scopeid 0x20<link>
ether 7e:55:3d:da:dd:66 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113 bytes 8006 (8.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap6d2b2fe0-47: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 6e:26:54:53:b5:50 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 446 (446.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80134 bytes 3365764 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap8cd81547-a1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 92:7b:80:8a:d2:bf txqueuelen 1000 (Ethernet)
RX packets 216396 bytes 9089084 (9.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapa87cf04b-d5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 86:37:c5:54:7e:e2 txqueuelen 1000 (Ethernet)
RX packets 16 bytes 1124 (1.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth5U6BQO: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fca9:a3ff:fed4:be24 prefixlen 64 scopeid 0x20<link>
ether fe:a9:a3:d4:be:24 txqueuelen 1000 (Ethernet)
RX packets 1628811 bytes 433090133 (433.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1613481 bytes 510808197 (510.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethB3HMSC: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fcd7:beff:fe73:ecfd prefixlen 64 scopeid 0x20<link>
ether fe:d7:be:73:ec:fd txqueuelen 1000 (Ethernet)
RX packets 13690383 bytes 6300229482 (6.3 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19035675 bytes 4310376006 (4.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethIK7XQ8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc0e:3ff:fea9:e857 prefixlen 64 scopeid 0x20<link>
ether fe:0e:03:a9:e8:57 txqueuelen 1000 (Ethernet)
RX packets 5194277 bytes 2026801560 (2.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5222938 bytes 1959040428 (1.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
juju status
$:juju status
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-cloud-controller maas-cloud 2.5.1 unsupported 22:10:17Z
App Version Status Scale Charm Store Rev OS Notes
ceph-mon 13.2.4+dfsg1 active 3 ceph-mon jujucharms 31 ubuntu
ceph-osd 13.2.4+dfsg1 active 3 ceph-osd jujucharms 273 ubuntu
ceph-radosgw 13.2.4+dfsg1 active 1 ceph-radosgw jujucharms 262 ubuntu
cinder 13.0.2 active 1 cinder jujucharms 276 ubuntu
cinder-ceph 13.0.2 active 1 cinder-ceph jujucharms 238 ubuntu
glance 17.0.0 active 1 glance jujucharms 271 ubuntu
keystone 14.0.1 active 1 keystone jujucharms 288 ubuntu
mysql 5.7.20-29.24 active 1 percona-cluster jujucharms 272 ubuntu
neutron-api 13.0.2 active 1 neutron-api jujucharms 266 ubuntu
neutron-gateway 13.0.2 active 1 neutron-gateway jujucharms 256 ubuntu
neutron-openvswitch 13.0.2 active 3 neutron-openvswitch jujucharms 255 ubuntu
nova-cloud-controller 18.0.3 active 1 nova-cloud-controller jujucharms 316 ubuntu
nova-compute 18.0.3 active 3 nova-compute jujucharms 290 ubuntu
ntp 3.2 active 4 ntp jujucharms 31 ubuntu
openstack-dashboard 14.0.1 active 1 openstack-dashboard jujucharms 271 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 82 ubuntu
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0 active idle 1/lxd/0 10.20.81.4 Unit is ready and clustered
ceph-mon/1 active idle 2/lxd/0 10.20.81.8 Unit is ready and clustered
ceph-mon/2* active idle 3/lxd/0 10.20.81.5 Unit is ready and clustered
ceph-osd/0 active idle 1 10.20.81.23 Unit is ready (1 OSD)
ceph-osd/1 active idle 2 10.20.81.22 Unit is ready (1 OSD)
ceph-osd/2* active idle 3 10.20.81.24 Unit is ready (1 OSD)
ceph-radosgw/0* active idle 0/lxd/0 10.20.81.15 80/tcp Unit is ready
cinder/0* active idle 1/lxd/1 10.20.81.18 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.20.81.18 Unit is ready
glance/0* active idle 2/lxd/1 10.20.81.6 9292/tcp Unit is ready
keystone/0* active idle 3/lxd/1 10.20.81.20 5000/tcp Unit is ready
mysql/0* active idle 0/lxd/1 10.20.81.17 3306/tcp Unit is ready
neutron-api/0* active idle 1/lxd/2 10.20.81.7 9696/tcp Unit is ready
neutron-gateway/0* active idle 0 10.20.81.21 Unit is ready
ntp/0* active idle 10.20.81.21 123/udp chrony: Ready
nova-cloud-controller/0* active idle 2/lxd/2 10.20.81.3 8774/tcp,8775/tcp,8778/tcp Unit is ready
nova-compute/0 active idle 1 10.20.81.23 Unit is ready
neutron-openvswitch/1 active idle 10.20.81.23 Unit is ready
ntp/2 active idle 10.20.81.23 123/udp chrony: Ready
nova-compute/1 active idle 2 10.20.81.22 Unit is ready
neutron-openvswitch/2 active idle 10.20.81.22 Unit is ready
ntp/3 active idle 10.20.81.22 123/udp chrony: Ready
nova-compute/2* active idle 3 10.20.81.24 Unit is ready
neutron-openvswitch/0* active idle 10.20.81.24 Unit is ready
ntp/1 active idle 10.20.81.24 123/udp chrony: Ready
openstack-dashboard/0* active idle 3/lxd/2 10.20.81.19 80/tcp,443/tcp Unit is ready
rabbitmq-server/0* active idle 0/lxd/2 10.20.81.16 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.20.81.21 nbe8q3 bionic Openstack Deployed
0/lxd/0 started 10.20.81.15 juju-26461e-0-lxd-0 bionic Openstack Container started
0/lxd/1 started 10.20.81.17 juju-26461e-0-lxd-1 bionic Openstack Container started
0/lxd/2 started 10.20.81.16 juju-26461e-0-lxd-2 bionic Openstack Container started
1 started 10.20.81.23 pdnc7c bionic Openstack Deployed
1/lxd/0 started 10.20.81.4 juju-26461e-1-lxd-0 bionic Openstack Container started
1/lxd/1 started 10.20.81.18 juju-26461e-1-lxd-1 bionic Openstack Container started
1/lxd/2 started 10.20.81.7 juju-26461e-1-lxd-2 bionic Openstack Container started
2 started 10.20.81.22 yxkyet bionic Openstack Deployed
2/lxd/0 started 10.20.81.8 juju-26461e-2-lxd-0 bionic Openstack Container started
2/lxd/1 started 10.20.81.6 juju-26461e-2-lxd-1 bionic Openstack Container started
2/lxd/2 started 10.20.81.3 juju-26461e-2-lxd-2 bionic Openstack Container started
3 started 10.20.81.24 bgqsdy bionic Openstack Deployed
3/lxd/0 started 10.20.81.5 juju-26461e-3-lxd-0 bionic Openstack Container started
3/lxd/1 started 10.20.81.20 juju-26461e-3-lxd-1 bionic Openstack Container started
3/lxd/2 started 10.20.81.19 juju-26461e-3-lxd-2 bionic Openstack Container started
iptables
on Maas this is my ip https://pasteboard.co/I5TxgTe.png
ovs-dpctl show output
ubuntu@os-compute01:~$ sudo ovs-dpctl show
system@ovs-system:
lookups: hit:0 missed:0 lost:0
flows: 0
masks: hit:0 total:0 hit/pkt:0.00
port 0: ovs-system (internal)
port 1: br-int (internal)
port 2: br-ex (internal)
port 3: br-tun (internal)
ovs-vsctl list output
ubuntu@os-compute01:~$ sudo ovs-vsctl list bridge
_uuid : 1d1a8985-2d02-4c4d-8cc8-14187ceaf452
auto_attach : []
controller : [cdc46997-476e-4cce-b2ac-c8e87d196097]
datapath_id : "000086891a1d4d4c"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-int
netflow : []
other_config : mac-table-size="50000"
ports : [01b29dff-8e4a-4eda-8374-762ae8439202, 08bb05ff-fc98-422a-89a0-31cfa1e064a0, 4b798168-bea9-4468-98b3-fe685490c17c, 963b4c30-6a5b-4a0b-962e-6aba53633fbf, ee97db71-a5d6-4d55-95a4-cbc2fe2064a1, fa019bc3-f65b-4ef8-b7ac-db2deb87f9bf]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : be346721-d09f-49a3-be6c-8708449dd4e6
auto_attach : []
controller : [69c35660-b59f-441e-bc6b-99ee403287ae]
datapath_id : "0000226734bea349"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-tun
netflow : []
other_config : mac-table-size="50000"
ports : [5768ab68-ac55-4595-afbb-c62efc316cde, 5ab65280-4a69-4802-a4e6-12b59c518dc6, c9829b4c-89e6-4fab-a126-0b3bf668a427]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : eaac7d8f-cb89-4426-9579-7f5873fa6e23
auto_attach : []
controller : [5b8b9b1a-d800-4f31-b424-3995b89406dd]
datapath_id : "00008e7dacea2644"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-ex
netflow : []
other_config : mac-table-size="50000"
ports : [28849a2a-7ab6-4674-80fb-5c0a0c8194ed, 70322c1b-6c16-4031-8305-e79a1d07ca77, cb385e9c-719f-415b-92ef-ae7896f33a6a]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
Any suggestions please. I am still unable to solve the problem. Thanks.
openstack-neutron juju
my lab:
10.20.81.0/24
+-------------+
Firewall
10.20.81.254
+-------------+
|
+-------------------------------------------------------------+
Switch
vlan81 vlan81 vlan81
+-------------------------------------------------------------+
| | || || || ||
+--------------+ +------------+ +------------------+
|Maas+Juju |Juju Gui| |Openstack
|10.20.81.1 |10.20.81.2 |10.20.81.21-24
+--------------+ +-------------+ +------------------+
|
+--------------------------------------------+
Private Subnet-1 Public Subnet-2
10.0.0.0/24 10.20.81.0/24
+---+----+--+ +----+------+
| | +----+ |
| | | | |
| +--------+ VR +-------------+
| | |
+--+-+ +----+
| |
| VM |
| .9 |
| |
+----+
On my lab, the nodes for Openstack present two eth interface, the first one (eno2) the single external network used as floating IP, then the other one (eno3) for the private network.
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
I've opened this post https://ask.openstack.org/en/question/119783/no-route-to-instance-ssh-and-ping-no-route-to-host/ to resolve the problem about the Ping and Ssh connection to my instance, but during same check I've seen this issue on neutron-gateway:
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Maybe that is the cause of my first issue, but I don't understand how I can fix it.
$:juju ssh neutron-gateway/0
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Mar 19 16:07:19 UTC 2019
System load: 0.64 Processes: 409
Usage of /: 5.7% of 273.00GB Users logged in: 0
Memory usage: 13% IP address for lxdbr0: 10.122.135.1
Swap usage: 0% IP address for br-eno2: 10.20.81.21
Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud
3 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ovs-vsctl show output
ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "eno2"
Interface "eno2"
error: "could not add network device eno2 to ofproto (Device or resource busy)"
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: peer=int-br-ex
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch-int
Interface patch-int
type: patch
options: peer=patch-tun
Port br-tun
Interface br-tun
type: internal
Port "gre-0a145118"
Interface "gre-0a145118"
type: gre
options: df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: peer=patch-int
Port "tapb0b04b07-8f"
tag: 2
Interface "tapb0b04b07-8f"
Port int-br-ex
Interface int-br-ex
type: patch
options: peer=phy-br-ex
Port "tap2354468c-88"
tag: 4
Interface "tap2354468c-88"
Port "tap6d2b2fe0-47"
tag: 4
Interface "tap6d2b2fe0-47"
ovs_version: "2.10.0"
this is the ifconfig of neutron-gateway/0
ubuntu@os-compute01:~$ ifconfig
br-eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.20.81.21 netmask 255.255.255.0 broadcast 10.20.81.255
inet6 fe80::5845:7bff:fec9:74d7 prefixlen 64 scopeid 0x20<link>
ether 5a:45:7b:c9:74:d7 txqueuelen 1000 (Ethernet)
RX packets 1162427 bytes 389002315 (389.0 MB)
RX errors 0 dropped 77 overruns 0 frame 0
TX packets 988585 bytes 262205905 (262.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eno2: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26652040 bytes 7129763535 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22342193 bytes 8933585044 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
ether 40:f2:e9:97:17:da txqueuelen 1000 (Ethernet)
RX packets 26635773 bytes 7125970730 (7.1 GB)
RX errors 0 dropped 52 overruns 0 frame 0
TX packets 22328401 bytes 8928056782 (8.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xc4580000-c459ffff
gre_sys: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 65000
inet6 fe80::24:9fff:fea8:b4e9 prefixlen 64 scopeid 0x20<link>
ether 02:24:9f:a8:b4:e9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 31 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3105900 bytes 818901653 (818.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3105900 bytes 818901653 (818.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxdbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.84.173.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::7c55:3dff:feda:dd66 prefixlen 64 scopeid 0x20<link>
ether 7e:55:3d:da:dd:66 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 113 bytes 8006 (8.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap6d2b2fe0-47: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 6e:26:54:53:b5:50 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 446 (446.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 80134 bytes 3365764 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap8cd81547-a1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 92:7b:80:8a:d2:bf txqueuelen 1000 (Ethernet)
RX packets 216396 bytes 9089084 (9.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapa87cf04b-d5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1458
ether 86:37:c5:54:7e:e2 txqueuelen 1000 (Ethernet)
RX packets 16 bytes 1124 (1.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
veth5U6BQO: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fca9:a3ff:fed4:be24 prefixlen 64 scopeid 0x20<link>
ether fe:a9:a3:d4:be:24 txqueuelen 1000 (Ethernet)
RX packets 1628811 bytes 433090133 (433.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1613481 bytes 510808197 (510.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethB3HMSC: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fcd7:beff:fe73:ecfd prefixlen 64 scopeid 0x20<link>
ether fe:d7:be:73:ec:fd txqueuelen 1000 (Ethernet)
RX packets 13690383 bytes 6300229482 (6.3 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19035675 bytes 4310376006 (4.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vethIK7XQ8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc0e:3ff:fea9:e857 prefixlen 64 scopeid 0x20<link>
ether fe:0e:03:a9:e8:57 txqueuelen 1000 (Ethernet)
RX packets 5194277 bytes 2026801560 (2.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5222938 bytes 1959040428 (1.9 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
juju status
$:juju status
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-cloud-controller maas-cloud 2.5.1 unsupported 22:10:17Z
App Version Status Scale Charm Store Rev OS Notes
ceph-mon 13.2.4+dfsg1 active 3 ceph-mon jujucharms 31 ubuntu
ceph-osd 13.2.4+dfsg1 active 3 ceph-osd jujucharms 273 ubuntu
ceph-radosgw 13.2.4+dfsg1 active 1 ceph-radosgw jujucharms 262 ubuntu
cinder 13.0.2 active 1 cinder jujucharms 276 ubuntu
cinder-ceph 13.0.2 active 1 cinder-ceph jujucharms 238 ubuntu
glance 17.0.0 active 1 glance jujucharms 271 ubuntu
keystone 14.0.1 active 1 keystone jujucharms 288 ubuntu
mysql 5.7.20-29.24 active 1 percona-cluster jujucharms 272 ubuntu
neutron-api 13.0.2 active 1 neutron-api jujucharms 266 ubuntu
neutron-gateway 13.0.2 active 1 neutron-gateway jujucharms 256 ubuntu
neutron-openvswitch 13.0.2 active 3 neutron-openvswitch jujucharms 255 ubuntu
nova-cloud-controller 18.0.3 active 1 nova-cloud-controller jujucharms 316 ubuntu
nova-compute 18.0.3 active 3 nova-compute jujucharms 290 ubuntu
ntp 3.2 active 4 ntp jujucharms 31 ubuntu
openstack-dashboard 14.0.1 active 1 openstack-dashboard jujucharms 271 ubuntu
rabbitmq-server 3.6.10 active 1 rabbitmq-server jujucharms 82 ubuntu
Unit Workload Agent Machine Public address Ports Message
ceph-mon/0 active idle 1/lxd/0 10.20.81.4 Unit is ready and clustered
ceph-mon/1 active idle 2/lxd/0 10.20.81.8 Unit is ready and clustered
ceph-mon/2* active idle 3/lxd/0 10.20.81.5 Unit is ready and clustered
ceph-osd/0 active idle 1 10.20.81.23 Unit is ready (1 OSD)
ceph-osd/1 active idle 2 10.20.81.22 Unit is ready (1 OSD)
ceph-osd/2* active idle 3 10.20.81.24 Unit is ready (1 OSD)
ceph-radosgw/0* active idle 0/lxd/0 10.20.81.15 80/tcp Unit is ready
cinder/0* active idle 1/lxd/1 10.20.81.18 8776/tcp Unit is ready
cinder-ceph/0* active idle 10.20.81.18 Unit is ready
glance/0* active idle 2/lxd/1 10.20.81.6 9292/tcp Unit is ready
keystone/0* active idle 3/lxd/1 10.20.81.20 5000/tcp Unit is ready
mysql/0* active idle 0/lxd/1 10.20.81.17 3306/tcp Unit is ready
neutron-api/0* active idle 1/lxd/2 10.20.81.7 9696/tcp Unit is ready
neutron-gateway/0* active idle 0 10.20.81.21 Unit is ready
ntp/0* active idle 10.20.81.21 123/udp chrony: Ready
nova-cloud-controller/0* active idle 2/lxd/2 10.20.81.3 8774/tcp,8775/tcp,8778/tcp Unit is ready
nova-compute/0 active idle 1 10.20.81.23 Unit is ready
neutron-openvswitch/1 active idle 10.20.81.23 Unit is ready
ntp/2 active idle 10.20.81.23 123/udp chrony: Ready
nova-compute/1 active idle 2 10.20.81.22 Unit is ready
neutron-openvswitch/2 active idle 10.20.81.22 Unit is ready
ntp/3 active idle 10.20.81.22 123/udp chrony: Ready
nova-compute/2* active idle 3 10.20.81.24 Unit is ready
neutron-openvswitch/0* active idle 10.20.81.24 Unit is ready
ntp/1 active idle 10.20.81.24 123/udp chrony: Ready
openstack-dashboard/0* active idle 3/lxd/2 10.20.81.19 80/tcp,443/tcp Unit is ready
rabbitmq-server/0* active idle 0/lxd/2 10.20.81.16 5672/tcp Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.20.81.21 nbe8q3 bionic Openstack Deployed
0/lxd/0 started 10.20.81.15 juju-26461e-0-lxd-0 bionic Openstack Container started
0/lxd/1 started 10.20.81.17 juju-26461e-0-lxd-1 bionic Openstack Container started
0/lxd/2 started 10.20.81.16 juju-26461e-0-lxd-2 bionic Openstack Container started
1 started 10.20.81.23 pdnc7c bionic Openstack Deployed
1/lxd/0 started 10.20.81.4 juju-26461e-1-lxd-0 bionic Openstack Container started
1/lxd/1 started 10.20.81.18 juju-26461e-1-lxd-1 bionic Openstack Container started
1/lxd/2 started 10.20.81.7 juju-26461e-1-lxd-2 bionic Openstack Container started
2 started 10.20.81.22 yxkyet bionic Openstack Deployed
2/lxd/0 started 10.20.81.8 juju-26461e-2-lxd-0 bionic Openstack Container started
2/lxd/1 started 10.20.81.6 juju-26461e-2-lxd-1 bionic Openstack Container started
2/lxd/2 started 10.20.81.3 juju-26461e-2-lxd-2 bionic Openstack Container started
3 started 10.20.81.24 bgqsdy bionic Openstack Deployed
3/lxd/0 started 10.20.81.5 juju-26461e-3-lxd-0 bionic Openstack Container started
3/lxd/1 started 10.20.81.20 juju-26461e-3-lxd-1 bionic Openstack Container started
3/lxd/2 started 10.20.81.19 juju-26461e-3-lxd-2 bionic Openstack Container started
iptables
on Maas this is my ip https://pasteboard.co/I5TxgTe.png
ovs-dpctl show output
ubuntu@os-compute01:~$ sudo ovs-dpctl show
system@ovs-system:
lookups: hit:0 missed:0 lost:0
flows: 0
masks: hit:0 total:0 hit/pkt:0.00
port 0: ovs-system (internal)
port 1: br-int (internal)
port 2: br-ex (internal)
port 3: br-tun (internal)
ovs-vsctl list output
ubuntu@os-compute01:~$ sudo ovs-vsctl list bridge
_uuid : 1d1a8985-2d02-4c4d-8cc8-14187ceaf452
auto_attach : []
controller : [cdc46997-476e-4cce-b2ac-c8e87d196097]
datapath_id : "000086891a1d4d4c"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-int
netflow : []
other_config : mac-table-size="50000"
ports : [01b29dff-8e4a-4eda-8374-762ae8439202, 08bb05ff-fc98-422a-89a0-31cfa1e064a0, 4b798168-bea9-4468-98b3-fe685490c17c, 963b4c30-6a5b-4a0b-962e-6aba53633fbf, ee97db71-a5d6-4d55-95a4-cbc2fe2064a1, fa019bc3-f65b-4ef8-b7ac-db2deb87f9bf]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : be346721-d09f-49a3-be6c-8708449dd4e6
auto_attach : []
controller : [69c35660-b59f-441e-bc6b-99ee403287ae]
datapath_id : "0000226734bea349"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-tun
netflow : []
other_config : mac-table-size="50000"
ports : [5768ab68-ac55-4595-afbb-c62efc316cde, 5ab65280-4a69-4802-a4e6-12b59c518dc6, c9829b4c-89e6-4fab-a126-0b3bf668a427]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
_uuid : eaac7d8f-cb89-4426-9579-7f5873fa6e23
auto_attach : []
controller : [5b8b9b1a-d800-4f31-b424-3995b89406dd]
datapath_id : "00008e7dacea2644"
datapath_type : system
datapath_version : "<unknown>"
external_ids :
fail_mode : secure
flood_vlans : []
flow_tables :
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : br-ex
netflow : []
other_config : mac-table-size="50000"
ports : [28849a2a-7ab6-4674-80fb-5c0a0c8194ed, 70322c1b-6c16-4031-8305-e79a1d07ca77, cb385e9c-719f-415b-92ef-ae7896f33a6a]
protocols : ["OpenFlow10", "OpenFlow13"]
rstp_enable : false
rstp_status :
sflow : []
status :
stp_enable : false
Any suggestions please. I am still unable to solve the problem. Thanks.
openstack-neutron juju
openstack-neutron juju
edited yesterday
Riccardo Magrini
asked Mar 21 at 14:58
Riccardo MagriniRiccardo Magrini
1064
1064
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
update 26/03/19:
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno3
The issue on eno2 is been resolved but the ping to instance is still present.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55283357%2fopenstack-neutron-gateway-error-could-not-add-network-device-eno2-to-ofproto%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
update 26/03/19:
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno3
The issue on eno2 is been resolved but the ping to instance is still present.
add a comment |
update 26/03/19:
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno3
The issue on eno2 is been resolved but the ping to instance is still present.
add a comment |
update 26/03/19:
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno3
The issue on eno2 is been resolved but the ping to instance is still present.
update 26/03/19:
On Juju gui I've that:
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno2
neutron-api:
flat-network-providers: physnet1
Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3
neutron-gateway:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eno3
The issue on eno2 is been resolved but the ping to instance is still present.
edited 12 hours ago
answered Mar 22 at 14:25
Riccardo MagriniRiccardo Magrini
1064
1064
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55283357%2fopenstack-neutron-gateway-error-could-not-add-network-device-eno2-to-ofproto%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown