M/N upgrades - Error: Could not find class ::tripleo::trusted_cas

Bug #1626452 reported by Michele Baldessari
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Jiří Stránský

Bug Description

After working around 1626422, during the major-upgrade-pacemaker-init.yaml step, I get the following on the compute node:
{
  "deploy_stdout": "",
  "deploy_stderr": "exception: connect failed\n\u001b[1;31mError: Could not find class ::tripleo::trusted_cas for overcloud-novacompute-0.localdomain on node overcloud-novacompute-0.localdomain\u001b[0m\n\u001b[1;31mError: Could not find
 class ::tripleo::trusted_cas for overcloud-novacompute-0.localdomain on node overcloud-novacompute-0.localdomain\u001b[0m\n",
  "deploy_status_code": 1
}

The reason this happens is that we added this in newton:
overcloud-resource-registry-puppet.yaml: OS::TripleO::Services::CACerts: puppet/services/ca-certs.yaml

But at this stage of the upgrade the nodes still have mitaka puppet modules and this one was
not yet present at mitaka release time.

Tentative workaround in environments/major-upgrade-pacemaker-init.yaml :
    OS::TripleO::Services::CACerts: OS::Heat::None

It is likely that we will need to noop more services. Will test this shortly

Tags: upgrade
Changed in tripleo:
importance: Undecided → Critical
milestone: none → newton-rc2
tags: added: upgrade
Revision history for this message
Michele Baldessari (michele) wrote :

So I think until we actually upgrade puppet-tripleo to newton we need to disable all the new services that do not exist in mitaka/puppet-tripleo. The next one on the list is:
OS::TripleO::Services::Snmp: puppet/services/snmp.yaml

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

Fix proposed to branch: master
Review: https://review.openstack.org/374788

Changed in tripleo:
assignee: nobody → Michele Baldessari (michele)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/374791

Changed in tripleo:
assignee: Michele Baldessari (michele) → Jiří Stránský (jistr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Michele Baldessari (<email address hidden>) on branch: master
Review: https://review.openstack.org/374788
Reason: Going for jiri's simpler approach https://review.openstack.org/374791

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

Reviewed: https://review.openstack.org/374791
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=4422fb97c8e6b4c0f46e6bcc1f7c68df778d745f
Submitter: Jenkins
Branch: master

commit 4422fb97c8e6b4c0f46e6bcc1f7c68df778d745f
Author: Jiri Stransky <email address hidden>
Date: Thu Sep 22 14:56:50 2016 +0200

    No-op Puppet for upgrades/migrations according to composable roles

    Our previous no-ops stopped working because the Puppet run resources
    moved under a different entry in resource registry. This is now fixed
    to follow the latest way.

    Change-Id: Ia5598385ddca185bfbf10e2d3babb53f6f77d1ac
    Closes-Bug: #1626452

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc2

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc2 release candidate.

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.