[Starlingx-discuss] Deployment Option
Hu, Yong
yong.hu at intel.com
Tue Jan 22 07:13:09 UTC 2019
Himanshu,
Could you have a try with a hub which 2 mgt ports (from controller and compute) are plugged into?
Let’s assure the normal setup works first, and then figure out why the direct linkage of cable doesn’t work.
BTW: “worker” and “compute” are just different “personality” names in different STX version.
On your current setup “compute” will do, supposedly.
From: Himanshu Goyal <himanshugoyal500 at gmail.com>
Date: Tuesday, 22 January 2019 at 12:32 AM
To: "Alonso, Juan Carlos" <juan.carlos.alonso at intel.com>
Cc: "Hu, Yong" <yong.hu at intel.com>, "starlingx-discuss at lists.starlingx.io" <starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Deployment Option
Thanks Juan ,Yong
I tried both the commands output shows as below:
1) [wrsroot at controller-0 ~(keystone_admin)]$ system host-add -n compute-0 -p worker -m 00:1e:67:fd:3d:fe
usage: system host-add [-n <hostname>] [-p <personality>] [-s <subfunctions>]
[-m <mgmt_mac>] [-i <mgmt_ip>] [-I <bm_ip>]
[-T <bm_type>] [-U <bm_username>] [-P <bm_password>]
[-b <boot_device>] [-r <rootfs_device>]
[-o <install_output>] [-c <console>]
[-v <vsc_controllers>] [-l <location>]
[-D <true/false>]
system host-add: error: argument -p/--personality: invalid choice: 'worker' (choose from 'controller', 'compute', 'storage', 'network', 'profile')
[wrsroot at controller-0 ~(keystone_admin)]$
[wrsroot at controller-0 ~(keystone_admin)]$
2) [wrsroot at controller-0 ~(keystone_admin)]$ system host-add -n compute-0 -p compute -m 00:1e:67:fd:3d:fe
Host-add Rejected: Cannot add a compute host without specifying a mgmt_ip when static address allocation is configured.
[wrsroot at controller-0 ~(keystone_admin)]$
Regards,
Himanshu Goyal
On Mon, Jan 21, 2019 at 8:42 PM Alonso, Juan Carlos <juan.carlos.alonso at intel.com<mailto:juan.carlos.alonso at intel.com>> wrote:
Hi,
The personality of computes changed to “worker”, so the command should be:
system host-add -n compute-0 -p worker -m ${mac_address}
Regards.
Juan Carlos Alonso
From: Hu, Yong
Sent: Monday, January 21, 2019 8:51 AM
To: Himanshu Goyal <himanshugoyal500 at gmail.com<mailto:himanshugoyal500 at gmail.com>>; Alonso, Juan Carlos <juan.carlos.alonso at intel.com<mailto:juan.carlos.alonso at intel.com>>
Cc: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Deployment Option
Hi Himanshu,
“system host-list” doesn’t “see” your compute node and LLDP won’t work,
because the mgt port on compute node directly connects to mgt port on controller-0 (rather than both connecting to a hub).
Anyway, given you know the MAC of mgt port on compute node, you can have a try to run the following cmd:
# system host-add -n compute-0 -p compute -m <compute_node_mgt_port_mac>
Regards,
yong
From: Himanshu Goyal <himanshugoyal500 at gmail.com<mailto:himanshugoyal500 at gmail.com>>
Date: Monday, 21 January 2019 at 8:14 PM
To: "Alonso, Juan Carlos" <juan.carlos.alonso at intel.com<mailto:juan.carlos.alonso at intel.com>>
Cc: "starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>" <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>
Subject: Re: [Starlingx-discuss] Deployment Option
Thanks Juan,
Able to unlock my controller node. But facing Issue in PXE boot of compute node. After unlocking of controller machine not able to see compute host in "system host-list" command.
my controller machine is directly connected to compute machine.
I'm following the below steps
Steps:
1) system host-unlock controller-0
2) system host-list
Output::
[wrsroot at controller-0 ~(keystone_admin)]$ system host-list
+----+--------------+-------------+----------------+-------------+--------------+
| id | hostname | personality | administrative | operational | availability |
+----+--------------+-------------+----------------+-------------+--------------+
| 1 | controller-0 | controller | unlocked | enabled | available |
+----+--------------+-------------+----------------+-------------+--------------+
3) power on my compute machine. And give option to boot from PXE
my compute machine is directly connected with controller with mgmt port.
But not able to see host in "system host-list".
4) i tried with system host-add command also, but it is giving below error:
Error:
[wrsroot at controller-0 ~(keystone_admin)]$ system host-add
Host-add Rejected: Cannot add a compute host without specifying a mgmt_ip when static address allocation is configured.
Please suggest me the needful change.
Regards,
Himanshu Goyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190122/5df9c37e/attachment-0001.html>
More information about the Starlingx-discuss
mailing list