systemd-sysv-install enable neutron-ovn-metadata-agent is called every update-status hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-layer-ovn |
Expired
|
High
|
Unassigned | ||
charm-ovn-chassis |
Expired
|
High
|
Unassigned | ||
charms.openstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Every time update-status runs, the command systemd-
This shouldn't be running so often, only on config changes.
Logs:
Mar 15 20:45:33 compute-server-1 systemd[1]: Reloading.
Mar 15 20:45:33 compute-server-1 systemd[1]: message repeated 2 times: [ Reloading.]
Mar 15 20:45:33 compute-server-1 systemd[1]: Reloading.
Mar 15 20:45:34 compute-server-1 systemd[1]: Reloading.
Mar 15 20:45:34 compute-server-1 systemd[1]: Reloading.
Mar 15 20:45:34 compute-server-1 systemd[1]: Reloading.
```
Hunted the unit logs, found this in unit-ovn-
```
2021-03-15 20:45:31 INFO juju-log Creating bridge br-int
2021-03-15 20:45:31 INFO juju-log Creating bridge br-data
2021-03-15 20:45:31 INFO juju-log Adding port bond0 to bridge br-data
2021-03-15 20:45:32 INFO juju-log Invoking reactive handler: reactive/
2021-03-15 20:45:32 INFO juju-log CompletedProces
2021-03-15 20:45:32 INFO juju-log CompletedProces
2021-03-15 20:45:32 INFO juju-log CompletedProces
2021-03-15 20:45:32 DEBUG juju-log Changing permissions on existing content: 33184 -> 416
2021-03-15 20:45:32 DEBUG juju-log Changing permissions on existing content: 33184 -> 416
2021-03-15 20:45:32 INFO juju-log Invoking reactive handler: reactive/
2021-03-15 20:45:32 INFO juju-log Invoking reactive handler: reactive/
2021-03-15 20:45:33 DEBUG juju-log tracer>
tracer: cleared flag run-default-
tracer: -- dequeue handler reactive/
2021-03-15 20:45:33 INFO juju-log Invoking reactive handler: reactive/
2021-03-15 20:45:33 INFO juju-log Invoking reactive handler: reactive/
2021-03-15 20:45:33 DEBUG update-status active
2021-03-15 20:45:33 DEBUG update-status Synchronizing state of neutron-
2021-03-15 20:45:33 DEBUG update-status Executing: /lib/systemd/
2021-03-15 20:45:34 DEBUG update-status active
2021-03-15 20:45:34 INFO juju-log Invoking reactive handler: hooks/relations
2021-03-15 20:45:34 INFO juju-log Invoking reactive handler: hooks/relations
2021-03-15 20:45:34 INFO juju-log Invoking reactive handler: hooks/relations
2021-03-15 20:45:34 INFO juju-log ovsdb: OVSDBRequires -> joined
2021-03-15 20:45:35 INFO juju-log ovsdb: OVSDBRequires -> joined
2021-03-15 20:45:35 INFO juju-log Invoking reactive handler: hooks/relations
2021-03-15 20:45:35 DEBUG juju-log Running _assess_status()
2021-03-15 20:45:35 DEBUG update-status active
Added https:/ /github. com/openstack/ charm-layer- openstack/ commit/ 49b1075506d7625 d04a05e2cb232d2 0ea82f6406 which might resolve this, would be good to get confirmation.
Charm version on site: cs:ovn-chassis-4, bionic/ussuri, Juju 2.7.8