Your error is referring to the management interface, but you’ve included your oam interface config for reference.
From: Babu R <babu.r@hotmail.com>
Sent: Thursday, April 15, 2021 3:40 AM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Error while installing simplex virtual AIO-SX
[Please note: This e-mail is from an EXTERNAL e-mail address]
I’m getting error while trying to install the virtual AIO-SX. I have installed the ansible playbook
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
Ran these commands
source /etc/platform/openrc
OAM_IF=enp2s1
system host-if-modify controller-0 $OAM_IF -c platform
system interface-network-assign controller-0 $OAM_IF oam
system ntp-modify ntpservers=0.pool.ntp.org,1.pool.ntp.org
[root@localhost ~(keystone_admin)]# system host-unlock controller-0
Cannot unlock host controller-0 when management interface is configured on a virtual interface
$OAM_IF oamost ~(keystone_admin)]# system interface-network-assign controller-0
+--------------+--------------------------------------+
| Property | Value |
+--------------+--------------------------------------+
| hostname | controller-0 |
| uuid | da172ef6-6e46-4ca2-a81f-93d482e79814 |
| ifname | enp2s1 |
| network_name | oam |
+--------------+--------------------------------------+
enp2s1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.3 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::5054:ff:fe1f:51fb prefixlen 64 scopeid 0x20<link>
ether 52:54:00:1f:51:fb txqueuelen 1000 (Ethernet)
RX packets 1328682 bytes 1981399747 (1.8 GiB)
RX errors 444 dropped 0 overruns 0 frame 444
TX packets 399465 bytes 28981363 (27.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp2s2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5054:ff:fe30:f2cb prefixlen 64 scopeid 0x20<link>
ether 52:54:00:30:f2:cb txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 517 bytes 161254 (157.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5054:ff:fe0d:8c00 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:0d:8c:00 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 544 bytes 158549 (154.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1001: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5054:ff:fe91:cf78 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:91:cf:78 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 507 bytes 158767 (155.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Any inputs on how to resolve this?
Thanks,
Babu