Can't run container mistral_db_sync

Bug #1866621 reported by Arx Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
High
Unassigned

Bug Description

https://logserver.rdoproject.org/27/25727/6/check/distgit-tripleo-master-testing-centos-8-ovb-3ctlr_1comp-featureset001/4e8fb7c/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

Failing due the missing mapping.json and the openstack_actions_mapping_path option.

  finished: 1
  msg: Can't run container mistral_db_sync
  stderr: |-
    usage: mistral-db-manage [-h] [--config-dir DIR] [--config-file PATH]
                             [--debug] [--log-config-append PATH]
                             [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
                             [--log-file PATH] [--nodebug] [--nouse-journal]
                             [--nouse-json] [--nouse-syslog] [--nowatch-log-file]
                             [--syslog-log-facility SYSLOG_LOG_FACILITY]
                             [--use-journal] [--use-json] [--use-syslog]
                             [--watch-log-file]
                             {current,history,branches,upgrade,populate,populate_actions,stamp,revision}
                             ...
    mistral-db-manage: error: unrecognized arguments: --openstack_actions_mapping_path=/etc/mistral/mapping.json
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>
changed: [undercloud] => (item={'started': 1, 'finished': 0, 'ansible_job_id': '706091874641.90447', 'results_file': '/tmp/.ansible_async/706091874641.90447', 'changed': True, 'failed': False, 'container_data': {'heat_engine_db_sync': {'command': "/usr/bin/bootstrap_host_exec heat_engine su heat -s /bin/bash -c 'heat-manage db_sync'", 'detach': False, 'environment': {'TRIPLEO_DEPLOY_IDENTIFIER': '1583750148', 'TRIPLEO_CONFIG_HASH': '975eb2adc346a9c31a8336dc05018b99-975eb2adc346a9c31a8336dc05018b99'}, 'image': '192.168.24.1:8787/tripleomaster/centos-binary-heat-engine:0481ffa881dbc1aa61d9810533d85229-updated-20200309101539', 'net': 'host', 'privileged': False, 'user': 'root', 'volumes': ['/etc/hosts:/etc/hosts:ro', '/etc/localtime:/etc/localtime:ro', '/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro', '/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro', '/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro', '/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro', '/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro', '/dev/log:/dev/log', '/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro', '/etc/puppet:/etc/puppet:ro', '/var/log/containers/heat:/var/log/heat:z', '/var/lib/config-data/heat/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro', '/var/lib/config-data/heat/etc/heat/:/etc/heat/:ro'], 'start_order': 0}}, 'ansible_loop_var': 'container_data'})

Tags: quickstart
Revision history for this message
Adriano Petrich (apetrich) wrote :

Openstack actions were moved from mistral into mistral-extra including the option https://opendev.org/openstack/mistral-extra/src/branch/master/mistral_extra/actions/openstack/action_generator/base.py#L40

 I think the container is missing mistral-extra

Revision history for this message
Emilien Macchi (emilienm) wrote :
Revision history for this message
Arx Cruz (arxcruz) wrote :

Just an update, I am not seeing this happening anymore:

https://logserver.rdoproject.org/27/25727/15/check/distgit-tripleo-master-testing-centos-8-ovb-3ctlr_1comp-featureset001/43b3487/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

Although the job fails, it pass through the failing task on this bug, however, Emilien's patch it is not merged. Shall we close it?

Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
Adriano Petrich (apetrich) wrote :

So the issue is not package dependency *ONLY*

on the patch that split the mistral-extra on this line

https://github.com/openstack/mistral/commit/8bdf341af7348d3d092c6523a09df118c51c2a53#diff-6f9508867723a87b92a9fa401a80a1b9L130

the cli.py (which is the basis for the migrate action) no long reads that variable.

Revision history for this message
Adriano Petrich (apetrich) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/mistral 10.0.0.0b3

This issue was fixed in the openstack/mistral 10.0.0.0b3 development milestone.

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Revision history for this message
Marios Andreou (marios-b) wrote :

This is an automated action. Bug status has been set to 'Incomplete' and target milestone has been removed due to inactivity. If you disagree please re-set these values and reach out to us on freenode #tripleo

Changed in tripleo:
milestone: xena-1 → none
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tripleo because there has been no activity for 60 days.]

Changed in tripleo:
status: Incomplete → Expired
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.