Ironic use shellinabox doesn't work

Kaifeng Wang kaifeng.w at gmail.com
Fri Nov 13 13:38:07 UTC 2020


There is nothing wrong with the openstack side according to your context,
but you need to double check the BMC configuration and kernel parameters
before you can make it work in the dashboard or shellinabox web service.
You should have something like "console=ttyS0,115200n8" in the kernel
parameters, and the parameters should match what's configured in the BIOS.

I'd suggest you to start diagnosing with ipmitool because it's the
underlying tool used by ironic, try ipmitool <address, port arguments> sol
activate, if you can't do anything there, you definity can't do anything
from socat/shellinabox.

On Fri, Nov 13, 2020 at 4:17 PM Ankele zhang <ankelezhang at gmail.com> wrote:

> Hello~ Wang
>
> Thanks for your email very much, you show me hope.
> There are some problems that need your help.
>
> My Ironic baremetal node's BIOS has enabled the SOL, and I have configure
> the baremetal node correctly guided by 'https://docs.openstack.org/rocky'
> and the result of the command line 'openstack baremetal node console' is
> ok, but the SOL page is still frozen. After that, I changed my
> enabled_console_interfaces from ipmitool-shellinabox to ipmitool-socat, and
> recreate my baremetal node and recreate my nova server, everything is the
> same as before, I got  a frozen SOL page in dashboard.
>
> I don't know why the docs of openstack.org is incomplete, or socat or
> shellinabox. Maybe you can give me some advice.
> Looking forward to your reply again!
>
>
>                                    Ankele
>
> Kaifeng Wang <kaifeng.w at gmail.com> 于2020年11月13日周五 上午12:04写道:
>
>> Hi,
>>
>> "SOL Session operational" is a BMC prompt, actually you have successfully
>> connected to it, before you can interact with the terminal, the Serial
>> Redirection (or something called that) needs to be enabled in the BIOS,
>> also make sure you have matching baud rate set to the bootloader for the
>> tty.
>>
>> P.S. SOL does not work for Windows systems.
>>
>> On Thu, Nov 12, 2020 at 11:05 PM Ankele zhang <ankelezhang at gmail.com>
>> wrote:
>>
>>> Hello~
>>>
>>>     I have a OpenStack platform( Rocky )  on CentOS7.6, and I installed
>>> Ironic components on it. I can manage bare metal node with Ironic and I
>>> plan to use shellinabox to manage the bare metal node remotely.
>>>     I had config conductor ironic.conf:
>>>         [DEFAULT]
>>>         ...
>>>         enabled_console_interfaces = ipmitool-shellinabox,no-console
>>>     I had config shellinabox:
>>>         USER=shellinabox
>>>         GROUP=shellinabox
>>>         CERTDIR=/var/lib/shellinabox
>>>         PORT=4200
>>>         OPTS="--disable-ssl-menu -s /:LOGIN"
>>>     My 'openstack baremetal node console show BM01':
>>>     console_enabled: True and console_info.url: http://192.168.3.84:8023
>>> [image: image.png]
>>>      Now, I can access https://192.168.3.84:4200 is OK, and I can log
>>> in and manage it.
>>>      But, when I access http://192.168.3.84:8023:
>>> [image: image.png]
>>> can not type anything into it.
>>>
>>> Look forward to hearing from you!
>>>
>>>
>>>                                       Ankele
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201113/4c219d72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 9088 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201113/4c219d72/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7799 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201113/4c219d72/attachment-0003.png>


More information about the openstack-discuss mailing list