sunbeam configure allows invalid interface name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
New
|
Undecided
|
Unassigned |
Bug Description
When installing sunbeam I have given an non-existing interface name as the OVN network interface in the manifest file, and later I got the error:
09:46:29 > Applying local hypervisor settings ... setting hypervisor configuration for sunbeam11.mydomain
09:46:33 An unexpected error has occurred. Please run 'sunbeam inspect' to generate an inspection report.
09:46:33 Error: {'return-code': 1, 'stderr': 'error: snap "openstack-
09:46:33 DEBUG: execute return code is 1
Seems like this should be caught at the beginning (a check for the interface name should be done when processing the manifest or interactively asking for the interface name) to avoid this error much later in the process.