Bug 1385928 - Last poodle breaks the node importation mechanism
Summary: Last poodle breaks the node importation mechanism
Keywords:
Status: CLOSED DUPLICATE of bug 1383627
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-17 22:01 UTC by David Hill
Modified: 2016-10-20 11:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-20 11:20:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Workbook patch for failure to import new nodes. (683 bytes, text/plain)
2016-10-18 02:49 UTC, David Hill
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1634202 0 None None None 2016-10-18 02:50:09 UTC

Description David Hill 2016-10-17 22:01:11 UTC
Description of problem:
[stack@undercloud-0-newton ~]$ openstack baremetal import --json /home/stack/instackenv.json
Started Mistral Workflow. Execution ID: 021d8507-81d4-4193-8431-b3ad31683425
Exception registering nodes: [{u'__task_execution': {u'id': u'71ceeeed-3046-4f86-ac8d-f70fbb66d8f6', u'name': u'wait_for_provision_state'}}, {u'__task_execution': {u'id': u'29e3703c-94fd-4781-970e-3f0a872582ed', u'name': u'wait_for_provision_state'}}, {u'result': u"Failure caused by error in tasks: set_provision_state\n\n set_provision_state [task_ex_id=28e31bab-fb52-4cfc-b730-698ef946e97f] -> Failed to run action [action_ex_id=9009e42e-9b20-4da6-b591-0381fbc78f75, action_cls='<class 'mistral.actions.action_factory.IronicAction'>', attributes='{u'client_method_name': u'node.set_provision_state'}', params='{u'state': u'manage', u'node_uuid': u'bc83da8c-27a5-4baa-adf0-6b2589cdd870', u'configdrive': None, u'cleansteps': None}']\n IronicAction.node.set_provision_state failed: <class 'ironicclient.common.apiclient.exceptions.Conflict'>: Node bc83da8c-27a5-4baa-adf0-6b2589cdd870 is locked by host localhost.localdomain, please retry after the current operation is completed.\n [action_ex_id=9009e42e-9b20-4da6-b591-0381fbc78f75, idx=0]: Failed to run action [action_ex_id=9009e42e-9b20-4da6-b591-0381fbc78f75, action_cls='<class 'mistral.actions.action_factory.IronicAction'>', attributes='{u'client_method_name': u'node.set_provision_state'}', params='{u'state': u'manage', u'node_uuid': u'bc83da8c-27a5-4baa-adf0-6b2589cdd870', u'configdrive': None, u'cleansteps': None}']\n IronicAction.node.set_provision_state failed: <class 'ironicclient.common.apiclient.exceptions.Conflict'>: Node bc83da8c-27a5-4baa-adf0-6b2589cdd870 is locked by host localhost.localdomain, please retry after the current operation is completed.\n"}, {u'__task_execution': {u'id': u'c7e752df-5278-4fa6-ad20-793613922d53', u'name': u'wait_for_provision_state'}}, {u'__task_execution': {u'id': u'd60b51dd-07cd-48b5-8da6-b79307b03e67', u'name': u'wait_for_provision_state'}}, {u'__task_execution': {u'id': u'1bd734d5-4fd0-434b-b794-e16aafe909af', u'name': u'wait_for_provision_state'}}, {u'__task_execution': {u'id': u'01d14855-e192-4e2f-a972-8a8c7a888d53', u'name': u'wait_for_provision_state'}}]

This didn't happen in Liberty and Mitaka.

Version-Release number of selected component (if applicable):
2016-10-14.5

How reproducible:
Always

Steps to Reproduce:
1. Deploy an undercloud 
2. Try to import new nodes
3.

Actual results:
Fails

Expected results:
Succeeds

Additional info:
Was working prior this build but had other issues.

Comment 1 David Hill 2016-10-18 02:48:43 UTC
Here is the upstream bug: https://bugs.launchpad.net/tripleo/+bug/1634202

And I've managed to create a patch for this issue.  I'll attach it to this case too.

Comment 2 David Hill 2016-10-18 02:49:10 UTC
Created attachment 1211588 [details]
Workbook patch for failure to import new nodes.

Comment 3 Dmitry Tantsur 2016-10-20 11:20:09 UTC

*** This bug has been marked as a duplicate of bug 1383627 ***


Note You need to log in before you can comment on or make changes to this bug.