[Starlingx-discuss] ansible deployment for duplex/standard
Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use "config_controller --force" everything's ok. Am I doing anything wrong with the yml file? There's no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
On controller-0 you need to delete the loopback interface and then configure the other nets on ctrl-0 with something like: system host-if-modify controller-0 lo -c none system host-if-modify controller-0 enp0s3 -c platform --networks oam system host-if-modify controller-0 enp0s8 -c platform --networks mgmt system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host system host-addr-list controller-0 The rest of the process is identical on the other nodes. Ovidiu ________________________________ From: Chen, Yan [yan.chen@intel.com] Sent: Wednesday, May 22, 2019 10:12 AM To: starlingx-discuss@lists.starlingx.io Subject: [Starlingx-discuss] ansible deployment for duplex/standard Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use “config_controller --force" everything’s ok. Am I doing anything wrong with the yml file? There’s no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
Thanks! I will try. Yan From: Poncea, Ovidiu [mailto:Ovidiu.Poncea@windriver.com] Sent: Thursday, May 23, 2019 18:21 To: Chen, Yan <yan.chen@intel.com>; starlingx-discuss@lists.starlingx.io Subject: RE: ansible deployment for duplex/standard On controller-0 you need to delete the loopback interface and then configure the other nets on ctrl-0 with something like: system host-if-modify controller-0 lo -c none system host-if-modify controller-0 enp0s3 -c platform --networks oam system host-if-modify controller-0 enp0s8 -c platform --networks mgmt system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host system host-addr-list controller-0 The rest of the process is identical on the other nodes. Ovidiu ________________________________ From: Chen, Yan [yan.chen@intel.com] Sent: Wednesday, May 22, 2019 10:12 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: [Starlingx-discuss] ansible deployment for duplex/standard Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use "config_controller --force" everything's ok. Am I doing anything wrong with the yml file? There's no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
I tried to config oam/mgmt. for duplex/standard after ansible, and the controller1 and other nodes can be installed now. But we still met issue when doing "system application-upload" because we have to use private registry in SH, but private registry is not successfully configed by ansible, please check this LP: https://bugs.launchpad.net/starlingx/+bug/1830319 Thanks! Yan From: Chen, Yan [mailto:yan.chen@intel.com] Sent: Friday, May 24, 2019 10:32 To: Poncea, Ovidiu <Ovidiu.Poncea@windriver.com>; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] ansible deployment for duplex/standard Thanks! I will try. Yan From: Poncea, Ovidiu [mailto:Ovidiu.Poncea@windriver.com] Sent: Thursday, May 23, 2019 18:21 To: Chen, Yan <yan.chen@intel.com<mailto:yan.chen@intel.com>>; starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: ansible deployment for duplex/standard On controller-0 you need to delete the loopback interface and then configure the other nets on ctrl-0 with something like: system host-if-modify controller-0 lo -c none system host-if-modify controller-0 enp0s3 -c platform --networks oam system host-if-modify controller-0 enp0s8 -c platform --networks mgmt system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host system host-addr-list controller-0 The rest of the process is identical on the other nodes. Ovidiu ________________________________ From: Chen, Yan [yan.chen@intel.com] Sent: Wednesday, May 22, 2019 10:12 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: [Starlingx-discuss] ansible deployment for duplex/standard Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use "config_controller --force" everything's ok. Am I doing anything wrong with the yml file? There's no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
Hi Yan, The instructions are on the Standard installation wiki. Please include your config settings in the LP (i.e. content of your localhost.yml). The one in the original email below does not specify a private registry. I will assist you with this issue. Let's set up a zoom session. Tee From: Chen, Yan [mailto:yan.chen@intel.com] Sent: May-24-19 1:40 AM To: Chen, Yan; Poncea, Ovidiu; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] ansible deployment for duplex/standard I tried to config oam/mgmt. for duplex/standard after ansible, and the controller1 and other nodes can be installed now. But we still met issue when doing "system application-upload" because we have to use private registry in SH, but private registry is not successfully configed by ansible, please check this LP: https://bugs.launchpad.net/starlingx/+bug/1830319 Thanks! Yan From: Chen, Yan [mailto:yan.chen@intel.com] Sent: Friday, May 24, 2019 10:32 To: Poncea, Ovidiu <Ovidiu.Poncea@windriver.com>; starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] ansible deployment for duplex/standard Thanks! I will try. Yan From: Poncea, Ovidiu [mailto:Ovidiu.Poncea@windriver.com] Sent: Thursday, May 23, 2019 18:21 To: Chen, Yan <yan.chen@intel.com<mailto:yan.chen@intel.com>>; starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: ansible deployment for duplex/standard On controller-0 you need to delete the loopback interface and then configure the other nets on ctrl-0 with something like: system host-if-modify controller-0 lo -c none system host-if-modify controller-0 enp0s3 -c platform --networks oam system host-if-modify controller-0 enp0s8 -c platform --networks mgmt system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host system host-addr-list controller-0 The rest of the process is identical on the other nodes. Ovidiu ________________________________ From: Chen, Yan [yan.chen@intel.com] Sent: Wednesday, May 22, 2019 10:12 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: [Starlingx-discuss] ansible deployment for duplex/standard Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use "config_controller --force" everything's ok. Am I doing anything wrong with the yml file? There's no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
Hi Tee, I see the instructions on wiki page now. And I also added my localhost.yml on the LP. I can successfully ping our local servers before I do ansible. Also paste it here: My localhost.yml content is as below, we are running with a local dns and a local registry: --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 admin_username: admin admin_password: Local.123 dns_servers: - 10.248.2.1 docker_registries: - 10.239.40.221:5000 is_secure_registry: False Yan From: Ngo, Tee [mailto:Tee.Ngo@windriver.com] Sent: Monday, May 27, 2019 07:25 To: Chen, Yan <yan.chen@intel.com>; Poncea, Ovidiu <Ovidiu.Poncea@windriver.com>; starlingx-discuss@lists.starlingx.io Subject: RE: ansible deployment for duplex/standard Hi Yan, The instructions are on the Standard installation wiki. Please include your config settings in the LP (i.e. content of your localhost.yml). The one in the original email below does not specify a private registry. I will assist you with this issue. Let's set up a zoom session. Tee From: Chen, Yan [mailto:yan.chen@intel.com] Sent: May-24-19 1:40 AM To: Chen, Yan; Poncea, Ovidiu; starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] ansible deployment for duplex/standard I tried to config oam/mgmt. for duplex/standard after ansible, and the controller1 and other nodes can be installed now. But we still met issue when doing "system application-upload" because we have to use private registry in SH, but private registry is not successfully configed by ansible, please check this LP: https://bugs.launchpad.net/starlingx/+bug/1830319 Thanks! Yan From: Chen, Yan [mailto:yan.chen@intel.com] Sent: Friday, May 24, 2019 10:32 To: Poncea, Ovidiu <Ovidiu.Poncea@windriver.com<mailto:Ovidiu.Poncea@windriver.com>>; starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: Re: [Starlingx-discuss] ansible deployment for duplex/standard Thanks! I will try. Yan From: Poncea, Ovidiu [mailto:Ovidiu.Poncea@windriver.com] Sent: Thursday, May 23, 2019 18:21 To: Chen, Yan <yan.chen@intel.com<mailto:yan.chen@intel.com>>; starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: RE: ansible deployment for duplex/standard On controller-0 you need to delete the loopback interface and then configure the other nets on ctrl-0 with something like: system host-if-modify controller-0 lo -c none system host-if-modify controller-0 enp0s3 -c platform --networks oam system host-if-modify controller-0 enp0s8 -c platform --networks mgmt system host-if-modify controller-0 enp0s8 -c platform --networks cluster-host system host-addr-list controller-0 The rest of the process is identical on the other nodes. Ovidiu ________________________________ From: Chen, Yan [yan.chen@intel.com] Sent: Wednesday, May 22, 2019 10:12 AM To: starlingx-discuss@lists.starlingx.io<mailto:starlingx-discuss@lists.starlingx.io> Subject: [Starlingx-discuss] ansible deployment for duplex/standard Hi I wonder if anyone can help me on the ansible deployment for duplex/standard. I installed ISO (about 0519) on vms and run ansible with my yml file as below, but the 2nd controller failed to be installed via pxe. After checked controller0, I found that mgmt network is configured to lo. But use "config_controller --force" everything's ok. Am I doing anything wrong with the yml file? There's no instruction on WIKI for duplex + ansible yet. (?) --- system_mode: duplex management_subnet: 192.178.204.0/28 external_oam_subnet: 10.10.10.0/24 external_oam_gateway_address: 10.10.10.1 external_oam_floating_address: 10.10.10.2 external_oam_node_0_address: 10.10.10.3 external_oam_node_1_address: 10.10.10.4 Yan
participants (3)
-
Chen, Yan
-
Ngo, Tee
-
Poncea, Ovidiu