FFU overcloud ceph-upgrade run command fails with: InputException Invalid input . . . missing=['container_registry']

Bug #1808101 reported by Radoslaw Smigielski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Medium
Radoslaw Smigielski

Bug Description

Problem occurs during FFU N->Q.
Latest stable tripleO common and tripleO python client taken from git.

Command:

openstack overcloud ceph-upgrade run \
       --templates /home/stack/templates/ \
       -e /home/stack/templates/environments/network-isolation.yaml \
       -e /home/stack/templates/network-environment.yaml \
       -e /home/stack/templates/storage-environment.yaml \
       -e /home/stack/templates/environments/ovs-dpdk-permissions.yaml \
       -e /home/stack/tripleo-overcloud-passwords.yaml \
       -e /home/stack/ffu_repos.yaml \
       -e /home/stack/templates/environments/docker.yaml \
       -e /home/stack/templates/environments/docker-ha.yaml \
       -e /home/stack/templates/environments/hyperconverged-ceph.yaml \
       -e /home/stack/templates/environments/ceph-ansible/ceph-ansible.yaml \
       -e /home/stack/templates/environments/ceph-ansible/ceph-rgw.yaml \
       -e /home/stack/templates/environments/manila-cephfsnative-config-docker.yaml \
       -e /home/stack/templates/environments/ceph-ansible/ceph-mds.yaml \
       --container-registry-file /home/stack/templates/docker_registry.yaml \
       --roles-file /home/stack/templates/roles_data.yaml \
       --ceph-ansible-playbook '/usr/share/ceph-ansible/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml/usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml' \
       --disable-validations \
       --verbose \
       --no-cleanup

fails with error:

[u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming\n res = self.dispatcher.dispatch(message)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch\n return self._do_dispatch(endpoint, method, ctxt, args)\n', u' File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch\n result = func(ctxt, **new_args)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/engine_server.py", line 111, in start_workflow\n **params\n', u' File "/usr/lib/python2.7/site-packages/mistral/db/utils.py", line 81, in decorate\n return _with_auth_context(auth_ctx, func, *args, **kw)\n', u' File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 214, in wrapped_f\n return self.call(f, *args, **kw)\n', u' File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 295, in call\n start_time=start_time)\n', u' File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 252, in iter\n return fut.result()\n', u' File "/usr/lib/python2.7/site-packages/concurrent/futures/_base.py", line 422, in result\n return self.__get_result()\n', u' File "/usr/lib/python2.7/site-packages/tenacity/__init__.py", line 298, in call\n result = fn(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/mistral/db/utils.py", line 50, in _with_auth_context\n return func(*args, **kw)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/action_queue.py", line 95, in decorate\n res = func(*args, **kw)\n', u' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper\n result = f(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/default_engine.py", line 53, in start_workflow\n params\n', u' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper\n result = f(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/workflow_handler.py", line 54, in start_workflow\n params=params\n', u' File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 158, in wrapper\n result = f(*args, **kwargs)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/workflows.py", line 92, in start\n self.validate_input(input_dict)\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/workflows.py", line 188, in validate_input\n self.wf_spec.__class__.__name__\n', u' File "/usr/lib/python2.7/site-packages/mistral/engine/utils.py", line 66, in validate_input\n raise exc.InputException(msg % tuple(msg_props))\n', u"InputException: Invalid input [name=package_update_plan, class=DirectWorkflowSpec, missing=['container_registry']]\n"].
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base Traceback (most recent call last):
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/mistral/rpc/base.py", line 99, in decorator
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base return method(*args, **kwargs)
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/mistral/rpc/clients.py", line 121, in start_workflow
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base params=params
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/mistral/rpc/oslo/oslo_client.py", line 38, in sync_call
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base **kwargs
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 174, in call
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base retry=self.retry)
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 131, in _send
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base timeout=timeout, retry=retry)
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 559, in send
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base retry=retry)
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 550, in _send
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base raise result
2018-12-11 14:01:53.048 12576 ERROR mistral.rpc.base RemoteError: Remote error: InputException Invalid input [name=package_update_plan, class=DirectWorkflowSpec, missing=['container_registry']]

problem seems to be that container_registry is still passed from client to workflow tripleo.package_update.v1.package_update_plan but workflow container_registry input was removed from tripleo-common workbooks/package_update.yaml bug #1785825.

so the bottom line is that "openstack overcloud ceph-upgrade run" seems to be completely broken.

description: updated
Changed in tripleo:
status: New → In Progress
assignee: nobody → Radoslaw Smigielski (radoslaw-smigielski)
Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

Is this still an issue?

Changed in tripleo:
importance: Undecided → Medium
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.