Updating Red Hat OpenStack Platform on 16.1.X failed in an offline repository environment

Solution In Progress - Updated -

Issue

  • An offline package repository are used.
  • openstack overcloud update run failed with the following error message.

    ERROR osc_lib.shell [-] Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/osc_lib/shell.py", line 136, in run
        ret_val = super(OpenStackShell, self).run(argv)
      File "/usr/lib/python3.6/site-packages/cliff/app.py", line 281, in run
        result = self.run_subcommand(remainder)
      File "/usr/lib/python3.6/site-packages/osc_lib/shell.py", line 176, in run_subcommand
        ret_value = super(OpenStackShell, self).run_subcommand(argv)
      File "/usr/lib/python3.6/site-packages/cliff/app.py", line 401, in run_subcommand
        result = cmd.run(parsed_args)
      File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
        super(Command, self).run(parsed_args)
      File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
        return super(Command, self).run(parsed_args)
      File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
        return_code = self.take_action(parsed_args) or 0
      File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_update.py", line 219, in take_action
        priv_key=key)
      File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 1409, in run_update_ansible_action
        verbosity=verbosity, extra_vars=extra_vars)
      File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/package_update.py", line 127, in update_ansible
        raise RuntimeError('Update failed with: {}'.format(payload['message']))
    RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
    : RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
    INFO osc_lib.shell [-] END return value: 1
    
  • /var/log/containers/mistral/package_update.log indicates that Wait for containers to start for step 2 using paunch task failed.

    TASK [Wait for containers to start for step 2 using paunch] ********************
      :
      : (...omitted...)
      :
    p=137306 u=mistral n=ansible | fatal: [controller-0]: FAILED! => {
        "ansible_job_id": "XXXXXXXXXX.XXXXX",
        "attempts": 1200,
        "changed": false,
        "finished": 0,
        "invocation": {
            "module_args": {
                "_async_dir": "/root/.ansible_async",
                "jid": "XXXXXXXXXX.XXXXX",
                "mode": "status"
            }
        },
        "started": 1
    }
    

Environment

  • Red Hat OpenStack Platform 16.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