Bug 1790885 - Overcloud deploy fails on Could not find class ::tripleo::profile::base::nova::compute::libvirt_guests
Summary: Overcloud deploy fails on Could not find class ::tripleo::profile::base::nova...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-14 13:25 UTC by Pavel Sedlák
Modified: 2020-01-15 13:40 UTC (History)
7 users (show)

Fixed In Version: rhosp-director-images-13.0-20200115.1.testing.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-15 13:40:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pavel Sedlák 2020-01-14 13:25:48 UTC
Deployment of overcloud fails with error:

> 2020-01-14 05:46:35Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1.0]: CREATE_FAILED  Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
> 2020-01-14 05:46:35Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1]: CREATE_FAILED  Resource CREATE failed: Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
> 2020-01-14 05:46:36Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1]: CREATE_FAILED  Error: resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> 2020-01-14 05:46:36Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Resource CREATE failed: Error: resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> 2020-01-14 05:46:37Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Error: resources.AllNodesDeploySteps.resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> 2020-01-14 05:46:37Z [overcloud]: CREATE_FAILED  Resource CREATE failed: Error: resources.AllNodesDeploySteps.resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
>
>  Stack overcloud CREATE_FAILED
>
> overcloud.AllNodesDeploySteps.ComputeDeployment_Step1.0:
>   resource_type: OS::Heat::StructuredDeployment
>   physical_resource_id: ae1e4966-e4b2-490c-aaad-c0d21d1091e9
>   status: CREATE_FAILED
>   status_reason: |
>     Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
>   deploy_stdout: |
>     ...
>             "   (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')",
>             "Warning: Unknown variable: '::deployment_type'. Heat Stack create failed.
> Heat Stack create failed.
> at /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp:85:31", 
>             "Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::nova::compute::libvirt_guests for compute-0.redhat.local at /var/lib/tripleo-config/puppet_step_config.pp:36:1 on node compute-0.redhat.local"
>         ]
>     }
>     to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/a43f7e8f-67a3-429c-8d02-9ca559b2a265_playbook.retry
>
>     PLAY RECAP *********************************************************************
>     localhost                  : ok=26   changed=13   unreachable=0    failed=1   
>
>     (truncated, view all with --long)
>   deploy_stderr: |
>
>


Version of packages on undercloud node:

openstack-tripleo-common.noarch      8.7.1-2.el7ost     @rhelosp-13.0-puddle    
openstack-tripleo-common-containers.noarch 8.7.1-2.el7ost     @rhelosp-13.0-puddle    
openstack-tripleo-heat-templates.noarch 8.4.1-16.el7ost    @rhelosp-13.0-puddle    
openstack-tripleo-image-elements.noarch 8.0.3-1.el7ost     @rhelosp-13.0-puddle    
openstack-tripleo-puppet-elements.noarch 8.1.1-1.el7ost     @rhelosp-13.0-puddle    
openstack-tripleo-ui.noarch          8.3.2-3.el7ost     @rhelosp-13.0-puddle    
openstack-tripleo-validations.noarch 8.5.0-2.el7ost     @rhelosp-13.0-puddle    
puppet-tripleo.noarch                8.4.1-18.el7ost    @rhelosp-13.0-puddle    
python-tripleoclient.noarch          9.3.1-4.el7ost     @rhelosp-13.0-puddle

Comment 3 Martin Schuppert 2020-01-14 16:25:52 UTC
(In reply to Pavel Sedlák from comment #0)
> Deployment of overcloud fails with error:
> 
> > 2020-01-14 05:46:35Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1.0]: CREATE_FAILED  Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
> > 2020-01-14 05:46:35Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1]: CREATE_FAILED  Resource CREATE failed: Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
> > 2020-01-14 05:46:36Z [overcloud.AllNodesDeploySteps.ComputeDeployment_Step1]: CREATE_FAILED  Error: resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> > 2020-01-14 05:46:36Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Resource CREATE failed: Error: resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> > 2020-01-14 05:46:37Z [overcloud.AllNodesDeploySteps]: CREATE_FAILED  Error: resources.AllNodesDeploySteps.resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> > 2020-01-14 05:46:37Z [overcloud]: CREATE_FAILED  Resource CREATE failed: Error: resources.AllNodesDeploySteps.resources.ComputeDeployment_Step1.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 2
> >
> >  Stack overcloud CREATE_FAILED
> >
> > overcloud.AllNodesDeploySteps.ComputeDeployment_Step1.0:
> >   resource_type: OS::Heat::StructuredDeployment
> >   physical_resource_id: ae1e4966-e4b2-490c-aaad-c0d21d1091e9
> >   status: CREATE_FAILED
> >   status_reason: |
> >     Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
> >   deploy_stdout: |
> >     ...
> >             "   (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')",
> >             "Warning: Unknown variable: '::deployment_type'. Heat Stack create failed.
> > Heat Stack create failed.
> > at /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp:85:31", 
> >             "Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::nova::compute::libvirt_guests for compute-0.redhat.local at /var/lib/tripleo-config/puppet_step_config.pp:36:1 on node compute-0.redhat.local"
> >         ]
> >     }
> >     to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/a43f7e8f-67a3-429c-8d02-9ca559b2a265_playbook.retry
> >
> >     PLAY RECAP *********************************************************************
> >     localhost                  : ok=26   changed=13   unreachable=0    failed=1   
> >
> >     (truncated, view all with --long)
> >   deploy_stderr: |
> >
> >
> 
> 
> Version of packages on undercloud node:
> 
> puppet-tripleo.noarch                8.4.1-18.el7ost    @rhelosp-13.0-puddle

::tripleo::profile::base::nova::compute::libvirt_guests was introduced with BZ1706992 in puppet-tripleo-8.4.1-22.el7ost, which got released in Sept.


Note You need to log in before you can comment on or make changes to this bug.