Hello,
Lately I have been using Juju to deploy openstack, very successfully I just have a little issue which It seems i can’t seem to find the solution.
Each time i’m deploying or restarting the server where the neutron-gateway and openswitch are running, 3 services are getting uninstalled.
neutron-metadata-agent neutron-dhcp-agent neutron-l3-agent
And each time I need to install them manually to make sure they work correctly.
After doing some logging, which you can find below, it seems that the issue is happening during the Hook script of openswitch? But I don’t know for that reason.
Am I the only one that gets this? Am I doing something wrong?
Thank you.
2020-01-27 10:52:15 DEBUG config-changed Failed to restart os-charm-phy-nic-mtu.service: Unit os-charm-phy-nic-mtu.service not found.
2020-01-27 10:52:15 DEBUG juju-log Generating template context for amqp
2020-01-27 10:52:17 INFO juju-log Loaded template from templates/stein/neutron.conf
2020-01-27 10:52:17 INFO juju-log Rendering from template: /etc/neutron/neutron.conf
2020-01-27 10:52:17 INFO juju-log Wrote template /etc/neutron/neutron.conf.
2020-01-27 10:52:18 INFO juju-log Loaded template from templates/queens/openvswitch_agent.ini
2020-01-27 10:52:18 INFO juju-log Rendering from template: /etc/neutron/plugins/ml2/openvswitch_agent.ini
2020-01-27 10:52:18 INFO juju-log Wrote template /etc/neutron/plugins/ml2/openvswitch_agent.ini.
2020-01-27 10:52:18 WARNING juju-log Support for use of upstream apt_pkg
module in conjunctionwith charm-helpers is deprecated since 2019-06-25
2020-01-27 10:52:19 WARNING juju-log Support for use of upstream apt_pkg
module in conjunctionwith charm-helpers is deprecated since 2019-06-25
2020-01-27 10:52:20 INFO juju-log Purging [‘neutron-metadata-agent’, ‘neutron-dhcp-agent’]
2020-01-27 10:52:20 DEBUG config-changed Reading package lists…
2020-01-27 10:52:20 DEBUG config-changed Building dependency tree…
2020-01-27 10:52:20 DEBUG config-changed Reading state information…
2020-01-27 10:52:21 DEBUG config-changed The following packages were automatically installed and are no longer required:
2020-01-27 10:52:21 DEBUG config-changed dnsmasq-utils iputils-arping ipvsadm keepalived libsensors4 libsnmp-base
2020-01-27 10:52:21 DEBUG config-changed libsnmp30
2020-01-27 10:52:21 DEBUG config-changed Use ‘apt autoremove’ to remove them.
2020-01-27 10:52:21 DEBUG config-changed The following packages will be REMOVED:
2020-01-27 10:52:21 DEBUG config-changed neutron-dhcp-agent* neutron-l3-agent* neutron-metadata-agent*
2020-01-27 10:52:22 DEBUG config-changed 0 upgraded, 0 newly installed, 3 to remove and 6 not upgraded.
2020-01-27 10:52:22 DEBUG config-changed After this operation, 139 kB disk space will be freed.
(Reading database … 114493 files and directories currently installed.)
2020-01-27 10:52:22 DEBUG config-changed Removing neutron-dhcp-agent (2:14.0.3-0ubuntu1~cloud0) …
2020-01-27 10:52:24 DEBUG config-changed Removing neutron-l3-agent (2:14.0.3-0ubuntu1~cloud0) …
2020-01-27 10:52:26 DEBUG config-changed Removing neutron-metadata-agent (2:14.0.3-0ubuntu1~cloud0) …
(Reading database … 114481 files and directories currently installed.)
2020-01-27 10:52:28 DEBUG config-changed Purging configuration files for neutron-metadata-agent (2:14.0.3-0ubuntu1~cloud0) …
2020-01-27 10:52:30 DEBUG config-changed Purging configuration files for neutron-l3-agent (2:14.0.3-0ubuntu1~cloud0) …
2020-01-27 10:52:33 DEBUG config-changed Purging configuration files for neutron-dhcp-agent (2:14.0.3-0ubuntu1~cloud0) …
2020-01-27 10:52:35 DEBUG config-changed Processing triggers for systemd (237-3ubuntu10.33) …
2020-01-27 10:52:36 DEBUG config-changed Processing triggers for ureadahead (0.100.0-21) …
2020-01-27 10:52:36 DEBUG config-changed ureadahead will be reprofiled on next reboot