ubuntu systemd

Bug #1485789 reported by Kevin Fox
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Triaged
High
Nikhil Manchanda

Bug Description

When the guest is Ubuntu 15.04, the guest agent fails to function properly. Its trying to detect upstart by looking for the '/etc/init/trove-guest-agent.conf' file to exist, which it does on 15.04, but 'start' and 'stop' are not installed on the system by default.

/usr/lib/python2.7/dist-packages/trove/guestagent/common/operating_system.py contains the check.

root@kfox-testdb:~# ls -l /etc/init/trove-guestagent.conf
-rw-r--r-- 1 root root 922 May 13 19:13 /etc/init/trove-guestagent.conf

root@kfox-testdb:~# start
The program 'start' is currently not installed. You can install it by typing:
apt-get install upstart

Changed in trove:
status: New → Triaged
importance: Undecided → High
milestone: none → liberty-3
assignee: nobody → Nikhil Manchanda (slicknik)
Revision history for this message
Kevin Fox (kevpn) wrote :

As a workaround:

sed -i 's@/etc/init/%s.conf@/etc/init/%s.conf.disabled@;s@/etc/init.d/%s@/etc/init.d/%s.disabled@' /usr/lib/python2.7/dist-packages/trove/guestagent/common/operating_system.py

And a restart, and it started working fine.

Thanks,
Kevin

Changed in trove:
milestone: liberty-3 → ongoing
Changed in trove:
milestone: ongoing → liberty-rc1
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

This fix is not going to make it in time for the Liberty RC1 cut.

Changed in trove:
milestone: liberty-rc1 → next
Revision history for this message
Amrith Kumar (amrith) wrote :

any word on this?

Changed in trove:
milestone: next → newton-1
Revision history for this message
Masaki Matsushita (mmasaki) wrote :

Not only service scripts, trove-integration doesn't work on Ubuntu 16.04.
There are several problems to build guest-image in xenial.
How should we fix the problem?

Amrith Kumar (amrith)
Changed in trove:
milestone: newton-1 → none
Revision history for this message
Manoj Kumar (manojnkumar) wrote :

Nikhil: If you are not working on this, can I re-assign this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.