-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unable to find a system nic" if openstack lists down ports in json config #3920
Comments
Launchpad user Chad Smith(chad.smith) wrote on 2021-11-01T15:07:43.387268+00:00 Thanks for filing the bug Julian. Could you also please attach the tarfile from |
Launchpad user Julian Andres Klode(juliank) wrote on 2021-11-01T15:17:00.825045+00:00 I unfortunately cannot SSH into the machine without having the network setup first, chicken and egg problem. But it's probably similar to the above. In any case, there should be two devices sent, and it should not hard early error out just because it can't find one of them. |
Launchpad user Julian Andres Klode(juliank) wrote on 2021-11-01T15:45:33.518797+00:00 Presumably it should log the error instead of raising it, and then at the end, before writing the config delete any items without a name. |
Launchpad user Chad Smith(chad.smith) wrote on 2021-11-01T17:09:50.674881+00:00 The problem is that cloud-init is being told there should be two devices associated with this instance, and it isn't being told that one of them is optional for boot. We might need to tease out why that is the case in this deployment |
Launchpad user Launchpad Janitor(janitor) wrote on 2022-01-08T04:17:17.480419+00:00 [Expired for cloud-init because there has been no activity for 60 days.] |
This bug was originally filed in Launchpad as LP: #1949371
Launchpad details
Launchpad user Julian Andres Klode(juliank) wrote on 2021-11-01T14:43:59.359831+00:00
We see most ppc64el machines fail to acquire network IPs on scalingstack with errors like
ValueError: Unable to find a system nic for {'mtu': 1458, 'type': 'physical', 'subnets': [{'type': 'dhcp4'}], 'mac_address': 'fa:16:3e:6d:95:51'}
In those cases, openstack generated two networks, but only one device is actually present in the VM.
ubuntu@juju-4d1272-prod-proposed-migration-9:
$ openstack console log show jak-s390x-impish | grep fa:16$ openstack port list --server jak-s390x-impish[ 7.113131] cloud-init[439]: ValueError: Unable to find a system nic for {'mtu': 1458, 'type': 'physical', 'subnets': [{'type': 'dhcp4'}], 'mac_address': 'fa:16:3e:a4:29:ce'}
[ 7.681157] cloud-init[464]: ci-info: | enp0s1 | False | . | . | . | fa:16:3e:c1:f9:61 |
[ 7.761093] cloud-init[464]: ValueError: Unable to find a system nic for {'mtu': 1458, 'type': 'physical', 'subnets': [{'type': 'dhcp4'}], 'mac_address': 'fa:16:3e:a4:29:ce'}
ubuntu@juju-4d1272-prod-proposed-migration-9:
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| ID | Name | MAC Address | Fixed IP Addresses | Status |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
| 7c68497d-348a-4438-99df-4a7bd31734df | | fa:16:3e:a4:29:ce | ip_address='10.44.124.6', subnet_id='694adc9c-c852-4654-937f-b2438a1bad23' | DOWN |
| ec5f644c-6151-4ad9-bd09-7908e8956faa | | fa:16:3e:c1:f9:61 | ip_address='10.44.124.73', subnet_id='694adc9c-c852-4654-937f-b2438a1bad23' | ACTIVE |
+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------+--------+
cloud-init must not abort here, but continue configuring the active network device.
The text was updated successfully, but these errors were encountered: