| Summary: | Missing nodes available to assign | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Martin Magr <mmagr> | ||||
| Component: | openstack-tripleo-ui | Assignee: | RHOS Maint <rhos-maint> | ||||
| Status: | CLOSED EOL | QA Contact: | Arik Chernetsky <achernet> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 10.0 (Newton) | CC: | beth.white, jjoyce, jschluet, mmagr, slinaber, tvignaud | ||||
| Target Milestone: | --- | Keywords: | Triaged, ZStream | ||||
| Target Release: | 11.0 (Ocata) | Flags: | beth.white:
needinfo?
(opavlenk) |
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-06-22 12:31:27 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Martin Magr
2016-12-06 09:31:43 UTC
Forgot to mention, that I skipped node introspection. Seems like it's a problem of flavor/capabilities settings of quickstart:
[stack@undercloud ~]$ openstack server show -c name -c flavor 9e2fd56a-fb7e-4f23-be76-1d6739780710
+--------+-----------------------------------------------------------+
| Field | Value |
+--------+-----------------------------------------------------------+
| flavor | oooq_objectstorage (fad64184-1589-4d92-bc0b-ff08f032573f) |
| name | overcloud-objectstorage-0 |
+--------+-----------------------------------------------------------+
[stack@undercloud ~]$ openstack server show -c name -c flavor fc440a25-34db-4dad-a0f8-0f8f78e79f8b
+--------+--------------------------------------------------+
| Field | Value |
+--------+--------------------------------------------------+
| flavor | oooq_ceph (b79b1415-8d63-4204-9a94-1467ce7e5039) |
| name | overcloud-cephstorage-0 |
+--------+--------------------------------------------------+
[stack@undercloud ~]$
------
[stack@undercloud ~]$ ironic node-show 1243f0de-7bf2-4f46-bac0-5853a8af4997 | grep capabilities
| | u'capabilities': u'{"profile": "ceph", "boot_option": "local"}', |
| | u'cpus': u'1', u'capabilities': u'profile:ceph,boot_option:local'} |
[stack@undercloud ~]$ ironic node-show 57975a73-5180-4c99-b8e3-736d2d23580c | grep capabilities
| | u'capabilities': u'{"profile": "objectstorage", "boot_option": |
| | u'cpus': u'1', u'capabilities': |
[stack@undercloud ~]$
I'll let this bug open so that somebody from UI team can doublecheck this, but feel free to close it in case my guess is correct.
Hi Martin, Were you trying to scale the existing stack (e.g 1 controller, 1 compute ) to a larger number? Also, what were the steps? Have you registered all 6 nodes together or registered 2 nodes first and then deployed overcloud, and then registered 4 additional nodes? Thanks Hey Ola, the only thing I tried was installing OSP-10 with tripleo-quickstart with initial 6 nodes, but only 2 used. After the installation I don't see 4 remaining nodes in UI, so I cannot use them at all. <ola_> mmagr: hm... it doesn't seem to work properly after all...
<ola_> mmagr: could yo please add to the bug the output of " rpm -qa | grep ui " and "nova list"
>>>
[stack@undercloud ~]$ rpm -qa | grep ui
libuuid-2.23.2-33.el7.x86_64
python-XStatic-JQuery-quicksearch-2.0.3.1-2.el7ost.noarch
diskimage-builder-1.26.1-1.el7ost.noarch
suitesparse-4.0.2-10.el7.x86_64
NetworkManager-tui-1.4.0-14.el7_3.x86_64
python-XStatic-jquery-ui-1.12.0.1-1.el7ost.noarch
openstack-tripleo-ui-1.1.0-1.el7ost.noarch
rpm-build-libs-4.11.3-21.el7.x86_64
iscsi-initiator-utils-iscsiuio-6.2.0.873-35.el7.x86_64
[stack@undercloud ~]$
[stack@undercloud ~]$ nova list
+--------------------------------------+------------------------+--------+------------+-------------+------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------------------------+--------+------------+-------------+------------------------+
| d7aeed2e-8793-4030-bb7c-87dc2ea241a4 | overcloud-compute-0 | ACTIVE | - | Running | ctlplane=192.168.24.17 |
| 0b9a4fba-5ecf-4962-9ea2-55c3cd12cebd | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.168.24.7 |
+--------------------------------------+------------------------+--------+------------+-------------+------------------------+
I've tried to reproduce on qe env.
While trying to "provide" a node (without introspection) getting :
action @ 18:23:40.360 FINISH_NODES_OPERATION
logger.js:74 prev state Object {currentPlan: Record, environmentConfiguration: Record, executions: Map, login: Record, nodes: Map…}
logger.js:74 action Object {type: "FINISH_NODES_OPERATION", payload: Array[1]}
logger.js:74 error Error: Objects are not valid as a React child (found: object with keys {result}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `Notification`.
at invariant (invariant.js:38)
at traverseAllChildrenImpl (traverseAllChildren.js:127)
at traverseAllChildrenImpl (traverseAllChildren.js:83)
at traverseAllChildren (traverseAllChildren.js:155)
at Object.instantiateChildren (ReactChildReconciler.js:52)
at ReactDOMComponent._reconcilerInstantiateChildren (ReactMultiChild.js:159)
at ReactDOMComponent.mountChildren (ReactMultiChild.js:196)
at ReactDOMComponent._createInitialChildren (ReactDOMComponent.js:628)
at ReactDOMComponent.mountComponent (ReactDOMComponent.js:474)
at ReactDOMComponent.wrapper [as mountComponent] (ReactPerf.js:66)
invariant.js:38 Uncaught Error: Objects are not valid as a React child (found: object with keys {result}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `Notification`.
at invariant (invariant.js:38)
at traverseAllChildrenImpl (traverseAllChildren.js:127)
at traverseAllChildrenImpl (traverseAllChildren.js:83)
at traverseAllChildren (traverseAllChildren.js:155)
at Object.instantiateChildren (ReactChildReconciler.js:52)
at ReactDOMComponent._reconcilerInstantiateChildren (ReactMultiChild.js:159)
at ReactDOMComponent.mountChildren (ReactMultiChild.js:196)
at ReactDOMComponent._createInitialChildren (ReactDOMComponent.js:628)
at ReactDOMComponent.mountComponent (ReactDOMComponent.js:474)
at ReactDOMComponent.wrapper [as mountComponent] (ReactPerf.js:66)
invariant @ invariant.js:38
traverseAllChildrenImpl @ traverseAllChildren.js:127
traverseAllChildrenImpl @ traverseAllChildren.js:83
traverseAllChildren @ traverseAllChildren.js:155
instantiateChildren @ ReactChildReconciler.js:52
_reconcilerInstantiateChildren @ ReactMultiChild.js:159
mountChildren @ ReactMultiChild.js:196
_createInitialChildren @ ReactDOMComponent.js:628
mountComponent @ ReactDOMComponent.js:474
ReactDOMComponent_mountComponent @ ReactPerf.js:66
mountComponent @ ReactReconciler.js:39
mountChildren @ ReactMultiChild.js:203
_createInitialChildren @ ReactDOMComponent.js:628
mountComponent @ ReactDOMComponent.js:474
ReactDOMComponent_mountComponent @ ReactPerf.js:66
mountComponent @ ReactReconciler.js:39
mountChildren @ ReactMultiChild.js:203
_createInitialChildren @ ReactDOMComponent.js:628
mountComponent @ ReactDOMComponent.js:474
ReactDOMComponent_mountComponent @ ReactPerf.js:66
mountComponent @ ReactReconciler.js:39
performInitialMount @ ReactCompositeComponent.js:297
mountComponent @ ReactCompositeComponent.js:222
ReactCompositeComponent_mountComponent @ ReactPerf.js:66
mountComponent @ ReactReconciler.js:39
_mountChildAtIndex @ ReactMultiChild.js:379
_updateChildren @ ReactMultiChild.js:299
updateChildren @ ReactMultiChild.js:259
_updateDOMChildren @ ReactDOMComponent.js:845
updateComponent @ ReactDOMComponent.js:691
receiveComponent @ ReactDOMComponent.js:647
ReactDOMComponent_receiveComponent @ ReactPerf.js:66
receiveComponent @ ReactReconciler.js:103
_updateRenderedComponent @ ReactCompositeComponent.js:661
_performComponentUpdate @ ReactCompositeComponent.js:643
updateComponent @ ReactCompositeComponent.js:572
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
receiveComponent @ ReactCompositeComponent.js:495
receiveComponent @ ReactReconciler.js:103
_updateRenderedComponent @ ReactCompositeComponent.js:661
_performComponentUpdate @ ReactCompositeComponent.js:643
updateComponent @ ReactCompositeComponent.js:572
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
performUpdateIfNecessary @ ReactCompositeComponent.js:511
performUpdateIfNecessary @ ReactReconciler.js:122
runBatchedUpdates @ ReactUpdates.js:143
perform @ Transaction.js:136
perform @ Transaction.js:136
perform @ ReactUpdates.js:89
flushBatchedUpdates @ ReactUpdates.js:165
ReactUpdates_flushBatchedUpdates @ ReactPerf.js:66
closeAll @ Transaction.js:202
perform @ Transaction.js:149
batchedUpdates @ ReactDefaultBatchingStrategy.js:63
enqueueUpdate @ ReactUpdates.js:194
enqueueUpdate @ ReactUpdateQueue.js:22
enqueueSetState @ ReactUpdateQueue.js:201
ReactComponent.setState @ ReactComponent.js:67
handleChange @ connect.js:301
dispatch @ createStore.js:186
(anonymous) @ index.js:208
(anonymous) @ index.js:14
dispatch @ applyMiddleware.js:45
(anonymous) @ NodesActions.js:181
(anonymous) @ index.js:11
dispatch @ applyMiddleware.js:45
(anonymous) @ ZaqarActions.js:21
(anonymous) @ index.js:11
dispatch @ applyMiddleware.js:45
_this.socket.onmessage @ ZaqarWebSocketService.js:34
Then introspection of the same node returned:
Failed to run action [action_ex_id=44a90ed4-f158-43f4-b139-16bfb9fb0308, action_cls='<class 'mistral.actions.action_factory.BaremetalIntrospectionAction'>', attributes='{u'client_method_name': u'introspect'}', params='{u'uuid': u'16171e3f-12bc-4458-bdf5-e75bf825f4ba', u'new_ipmi_username': None, u'new_ipmi_password': None}'] BaremetalIntrospectionAction.introspect failed: <class 'ironic_inspector_client.common.http.ClientError'>: Invalid provision state for introspection: "available", valid states are "['manageable', 'inspectfail', 'enroll', 'inspecting']"
From console:
Warning: Failed propType: Invalid prop `title` of type `object` supplied to `Notification`, expected `string`. Check the render method of `NotificationsToaster`.
printWarning @ warning.js:36
warning @ warning.js:60
checkPropTypes @ ReactElementValidator.js:189
validatePropTypes @ ReactElementValidator.js:208
createElement @ ReactElementValidator.js:242
(anonymous) @ NotificationsToaster.js:30
(anonymous) @ immutable.js:3018
List.__iterate @ immutable.js:2208
mappedSequence.__iterateUncached @ immutable.js:3017
seqIterate @ immutable.js:606
IndexedSeq.__iterate @ immutable.js:322
toArray @ immutable.js:4260
List @ immutable.js:2067
reify @ immutable.js:3572
map @ immutable.js:4403
renderNotifications @ NotificationsToaster.js:28
render @ NotificationsToaster.js:48
_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:687
_renderValidatedComponent @ ReactCompositeComponent.js:707
ReactCompositeComponent__renderValidatedComponent @ ReactPerf.js:66
_updateRenderedComponent @ ReactCompositeComponent.js:659
_performComponentUpdate @ ReactCompositeComponent.js:643
updateComponent @ ReactCompositeComponent.js:572
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
receiveComponent @ ReactCompositeComponent.js:495
receiveComponent @ ReactReconciler.js:103
_updateRenderedComponent @ ReactCompositeComponent.js:661
_performComponentUpdate @ ReactCompositeComponent.js:643
updateComponent @ ReactCompositeComponent.js:572
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
performUpdateIfNecessary @ ReactCompositeComponent.js:511
performUpdateIfNecessary @ ReactReconciler.js:122
runBatchedUpdates @ ReactUpdates.js:143
perform @ Transaction.js:136
perform @ Transaction.js:136
perform @ ReactUpdates.js:89
flushBatchedUpdates @ ReactUpdates.js:165
ReactUpdates_flushBatchedUpdates @ ReactPerf.js:66
closeAll @ Transaction.js:202
perform @ Transaction.js:149
batchedUpdates @ ReactDefaultBatchingStrategy.js:63
enqueueUpdate @ ReactUpdates.js:194
enqueueUpdate @ ReactUpdateQueue.js:22
enqueueSetState @ ReactUpdateQueue.js:201
ReactComponent.setState @ ReactComponent.js:67
handleChange @ connect.js:301
dispatch @ createStore.js:186
(anonymous) @ index.js:208
(anonymous) @ index.js:14
dispatch @ applyMiddleware.js:45
(anonymous) @ NodesActions.js:144
(anonymous) @ index.js:11
dispatch @ applyMiddleware.js:45
(anonymous) @ ZaqarActions.js:17
(anonymous) @ index.js:11
dispatch @ applyMiddleware.js:45
_this.socket.onmessage @ ZaqarWebSocketService.js:34
But introspection seems to be running despite the error (refreshed several times)
In CLI :
$ openstack baremetal introspection status 16171e3f-12bc-4458-bdf5-e75bf825f4ba
Could not find node 16171e3f-12bc-4458-bdf5-e75bf825f4ba in cache
[stack@instack ~]$ openstack baremetal node list
+--------------------------------------+-------+--------------------------------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------+--------------------------------------+-------------+--------------------+-------------+
| befaa59d-456d-45a0-ad6e-fde1e1f0aa02 | Node1 | df1e6e36-81f8-4698-accb-4d88b18c9e99 | power on | active | False |
| e1a9e45b-abb3-476c-a319-520b1e9e2fb2 | Node2 | e6d1a26d-4cf0-448d-b1b3-5779c0082c7c | power on | active | False |
| 73d7addd-da15-4e4c-8aeb-954d35916b8e | Node3 | b86b87b8-5eb4-44ec-97a7-ab550c39939d | power on | active | False |
| 1e7d80e1-3c26-458b-a42c-0954149994d7 | Node4 | 6854bb3e-2534-4768-808e-8953da8625cf | power on | active | False |
| 4349db05-75ae-4e5b-91cc-e1bcb4c3284d | Node5 | 606f567b-8c5b-4e69-913c-577141185c6a | power on | active | False |
| b762137d-b45c-4269-a8ce-5516b6342795 | Node6 | eb022d98-c8f0-4da2-9ada-bda956da9465 | power on | active | False |
| 7c7f35a7-4482-40b0-92c9-acbbcffe84f0 | Node7 | 1b93aaf0-5e6b-4501-86b8-080f6e4de8c4 | power on | active | False |
| 16171e3f-12bc-4458-bdf5-e75bf825f4ba | Node8 | None | power off | available | False |
+--------------------------------------+-------+--------------------------------------+-------------+--------------------+-------------+
Comment#8 doesn't relate to this bug. Was added here by mistake. Please ignore. The comment relates to BUG#1427092 Fixed in 11. We'll test the fix and will make a decision for backporting. OSP11 is now retired, see details at https://access.redhat.com/errata/product/191/ver=11/rhel---7/x86_64/RHBA-2018:1828 |