[Bug 1805658] Re: [18.11] nova-consoleauth not starting up due to config bug

Corey Bryant corey.bryant at canonical.com
Wed Nov 28 18:32:23 UTC 2018


I was able to get the messages to return after restarting the service by
running 'systemctl disable nova-consoleauth'. Prior to that 'systemctl
status nova-consoleauth' looks fine. Note that this doesn't appear to
affect the service, as they appear to be warning messages. For example
in [1] the service has been running for 7 minutes.

[1] https://paste.ubuntu.com/p/dwyPsrPgHC/

Clearly CacheDirectory and RuntimeDirectory are not valid for systemd
unit files on xenial. The options were introduced as we backport queens
from bionic to the xenial cloud archive, and they are valid in bionic.

This really is a packaging issue. Unfortunately it would not be trivial
to fix, as all of the systemd unit files across the OpenStack packages
are generated with the same code. In other words, the init-template
/pkgos-gen-systemd-unit file from openstack-pkg-tools package would have
to be updated for the queens cloud archive only, dropping CacheDirectory
and RuntimeDirectory, and every package in the queens cloud archive
would have to be rebuilt to pick up the change. Another option would be
to add system unit file templates to the charms but that also is not
ideal.

If these really are just warning messages I'd be tempted to not fix
this, as much as I hate to say that. They are ugly but the effort just
may not be worth it if they really are just warning messages.

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Changed in: cloud-archive
       Status: New => Triaged

** Changed in: cloud-archive
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1805658

Title:
  [18.11] nova-consoleauth not starting up due to config bug

Status in OpenStack nova-cloud-controller charm:
  New
Status in Ubuntu Cloud Archive:
  Triaged

Bug description:
  We are seeing this error when attempting to start nova-consoleauth
  under 18.11 charms on xenial/queens clouds.

  systemd[1]: [/lib/systemd/system/nova-consoleauth.service:13] Unknown
  lvalue 'CacheDirectory' in section 'Service'

  This prevents the user from retrieving console URLs from the nova api
  due to messaging timeout.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nova-cloud-controller/+bug/1805658/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list