Mismatch in external_ids:system-id and certificate CN leads to ovn-chassis node not registering itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-ovn-chassis |
Fix Released
|
High
|
Frode Nordahl | ||
charm-ovn-dedicated-chassis |
Fix Released
|
High
|
Frode Nordahl |
Bug Description
I have an Openstack Train deployment on Bionic with one compute node. When I try to launch an instance it fails and i see the following in networking-
2020-01-06 11:12:17.548 3276 CRITICAL neutron [-] Unhandled error: ovsdbapp.
2020-01-06 11:12:17.548 3276 ERROR neutron Traceback (most recent call last):
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron yield self._nested_
2020-01-06 11:12:17.548 3276 ERROR neutron KeyError: 139686119317728
2020-01-06 11:12:17.548 3276 ERROR neutron
2020-01-06 11:12:17.548 3276 ERROR neutron During handling of the above exception, another exception occurred:
2020-01-06 11:12:17.548 3276 ERROR neutron
2020-01-06 11:12:17.548 3276 ERROR neutron Traceback (most recent call last):
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/bin/
2020-01-06 11:12:17.548 3276 ERROR neutron sys.exit(main())
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron metadata_
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron agt.start()
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron self.register_
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron ext_ids)
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron t.add(self)
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron next(self.gen)
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron del self._nested_
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron self.result = self.commit()
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron raise result.ex
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron txn.results.
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron command.
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron record = self.api.
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron return self._lookup(table, record)
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron row = idlutils.
2020-01-06 11:12:17.548 3276 ERROR neutron File "/usr/lib/
2020-01-06 11:12:17.548 3276 ERROR neutron raise RowNotFound(
2020-01-06 11:12:17.548 3276 ERROR neutron ovsdbapp.
and ovn-controller.log is full of:
2020-01-
Changed in charm-ovn-chassis: | |
status: | New → Incomplete |
Changed in charm-ovn-chassis: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in charm-ovn-chassis: | |
status: | Triaged → In Progress |
assignee: | nobody → Frode Nordahl (fnordahl) |
summary: |
- ovn-chassis node not registering itself + Mismatch in external_ids:system-id and certificate CN leads to ovn- + chassis node not registering itself |
Changed in charm-ovn-dedicated-chassis: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-ovn-chassis: | |
milestone: | none → 20.08 |
Changed in charm-ovn-dedicated-chassis: | |
milestone: | none → 20.08 |
Changed in charm-ovn-chassis: | |
status: | Fix Committed → Fix Released |
Changed in charm-ovn-dedicated-chassis: | |
status: | Fix Committed → Fix Released |
Adding another compute unit changed the behaviour slightly:
2020-01- 06T11:40: 10.160Z| 170421| chassis| WARN|Could not find Chassis : stored (82b33248- b723-4c9e- 9731-d7ffeadeaf fa) ovs (juju-5cc013- ovn-testing- 6.cloud. sts) 06T11:40: 10.161Z| 170422| chassis| WARN|Could not find Chassis : stored (juju-5cc013- ovn-testing- 6.cloud. sts) ovs (juju-5cc013- ovn-testing- 6.cloud. sts)
2020-01-
And the new unit using is also using fqdn for chassis name.
sbdb shows:
Chassis "juju-5cc013- ovn-testing- 6.cloud. sts" ovn-testing- 6.cloud. sts" e9f37398- 2d49-45b5- b044-87c3082302 9c" ovn-testing- 13.cloud. sts" ovn-testing- 13.cloud. sts"
hostname: "juju-5cc013-
Encap geneve
ip: "10.5.0.51"
options: {csum="true"}
Port_Binding "cr-lrp-
Chassis "juju-5cc013-
hostname: "juju-5cc013-
Encap geneve
ip: "10.5.0.42"
options: {csum="true"}