Import Debian changes 1.39.1-0ubuntu1.26
rax-openstack-guest-agents (1.39.1-0ubuntu1.26) zesty; urgency=medium
* Fix for LP #1657223: SSH host keys were not being generated by cloud-init
after it changed to run earlier in systemd boot and that generated
dependency loops with nova-agent and xe-daemon services. Also nova-agent
being a daemon, and running a network configuration task at the same time,
meant it was impossible to make systemd boot dependencies deterministically,
ensuring nova-agent had completed network configuration BEFORE network-pre
target or cloud-init were started. As a result systemd was breaking such
dependencies by killing random services, cloud-init most often.
To avoid that we needed to make nova-agent notify when it was done with
network configuration and setup systemd dependencies to avoid loops.
In order to achieve this, the changes in this release are:
- Disable cloud-init network configuration, as nova-agent will do it.
- Make resetnetwork touch /var/lib/nova-agent/{instance uuid}-networkreset.done
when completed succesfully. Also cleanup foreign marker files, left by
other instances.
- Make nova-agent config re-issue resetnetwork command when the above marker
file is missing, to avoid lock ups when the Xen host doesn't issue it.
- Remove systemd's rax-cloud.service dummy waiter service.
- Add systemd's nova-resetnetwork.service that waits on the marker file to
appear. That way we cam make cloud-init & network-pre.target wait on
nova-agent to complete network configuration.
- Make nova-agent.service avoid default dependencies creating
systemd's dependency loops with cloud-init. Also remove sleep and
dependency on removed rax-cloud.service in favor of network-pre.target
- Override xe-daemon.service unit so that it also avoids default
dependencies creating systemd's dependency loops with cloud-init.
Import Debian changes 1.39.1-0ubuntu1.3
rax-openstack-guest-agents (1.39.1-0ubuntu1.3) wily; urgency=medium
* Added rax-cloud.service for delaying cloud-init.
rax-openstack-guest-agents (1.39.1-0ubuntu1.2) wily; urgency=medium
* Create strong dependency on xe-linux-distribution for nova-agent.
rax-openstack-guest-agents (1.39.1-0ubuntu1) wily; urgency=medium
* Initial packaging import.