Error while trying to upgrade an overcloud

Solution Verified - Updated -

Issue

  • The following error occurs when upgrading from RHOSP 16.2 to RHOSP 17.1 or running a deploy of RHOSP 17.1.
 openstack overcloud upgrade run --yes --stack overcloud --debug --limit allovercloud,undercloud --playbook all
 ...
 <13>Mar 25 17:49:40 puppet-user: Warning: Unknown variable: '::nova::scheduler::filter::periodic_task_interval'. (file: /etc/puppet/modules/nova/manifests/scheduler.pp, line: 123, column: 39)
 <13>Mar 25 17:49:40 puppet-user: Warning: Scope(Class[Nova::Scheduler::Filter]): The nova::scheduler::filter::scheduler_max_attempts parameter has been deprecated and \
 <13>Mar 25 17:49:40 puppet-user: will be removed in a future release. Use the nova::scheduler::max_attempts parameter instead.
 <13>Mar 25 17:49:40 puppet-user: Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Nova_config[filter_scheduler/shuffle_best_same_weighed_hosts] is already declared at (file: /etc/puppet/modules/nova/manifests/config.pp, line: 59); cannot redeclare (file: /etc/puppet/modules/nova/manifests/scheduler/filter.pp, line: 199) (file: /etc/puppet/modules/nova/manifests/scheduler/filter.pp, line: 199, column: 3)  on node
 + rc=1
 + '[' false = false ']'
 + set +x
 2025-03-25 17:50:18.123228 | 525400cb-d273-b25b-bc67-00000000c24b |      FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-puppet-config/step_1 | cont-3 | error={"changed": false, "msg": "Failed containers: container-puppet-nova"}
 2025-03-25 17:50:18.124321 | 525400cb-d273-b25b-bc67-00000000c24b |     TIMING | tripleo_container_manage : Create containers managed by Podman for /var/lib/tripleo-config/container-puppet-config/step_1 |cont-3 | 0:32:40.751808 | 83.34s
 2025-03-25 17:50:27.874806 |                                      |    WARNING | ERROR: Container container-puppet-nova exited with code 1 when runed
 stderr: + /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags '"file,file_line,concat,augeas,cron,nova_config,nova_api_paste_ini,nova_config,nova_config,nova_config"' /etc/config.pp
 + logger -s -t puppet-user
 <13>Mar 25 17:49:37 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5

Environment

  • Red Hat OpenStack Platform 16.2
  • Red Hat OpenStack Platform 17.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content