Charm blocked on designate services with Runtime directory is not valid reported in syslog

Bug #1782644 reported by John George
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Designate Charm
Fix Released
Medium
James Page
OpenStack Glance Charm
Incomplete
Undecided
Unassigned
designate (Ubuntu)
New
Undecided
Unassigned

Bug Description

Foundation cloud build deployment reports:
designate/0 blocked idle 3/lxd/2 10.244.41.3 9001/tcp Services not running that should be: designate-mdns, designate-zone-manager, designate-agent, designate-pool-manager, designate-central, designate-sink, designate-api

Syslog on the unit has the following:
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-mdns.service:12] Runtime directory is not valid, ignoring assignment: designate lock/designate
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-mdns.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-central.service:12] Runtime directory is not valid, ignoring assignment: designate lock/designate
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-central.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-api.service:12] Runtime directory is not valid, ignoring assignment: designate lock/designate
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-api.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-agent.service:12] Runtime directory is not valid, ignoring assignment: designate lock/designate
Jul 19 07:47:58 juju-f3de6a-3-lxd-2 systemd[1]: [/lib/systemd/system/designate-agent.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'

The crashdump is the same as what's attached to bug 1782640.
Version details and artifacts are here: https://solutions.qa.canonical.com/#/qa/testRun/a1d6eafb-298e-48d3-a70f-c79792a77cac

John George (jog)
description: updated
Revision history for this message
James Page (james-page) wrote :

Note that this is with the master branch charms - stable charms are just fine.

Changed in charm-designate:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → James Page (james-page)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-designate (master)

Reviewed: https://review.openstack.org/584391
Committed: https://git.openstack.org/cgit/openstack/charm-designate/commit/?id=25aa3d1b5a3047d7908590369cb5e0c8f2dd0cb5
Submitter: Zuul
Branch: master

commit 25aa3d1b5a3047d7908590369cb5e0c8f2dd0cb5
Author: James Page <email address hidden>
Date: Fri Jul 20 10:17:03 2018 -0400

    Fix group read permissions

    Recent changes in charms.openstack write configuration files
    with perms 0640; however without a group attribute on the
    client charm class, these will root.root owned.

    Ensure that config files are written using root.designate for
    this charm.

    Change-Id: I5e680e7546ad66f087c1c15cd2db60428d50afb9
    Closes-Bug: 1782644

Changed in charm-designate:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-designate:
milestone: none → 18.08
James Page (james-page)
Changed in charm-designate:
status: Fix Committed → Fix Released
Revision history for this message
Seyeong Kim (seyeongkim) wrote :

Hello, the customer faced the similar issue.

Could you please check below log as well?

It is glance node.

https://pastebin.canonical.com/p/VyVVvv3hJS/

tags: added: sts
Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

Looks like a valid issue even if I'm not able yet to find where do we handle privileges in charmhelper, can you indicate the version used?

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

@sahid

it is xenial-queens, charm version is below
glance charm version is 271

I'm going to check differences between 271 and latest one.
but Could you please advice me if there is some related patch between them?

Thanks.

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

@sahid

I also found the same logs as below issue

https://github.com/lxc/lxd/issues/2004

https://pastebin.canonical.com/p/xcqPR6JShh/

maybe this shows some more clue

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Not sure if this is still an issue? Is this on new deployments or upgrades?

Changed in charm-glance:
status: New → Incomplete
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.