[bare-metal]Ironic miss shellinabox package which enables ironic node console function

Bug #1446446 reported by Ma Wen Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Ma Wen Cheng

Bug Description

[root@~ ]# ironic node-set-console-mode 2099c814-9f46-4792-8f4a-39ac77802f6e true

 check the console mode again.

[root@~]# ironic node-show 2099c814-9f46-4792-8f4a-39ac77802f6e
+------------------------+--------------------------------------------------------------------------+
| Property | Value |
+------------------------+--------------------------------------------------------------------------+
| instance_uuid | None |
| target_power_state | None |
| properties | {u'memory_mb': 4, u'cpu_arch': u'x86_64', u'local_gb': 30, u'cpus': 2} |
| maintenance | True |
| driver_info | {u'a': u'b', u'pxe_deploy_ramdisk': u'959e1a5c- |
| | d8c2-4d11-a245-81e9bdf2d4ec', u'ipmi_terminal_port': 10, |
| | u'ipmi_username': u'USERID', u'ipmi_address': u'9.119.58.222', |
| | u'ipmi_password': u'******', u'pxe_deploy_kernel': u'959e1a5c- |
| | d8c2-4d11-a245-81e9bdf2d4ec'} |
| extra | {} |
| last_error | Error enabling the console on node 2099c814-9f46-4792-8f4a-39ac77802f6e. |
| | Reason: Console subprocess failed to start. [Errno 2] No such file or |
| | directory Command: shellinaboxd -t -p 10 |
| | --background=/tmp/2099c814-9f46-4792-8f4a-39ac77802f6e.pid -s |
| | /:1011:1011:HOME:ipmitool -H 9.119.58.222 -I lanplus -U USERID -f |
| | /tmp/2099c814-9f46-4792-8f4a-39ac77802f6e.pw -v sol activate |
| created_at | 2015-04-09T11:01:10.904178+00:00 |
| target_provision_state | None |
| driver | pxe_ipmitool |
| updated_at | 2015-04-14T17:56:07.561253+00:00 |
| maintenance_reason | During sync_power_state, max retries exceeded for node |
| | 2099c814-9f46-4792-8f4a-39ac77802f6e, node state None does not match |
| | expected state 'None'. Updating DB state to 'None' Switching node to |
| | maintenance mode. |
| instance_info | {} |
| driver_internal_info | |
| chassis_uuid | fb9a5962-9dbc-4a6d-87ad-2b55d4883a66 |
| provision_state | None |
| reservation | None |
| power_state | None |
| console_enabled | False |
| uuid | 2099c814-9f46-4792-8f4a-39ac77802f6e |
+------------------------+--------------------------------------------------------------------------+

The console_enabled still is false.
So we are missing to install 'shellinaboxd', 'shellinabox' should be installed into irnic conductor node.

Ma Wen Cheng (mars914)
Changed in openstack-chef:
assignee: nobody → Ma Wen Cheng (mars914)
summary: - Ironic miss shellinabox package which enables ironic node console
- function
+ [bare-metal]Ironic miss shellinabox package which enables ironic node
+ console function
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-bare-metal (master)

Fix proposed to branch: master
Review: https://review.openstack.org/175703

Changed in openstack-chef:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-bare-metal (master)

Reviewed: https://review.openstack.org/175703
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-bare-metal/commit/?id=511039f66866c34b8d53feba71294f954d921b89
Submitter: Jenkins
Branch: master

commit 511039f66866c34b8d53feba71294f954d921b89
Author: wenchma <email address hidden>
Date: Tue Apr 21 11:52:40 2015 +0800

    Add missing shellinabox package which enables ironic node console

    Change-Id: Ib8ed8b0227ba2173cd1650bb3564163a00913b4d
    Closes-bug: #1446446

Changed in openstack-chef:
status: In Progress → Fix Released
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.