[Starlingx-discuss] Starlingx-discuss Digest, Vol 8, Issue 73

Chen, Haochuan Z haochuan.z.chen at intel.com
Tue Jan 22 07:43:31 UTC 2019


Hi Himanshu

You seems make "Dynamic IP address allocation" to N, in config_controller  for management network.

I have not tried static IP deployment. You can make such triage. 

$ system host-add -n compute-0 -p compute -m 00:1e:67:fd:3d:fe -i 192.168.204.3

BR!

Martin, Chen
SSG OTC, Software Engineer
021-61164330

-----Original Message-----
From: starlingx-discuss-request at lists.starlingx.io [mailto:starlingx-discuss-request at lists.starlingx.io] 
Sent: Tuesday, January 22, 2019 3:13 PM
To: starlingx-discuss at lists.starlingx.io
Subject: Starlingx-discuss Digest, Vol 8, Issue 73

Send Starlingx-discuss mailing list submissions to
	starlingx-discuss at lists.starlingx.io

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
or, via email, send a message with subject or body 'help' to
	starlingx-discuss-request at lists.starlingx.io

You can reach the person managing the list at
	starlingx-discuss-owner at lists.starlingx.io

When replying, please edit your Subject line so it is more specific than "Re: Contents of Starlingx-discuss digest..."


Today's Topics:

   1. Re: Deployment Option (Hu, Yong)


----------------------------------------------------------------------

Message: 1
Date: Tue, 22 Jan 2019 07:13:09 +0000
From: "Hu, Yong" <yong.hu at intel.com>
To: Himanshu Goyal <himanshugoyal500 at gmail.com>, "Alonso, Juan Carlos"
	<juan.carlos.alonso at intel.com>
Cc: "starlingx-discuss at lists.starlingx.io"
	<starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] Deployment Option
Message-ID: <673DA92A-9CAD-4EF5-A2FC-4EE22D897B9D at intel.com>
Content-Type: text/plain; charset="utf-8"

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.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Starlingx-discuss mailing list
Starlingx-discuss at lists.starlingx.io
http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss


------------------------------

End of Starlingx-discuss Digest, Vol 8, Issue 73
************************************************


More information about the Starlingx-discuss mailing list