ManageIQ / manageiq

ManageIQ Open-Source Management Platform
https://manageiq.org
Apache License 2.0
1.34k stars 898 forks source link

oparin-1.1 Azure Install contains no routes #22315

Closed fellka closed 1 year ago

fellka commented 1 year ago

I'm seeing the /proc/net/route contains no routes error after provisioning the appliance. I can't SSH or login to the VM via the serial console either.

Steps taken: Upload the VHD file to a storage account Create Linux Gen1 image using VHD Create VM from image

Initial appliance boot from the Azure serial console:

Welcome to the  Virtual Appliance.

You can browse to http:/// or http://localhost.localdomain/

CentOS Stream 8
Kernel 4.18.0-408.el8.x86_64 on an x86_64
Web console: https://localhost:9090/

localhost login: 2023-01-18T17:05:32.034469Z INFO Daemon Daemon dd successful
2023-01-18T17:05:50.975335Z INFO Daemon Daemon Enabled 10485760KB of swap at /mnt/resource/swapfile
2023-01-18T17:05:50.979843Z INFO Daemon Daemon Clean protocol and wireserver endpoint
2023-01-18T17:05:50.983252Z INFO Daemon Daemon Running default provisioning handler
2023-01-18T17:05:50.995127Z INFO Daemon Daemon Unable to get cloud-init enabled status from systemctl: Command '['systemctl', 'is-enabled', 'cloud-init-local.service']' returned non-zero exit status 1.
2023-01-18T17:05:51.023170Z INFO Daemon Daemon Unable to get cloud-init enabled status from service: Command '['service', 'cloud-init', 'status']' returned non-zero exit status 4.
2023-01-18T17:05:51.023699Z INFO Daemon Daemon cloud-init is enabled: False
2023-01-18T17:05:51.024548Z INFO Daemon Daemon Copying ovf-env.xml
2023-01-18T17:05:51.098571Z INFO Daemon Daemon Successfully mounted dvd
2023-01-18T17:05:51.138781Z INFO Daemon Daemon Detect protocol endpoint
2023-01-18T17:05:51.139155Z INFO Daemon Daemon Clean protocol and wireserver endpoint
2023-01-18T17:05:51.140099Z INFO Daemon Daemon WireServer endpoint is not found. Rerun dhcp handler
2023-01-18T17:05:51.141185Z INFO Daemon Daemon Test for route to 168.63.129.16
2023-01-18T17:05:51.142241Z WARNING Daemon Daemon No route exists to 168.63.129.16
2023-01-18T17:05:51.143011Z INFO Daemon Daemon Checking for dhcp lease cache
2023-01-18T17:05:51.144378Z INFO Daemon Daemon looking for leases in path [/var/lib/dhclient/dhclient-*.lease]
2023-01-18T17:05:51.145421Z INFO Daemon Daemon cached endpoint not found
2023-01-18T17:05:51.146323Z INFO Daemon Daemon looking for leases in path [/var/lib/NetworkManager/dhclient-*.lease]
2023-01-18T17:05:51.147208Z INFO Daemon Daemon cached endpoint not found
2023-01-18T17:05:51.147943Z INFO Daemon Daemon Cache exists [False]
2023-01-18T17:05:51.148961Z INFO Daemon Daemon Send dhcp request
2023-01-18T17:05:51.149799Z INFO Daemon Daemon Examine /proc/net/route for primary interface
2023-01-18T17:05:51.150290Z ERROR Daemon Daemon /proc/net/route contains no routes
2023-01-18T17:05:51.151166Z WARNING Daemon Daemon Could not determine primary interface, please ensure /proc/net/route is correct
2023-01-18T17:05:51.151943Z WARNING Daemon Daemon Contents of /proc/net/route:
Iface   Destination     Gateway         Flags   RefCnt  Use     Metric  Mask            MTU     Window  IRTT                                                       

2023-01-18T17:05:51.152762Z WARNING Daemon Daemon Primary interface examination will retry silently
2023-01-18T17:05:53.192950Z ERROR Daemon Daemon /proc/net/route contains no routes
2023-01-18T17:05:55.202125Z ERROR Daemon Daemon /proc/net/route contains no routes
2023-01-18T17:05:57.211704Z ERROR Daemon Daemon /proc/net/route contains no routes
Fryguy commented 1 year ago

Seems like the VM is not connected to a network?

@bdunne @agrare Have you tried Azure and seen this?

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

miq-bot commented 1 year ago

This issue has been automatically closed because it has not been updated for at least 3 months.

Feel free to reopen this issue if this issue is still valid.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.