Comment 3 for bug 1893135

Revision history for this message
Vladimir Grevtsev (vlgrevtsev) wrote : Re: [2.8] interface link-subnet fails saying "subnet": "None found", however the subnet exists

So that's what was happening before:

2020-08-26-21:36:44 root INFO Setting up networking on '64fxmx'
2020-08-26-21:36:44 root DEBUG [localhost]: maas root machine restore-networking-configuration 64fxmx
2020-08-26-21:36:47 root DEBUG [localhost]: maas root machine read 64fxmx
2020-08-26-21:36:50 root DEBUG [localhost]: maas root interface unlink-subnet 64fxmx 50 id=38
2020-08-26-21:36:52 root DEBUG [localhost]: maas root machine details 64fxmx
2020-08-26-21:36:53 root DEBUG [localhost]: maas root interface update 64fxmx 50 name=eno1 vlan=5019
2020-08-26-21:36:55 root INFO Setting up interface 'eno1' (physical) on on '64fxmx'
2020-08-26-21:36:55 root DEBUG [localhost]: maas root interface update 64fxmx 51 name=eno2 vlan=5019
2020-08-26-21:36:57 root INFO Setting up interface 'eno2' (physical) on on '64fxmx'
2020-08-26-21:36:57 root DEBUG [localhost]: maas root interface update 64fxmx 52 name=eno3 vlan=5019
2020-08-26-21:36:58 root INFO Setting up interface 'eno3' (physical) on on '64fxmx'
2020-08-26-21:36:58 root DEBUG [localhost]: maas root interface update 64fxmx 53 name=eno4 vlan=5019
2020-08-26-21:37:00 root INFO Setting up interface 'eno4' (physical) on on '64fxmx'
2020-08-26-21:37:00 root DEBUG [localhost]: maas root interface update 64fxmx 54 name=enp175s0f0 vlan=5019
2020-08-26-21:37:01 root INFO Setting up interface 'enp175s0f0' (physical) on on '64fxmx'
2020-08-26-21:37:01 root DEBUG [localhost]: maas root interface update 64fxmx 55 name=enp175s0f1 vlan=5019
2020-08-26-21:37:03 root INFO Setting up interface 'enp175s0f1' (physical) on on '64fxmx'
2020-08-26-21:37:03 root DEBUG [localhost]: maas root interfaces create-bond 64fxmx parents=50 parents=52 mtu=1500 name=bondM vlan=5019 bond_downdelay=0 bond_lacp_rate=fast bond_miimon=100 bond_mode=802.3ad bond_xmit_hash_policy=layer3+4 mac_address=3c:ec:ef:19:eb:3e
2020-08-26-21:37:04 root INFO Setting up interface 'bondM' (bond) on on '64fxmx'
2020-08-26-21:37:04 root DEBUG [localhost]: maas root interface link-subnet 64fxmx 57 subnet=1 mode=auto default_gateway=True
2020-08-26-21:37:06 root ERROR [localhost] Command failed: maas root interface link-subnet 64fxmx 57 subnet=1 mode=auto default_gateway=True

Indeed VLAN 5019 was used instead of 5001 (which is expected), need to understand how it come... but in scope of this bug, probably, we should not say "None found" as this is confusing at least.