instack install failures: tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument

Bug #1496919 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
High
Unassigned

Bug Description

Seeing the following upstream CI failures as of today:

2015-09-17 15:48:39.113 | dib-run-parts Thu Sep 17 15:48:39 UTC 2015 Running /usr/libexec/os-refresh-config/post-configure.d/101-plan-add-roles
2015-09-17 15:48:42.154 | No plan with name 'overcloud' exists.
2015-09-17 15:48:42.813 | +-------------+--------------------------------------+
2015-09-17 15:48:42.813 | | Property | Value |
2015-09-17 15:48:42.814 | +-------------+--------------------------------------+
2015-09-17 15:48:42.814 | | created_at | 2015-09-17T15:48:42 |
2015-09-17 15:48:42.814 | | description | None |
2015-09-17 15:48:42.814 | | name | overcloud |
2015-09-17 15:48:42.814 | | parameters | |
2015-09-17 15:48:42.814 | | roles | |
2015-09-17 15:48:42.814 | | updated_at | None |
2015-09-17 15:48:42.814 | | uuid | a3ec5b5a-3ed0-40b9-8bd6-94e0b344f6eb |
2015-09-17 15:48:42.814 | +-------------+--------------------------------------+
2015-09-17 15:48:44.142 | Usage: grep [OPTION]... PATTERN [FILE]...
2015-09-17 15:48:44.142 | Try 'grep --help' for more information.
2015-09-17 15:48:45.347 | usage: tuskar plan-add-role [-h] -r <ROLE UUID> plan_uuid
2015-09-17 15:48:45.347 | tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument
2015-09-17 15:48:46.070 | Usage: grep [OPTION]... PATTERN [FILE]...
2015-09-17 15:48:46.071 | Try 'grep --help' for more information.
2015-09-17 15:48:47.150 | usage: tuskar plan-add-role [-h] -r <ROLE UUID> plan_uuid
2015-09-17 15:48:47.150 | tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument
2015-09-17 15:48:47.894 | Usage: grep [OPTION]... PATTERN [FILE]...
2015-09-17 15:48:47.894 | Try 'grep --help' for more information.
2015-09-17 15:48:48.959 | usage: tuskar plan-add-role [-h] -r <ROLE UUID> plan_uuid
2015-09-17 15:48:48.959 | tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument
2015-09-17 15:48:50.195 | Usage: grep [OPTION]... PATTERN [FILE]...
2015-09-17 15:48:50.195 | Try 'grep --help' for more information.
2015-09-17 15:48:51.501 | usage: tuskar plan-add-role [-h] -r <ROLE UUID> plan_uuid
2015-09-17 15:48:51.501 | tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument
2015-09-17 15:48:52.133 | Usage: grep [OPTION]... PATTERN [FILE]...
2015-09-17 15:48:52.133 | Try 'grep --help' for more information.
2015-09-17 15:48:53.254 | usage: tuskar plan-add-role [-h] -r <ROLE UUID> plan_uuid
2015-09-17 15:48:53.254 | tuskar plan-add-role: error: argument -r/--role-uuid: expected one argument
2015-09-17 15:48:54.003 | ERROR (shell) Exiting due to an error:
2015-09-17 15:48:54.003 | Traceback (most recent call last):
2015-09-17 15:48:54.003 | File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 248, in main
2015-09-17 15:48:54.003 | TuskarShell(sys.argv[1:]).run()
2015-09-17 15:48:54.003 | File "/usr/lib/python2.7/site-packages/tuskarclient/shell.py", line 76, in run
2015-09-17 15:48:54.003 | args.func(tuskar_client, args)
2015-09-17 15:48:54.003 | File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans_shell.py", line 253, in do_plan_update
2015-09-17 15:48:54.004 | return tuskar.plans.patch(args.plan_uuid, parameters)
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/v2/plans.py", line 113, in patch
2015-09-17 15:48:54.004 | parameter_list)
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/base.py", line 213, in _patch
2015-09-17 15:48:54.004 | body = self.client.patch(url, json=json).json()
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 367, in patch
2015-09-17 15:48:54.004 | return self.client_request("PATCH", url, **kwargs)
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 345, in client_request
2015-09-17 15:48:54.004 | self, method, url, **kwargs)
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 261, in client_request
2015-09-17 15:48:54.004 | method, self.concat_url(endpoint, url), **kwargs)
2015-09-17 15:48:54.004 | File "/usr/lib/python2.7/site-packages/tuskarclient/openstack/common/apiclient/client.py", line 201, in request
2015-09-17 15:48:54.005 | raise exceptions.from_response(resp, method, url)
2015-09-17 15:48:54.005 | BadRequest: There are no parameters named Controller-1::Flavor, Controller-1::CloudName, Ceph-Storage-1::Flavor, Compute-1::NeutronNetworkType, Swift-Storage-1::count, Controller-1::CinderISCSIHelper, Swift-Storage-1::Image, Compute-1::Image, Cinder-Storage-1::CinderISCSIHelper, Controller-1::NeutronEnableTunnelling, Controller-1::count, Controller-1::Image, Controller-1::NtpServer, Cinder-Storage-1::Image, Ceph-Storage-1::count, Cinder-Storage-1::count, Controller-1::NeutronBridgeMappings, Compute-1::Flavor, Ceph-Storage-1::Image, Controller-1::NeutronTunnelTypes, Compute-1::NeutronPhysicalBridge, Compute-1::NeutronTunnelTypes, Compute-1::NovaComputeLibvirtType, Compute-1::NeutronPublicInterface, Controller-1::NeutronPublicInterface, Controller-1::NeutronFlatNetworks, Swift-Storage-1::Flavor, Compute-1::NeutronBridgeMappings, Compute-1::NeutronEnableTunnelling, Cinder-Storage-1::Flavor, Controller-1::NeutronNetworkVLANRanges, Compute-1::NtpServer, Compute-1::NeutronNetworkVLANRanges, Controller-1::NeutronNetworkType, Compute-1::count, Compute-1::NeutronFlatNetworks in plan a3ec5b5a-3ed0-40b9-8bd6-94e0b344f6eb. (HTTP 400)
2015-09-17 15:48:54.022 | [2015-09-17 15:48:53,995] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status 1]
2015-09-17 15:48:54.022 |
2015-09-17 15:48:54.023 | [2015-09-17 15:48:53,995] (os-refresh-config) [ERROR] Aborting...
2015-09-17 15:48:54.023 | Traceback (most recent call last):
2015-09-17 15:48:54.023 | File "<string>", line 1, in <module>
2015-09-17 15:48:54.023 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 559, in install
2015-09-17 15:48:54.035 | _run_orc(instack_env)
2015-09-17 15:48:54.035 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 491, in _run_orc
2015-09-17 15:48:54.035 | _run_live_command(args, instack_env, 'os-refresh-config')
2015-09-17 15:48:54.035 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 322, in _run_live_command
2015-09-17 15:48:54.036 | raise RuntimeError('%s failed. See log for details.' % name)
2015-09-17 15:48:54.036 | RuntimeError: os-refresh-config failed. See log for details.
2015-09-17 15:48:54.050 | ERROR: openstack Command 'instack-install-undercloud' returned non-zero exit status 1

Revision history for this message
Dan Prince (dan-prince) wrote :

One clarification: The CI failure I'm seeing is only with this patch:

https://bugs.launchpad.net/tripleo/+bug/1496919

Perhaps tuskar has some hard coded paths?

Changed in tripleo:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Dan Prince (dan-prince) wrote :

Okay. So this is just related to this patch. We'll need to now fix ./elements/tuskar/os-refresh-config/configure.d/90-tuskar-db-sync in tripleo-image-elements to support the new template structures.

Changed in tripleo:
status: Triaged → Invalid
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.