Upgrade L->M converge puppet run fails because of missing commands

Bug #1597674 reported by Jiří Stránský
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Jiří Stránský

Bug Description

Upgrade converge step for L->M fails because the commands for sahara and gnocchi DB sync commands are missing. The respective packages aren't installed on controllers. Excerpts from os-collect-config logs:

en 29 16:10:06 overcloud-controller-0.localdomain os-collect-config[18482]: Error: /Stage[main]/Sahara::Db::Sync/Exec[sahara-dbmanage]: Failed to call refresh: Could not find command 'sahara-db-manage'
čen 29 16:10:06 overcloud-controller-0.localdomain os-collect-config[18482]: Error: /Stage[main]/Sahara::Db::Sync/Exec[sahara-dbmanage]: Could not find command 'sahara-db-manage'

čen 29 16:10:06 overcloud-controller-0.localdomain os-collect-config[18482]: Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Failed to call refresh: Could not find command 'gnocchi-upgrade'
čen 29 16:10:06 overcloud-controller-0.localdomain os-collect-config[18482]: Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Could not find command 'gnocchi-upgrade'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/335867

Changed in tripleo:
assignee: nobody → Jiří Stránský (jistr)
Revision history for this message
Steven Hardy (shardy) wrote :

We seem to have a duplicate in bug #1597673, can you mark one of them duplicate please?

Revision history for this message
Jiří Stránský (jistr) wrote :

Done, i marked the other one as duplicate because this one has the patch linked to it. Still wondering how i managed to submit the bug twice :)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/mitaka)

Reviewed: https://review.openstack.org/335867
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f5f379bcc2e6759b5e49876c9167c3ebdda552e1
Submitter: Jenkins
Branch: stable/mitaka

commit f5f379bcc2e6759b5e49876c9167c3ebdda552e1
Author: Jiri Stransky <email address hidden>
Date: Thu Jun 30 10:51:23 2016 +0200

    [Mitaka only] Install packages for new components on upgrade

    AODH is already installed at the point of controller upgrade script
    running, because it has a separate migration step, but Sahara and
    Gnocchi aren't installed yet, and it leads to errors during the converge
    step:

    Error: /Stage[main]/Sahara::Db::Sync/Exec[sahara-dbmanage]: Could not find command 'sahara-db-manage'
    Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Could not find command 'gnocchi-upgrade'

    Installing those packages makes the converge finish fine.

    Change-Id: Iaad51f37c59f8f46436bbb200d469e24457176ed
    Closes-Bug: #1597674

tags: added: in-stable-mitaka
Changed in tripleo:
milestone: none → newton-3
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tripleo-heat-templates 2.1.0

This issue was fixed in the openstack/tripleo-heat-templates 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

This issue was fixed in the openstack/tripleo-heat-templates 2.1.0 release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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