Ask Your Question
0

Issue with baremetal node deployment

asked 2019-11-20 07:37:40 -0500

user_2019_10_18_20_02 gravatar image

Hello,

I am trying to deploy baremetal node with openstack-stein, I am following the openstack's ironic documentation for the same, right now when I try to validate the node I get the below error:

Below is the excerpt from /var/log/ironic/ironic-conductor.log which states the irror

2019-11-20 08:08:21.735 11730 ERROR ironic.conductor.manager Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-21af87e6-6509-4468-95e2-10312f66a825) 2019-11-20 08:08:21.735 11730 ERROR ironic.conductor.manager 2019-11-20 08:08:21.738 11730 DEBUG keystoneauth.identity.v3.base [req-0d8bd2b2-20f2-456e-a6b7-a945ccd21934 6443c4148093452bb4e7598e3c96ccf3 1ad4f11c25c049d98c6d66e117d55bdd - default default] Making authentication request to http://192.168.1.186:5000/v3/auth/tokens get_auth_ref /usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py:176 2019-11-20 08:08:22.079 11730 ERROR ironic.conductor.manager [req-0d8bd2b2-20f2-456e-a6b7-a945ccd21934 6443c4148093452bb4e7598e3c96ccf3 1ad4f11c25c049d98c6d66e117d55bdd - default default] Unexpected exception occurred while validating network driver interface for driver ipmi: The request you have made requires authentication. (HTTP 401) (Request-ID: req-71a58c8e-8be9-4a92-a2e3-a81c8621c297) on node 5442a620-9129-407b-ab1d-357f1d0478f9.: Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-71a58c8e-8be9-4a92-a2e3-a81c8621c297)

Somebody, please advice as I am stuck on this one for 2+ days now. Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2019-11-25 07:05:51 -0500

you are using ipmitool

Check before ruining introspection.

ipmitool -I lanplus -H 10.1.1.X -U root -P password

connection should established.

edit flag offensive delete link more

Comments

Hello Piyush, I had tested this command, the connection was not getting established. The other end is a IBM server pc (x3100 M4 type 2582) with IMM-2, I have configured static ip (10.0.0.6) in the bios for ipmi access. Not even able to ping this IP, the server pc has power and lan is connected.

user_2019_10_18_20_02 gravatar imageuser_2019_10_18_20_02 ( 2019-11-25 08:02:25 -0500 )edit

10.0.0.6 should should work. Check for switch configuration.

As you mentioned below you are going via packstack installation. why u want ironic installation
you can go ahead with installing OS manually and configure IP.

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-11-26 01:20:02 -0500 )edit

Got, the ipmi part to work, the lan cable was broken. The original issue still remains (authentication) "Unexpected exception occurred while validating deploy driver interface for driver ipmi"

user_2019_10_18_20_02 gravatar imageuser_2019_10_18_20_02 ( 2019-11-26 04:55:33 -0500 )edit

My controller node is on one pc, through this node I am trying to deploy baremetal servers.

user_2019_10_18_20_02 gravatar imageuser_2019_10_18_20_02 ( 2019-11-26 04:57:19 -0500 )edit
0

answered 2019-11-22 10:30:23 -0500

double check the instackenv.json file used for introspection. It should have the right bmc username and passwd. Also, in undercloud.conf, look for enabled_drivers and verify you have got the right ones.

edit flag offensive delete link more

Comments

Hello Rohit,

I have not used the triple o project to install Ironic, Instead I have used packstack with ironic installation and later followed the ironic installation guide on top of it from openstack website (https://docs.openstack.org/ironic/latest/install/install-rdo.html (https://docs.openstack.org/ironic/lat...)) please let me know

user_2019_10_18_20_02 gravatar imageuser_2019_10_18_20_02 ( 2019-11-25 05:21:38 -0500 )edit

Resolved it, need to set proper credentials in ironic.conf->[service_catalogue] section. Thanks

user_2019_10_18_20_02 gravatar imageuser_2019_10_18_20_02 ( 2019-11-29 06:19:46 -0500 )edit

Nice. As long as it works :)

rohitmahadevan gravatar imagerohitmahadevan ( 2019-12-02 15:57:17 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2019-11-20 07:37:40 -0500

Seen: 118 times

Last updated: Nov 25 '19