This is a request for a review of an upstream blueprint.
Now that we have AgentAndIPMIToolAndSocatDriver, is there anything else we can do here? Is using IPMINative a hard requirement for you?
I filed this on behalf of our EPM partner NEC.
I've asked NEC members if we can close this, and now waiting for feedback/checking by NEC.
I believe we would be able to close if NEC have further request on this.
> I believe we would be able to close if NEC have further request on this.
I believe we would be able to close if NEC doesn't have further request on this.
Sorry for reply late. Please close this.
Thanks! I'm putting this bug to modified to indicate that we now have support for nova-compatible console in some of our drivers (though not exactly the ones mentioned in the title).
Thank you for your update.
As Torii-san wrote in his last comment, NEC agreed to close this.
I believe that NEC will open new ticket if they find that using IPMINative a hard requirement for them, and we can close this once.
However, I'm not sure what's the right status for this situation, I just remove NEC's tracker from blocks field once instead of closing this.
Thanks! I've put it to MODIFIED for our QE to pick and test it for OSP 10.
Could you please state what exactly should be checked here in terms of Expected results?
Milan, we need to test this bit: http://docs.openstack.org/developer/ironic/deploy/console.html#node-serial-console. The expected result is possibility to enable serial console in Ironic. It's not required to be available out-of-box at this stage, so some manual configuration is expected (see the link).
Created attachment 1217095 [details]
conductor executes shellinabox instead of socat
Seems this feature is broken;
Following http://docs.openstack.org/developer/ironic/deploy/console.html#node-serial-console leads to the conductor starting the shellinabox console instead of the socat one even though I've set the driver_info parameter: 'ipmi_terminal_port': 54321 (see the last_error field in the attached ironic node-show output)
[stack@seal01 ~]$ rpm -qa openstack-ironic*
Could you please try applying https://review.openstack.org/#/c/363647/? maybe we should backport it.
Ignore me, you're using the wrong driver:
| driver | pxe_ipmitool
Please take another look at http://docs.openstack.org/developer/ironic/deploy/console.html#node-serial-console.
I'm still backporting the bug I mentioned above just in case.
Created attachment 1218173 [details]
ironic ipmi SOL over the socat working
I was able to get a telnet connection to the ipmi SOL having changed the node driver to pxe_ipmi_socat and having applied the patch: https://review.openstack.org/#/c/393746
Created attachment 1218462 [details]
Socat error in a unpatched conductor
Backport is awaiting review.
Created attachment 1220552 [details]
verifying screen log
This feature works indeed.
There may be several caveats:
* install socat&telnet
* enable the pxe_ipmitool_socat driver in /etc/ironic/ironic.conf 
* change the driver of existing baremetal nodes to pxe_ipmitool_socat
* update pxe_append_params in /etc/ironic/ironic.conf 
* you may need to use different tty (for me ttyS0 didn't work but ttyS1 did)
* the image you're deploying has to have console forwarding set the same way (in grub)
[stack@seal01 ~]$ rpm -qa '*ironic*'
[stack@seal01 ~]$ rpm -q --changelog openstack-ironic-common-6.2.1-4.el7ost.noarch
* Thu Nov 10 2016 Jon Schlueter <firstname.lastname@example.org> 1:6.2.1-4
- [install-guide] describe service clients auth
- IPMI command should depend on console type (rhbz#1347475)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.