unable to unlock controller-0 in virtual environment using libvirt
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps. OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam [sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$ am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek [sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps.
OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$
am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek
[sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever Hi All, Please advise me how to proceed with this simplex-aio-controller
On 2024-05-20 17:13, vivekanandan.rajendran.devops@tag.ooo wrote: libvirtd install. Thanks -Vivek
On 2024-05-20 18:18, vivekanandan.rajendran.devops@tag.ooo wrote:
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps.
OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$
am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek
[sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever Hi All, Please advise me how to proceed with this simplex-aio-controller
On 2024-05-20 17:13, vivekanandan.rajendran.devops@tag.ooo wrote: libvirtd install. Thanks -Vivek Hi , I think i did not put system_mode: simplex in default.yml Thanks -Vivek
On 2024-05-20 19:47, vivekanandan.rajendran.devops@tag.ooo wrote:
On 2024-05-20 18:18, vivekanandan.rajendran.devops@tag.ooo wrote:
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps.
OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$
am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek
[sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever Hi All, Please advise me how to proceed with this simplex-aio-controller
On 2024-05-20 17:13, vivekanandan.rajendran.devops@tag.ooo wrote: libvirtd install. Thanks -Vivek Hi , I think i did not put system_mode: simplex in default.yml Thanks -Vivek I have made this as simplex still its showing duplex
+----------------------+--------------------------------------+ | Property | Value | +----------------------+--------------------------------------+ | contact | None | | created_at | 2024-05-20T20:05:28.358244+00:00 | | description | None | | https_enabled | False | | latitude | None | | location | None | | longitude | None | | name | a825dad3-1091-4e2d-b14f-5f893c144239 | | region_name | RegionOne | | sdn_enabled | False | | security_feature | spectre_meltdown_v1 | | service_project_name | services | | software_version | 24.03 | | system_mode | duplex | | system_type | Standard | | timezone | UTC | | updated_at | 2024-05-20T20:06:00.589379+00:00 | | uuid | 37d64366-c546-45ed-8fa9-4bd2fab0c011 | | vswitch_type | none | +----------------------+--------------------------------------+ [sysadmin@localhost ~(keystone_admin)]$ Can anyone please help? Thanks -Vivek
________________________________ From: vivekanandan.rajendran.devops@tag.ooo <vivekanandan.rajendran.devops@tag.ooo> Sent: 20 May 2024 4:35 PM To: Starlingx Discuss <starlingx-discuss@lists.starlingx.io> Subject: Re: unable to unlock controller-0 in virtual environment using libvirt CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On 2024-05-20 19:47, vivekanandan.rajendran.devops@tag.ooo wrote:
On 2024-05-20 18:18, vivekanandan.rajendran.devops@tag.ooo wrote:
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps.
OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$
am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek
[sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever Hi All, Please advise me how to proceed with this simplex-aio-controller
On 2024-05-20 17:13, vivekanandan.rajendran.devops@tag.ooo wrote: libvirtd install. Thanks -Vivek Hi , I think i did not put system_mode: simplex in default.yml Thanks -Vivek I have made this as simplex still its showing duplex
[MT] There is a boot menu on the ISO, which will default to standard/duplex install if you do not select anything within 10 seconds. When working with the libvirt tools you should be able to attach to the console before the timeout. Then you can select the AIO option. Either destroy the configuration and repeat setup_configuration.sh, or use 'sudo wipedisk' command on the incorrectly installed cluster and then edit the domain xml to boot from ISO 'virsh edit $domain' M +----------------------+--------------------------------------+ | Property | Value | +----------------------+--------------------------------------+ | contact | None | | created_at | 2024-05-20T20:05:28.358244+00:00 | | description | None | | https_enabled | False | | latitude | None | | location | None | | longitude | None | | name | a825dad3-1091-4e2d-b14f-5f893c144239 | | region_name | RegionOne | | sdn_enabled | False | | security_feature | spectre_meltdown_v1 | | service_project_name | services | | software_version | 24.03 | | system_mode | duplex | | system_type | Standard | | timezone | UTC | | updated_at | 2024-05-20T20:06:00.589379+00:00 | | uuid | 37d64366-c546-45ed-8fa9-4bd2fab0c011 | | vswitch_type | none | +----------------------+--------------------------------------+ [sysadmin@localhost ~(keystone_admin)]$ Can anyone please help? Thanks -Vivek
I dont believe currently you can revert from duplex to simplex mode by simply changing the value I also dont see a way to re-initialize the stack after its been done once, so im afraid your going to have to reinstall, meaning tear down the existing VMs and redeploy the stack fully making sure you are specifying simplex mode in the localhost file. On Tue, May 21, 2024 at 3:36 AM <vivekanandan.rajendran.devops@tag.ooo> wrote:
On 2024-05-20 19:47, vivekanandan.rajendran.devops@tag.ooo wrote:
On 2024-05-20 18:18, vivekanandan.rajendran.devops@tag.ooo wrote:
Hi, I am unable to unlock controller-0 after doing the ansible playbook and following the steps.
OAM_IF=enp2s1 system host-if-modify controller-0 $OAM_IF -c platform system interface-network-assign controller-0 $OAM_IF oam
[sysadmin@localhost ~(keystone_admin)]$ system host-unlock controller-0 Cannot unlock host controller-0 when management interface is configured on a virtual interface. [sysadmin@localhost ~(keystone_admin)]$
am I doing something wrong , following are interfaces. which one I have to assign correctly. Please advise me. Thanks -Vivek
[sysadmin@localhost ~(keystone_admin)]$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.2/24 brd 192.168.204.255 scope host lo:1 valid_lft forever preferred_lft forever inet 192.168.206.2/24 brd 192.168.206.255 scope host lo:5 valid_lft forever preferred_lft forever inet 169.254.202.1/24 scope host lo valid_lft forever preferred_lft forever inet 192.168.204.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet 192.168.206.1/24 scope host secondary lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:7e:37:6c brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe7e:376c/64 scope link valid_lft forever preferred_lft forever 3: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:42:87:a0 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe42:87a0/64 scope link valid_lft forever preferred_lft forever 4: enp2s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:4b:d8:f6 brd ff:ff:ff:ff:ff:ff inet 10.10.10.2/24 scope global enp2s1 valid_lft forever preferred_lft forever inet6 fe80::5054:ff:fe4b:d8f6/64 scope link valid_lft forever preferred_lft forever 5: enp2s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:69:38:80 brd ff:ff:ff:ff:ff:ff inet6 fe80::5054:ff:fe69:3880/64 scope link valid_lft forever preferred_lft forever Hi All, Please advise me how to proceed with this simplex-aio-controller
On 2024-05-20 17:13, vivekanandan.rajendran.devops@tag.ooo wrote: libvirtd install. Thanks -Vivek Hi , I think i did not put system_mode: simplex in default.yml Thanks -Vivek I have made this as simplex still its showing duplex
+----------------------+--------------------------------------+ | Property | Value | +----------------------+--------------------------------------+ | contact | None | | created_at | 2024-05-20T20:05:28.358244+00:00 | | description | None | | https_enabled | False | | latitude | None | | location | None | | longitude | None | | name | a825dad3-1091-4e2d-b14f-5f893c144239 | | region_name | RegionOne | | sdn_enabled | False | | security_feature | spectre_meltdown_v1 | | service_project_name | services | | software_version | 24.03 | | system_mode | duplex | | system_type | Standard | | timezone | UTC | | updated_at | 2024-05-20T20:06:00.589379+00:00 | | uuid | 37d64366-c546-45ed-8fa9-4bd2fab0c011 | | vswitch_type | none | +----------------------+--------------------------------------+ [sysadmin@localhost ~(keystone_admin)]$
Can anyone please help? Thanks -Vivek
participants (3)
-
Outback Dingo
-
Thebeau, Michel
-
vivekanandan.rajendran.devops@tag.ooo