-
Notifications
You must be signed in to change notification settings - Fork 288
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
Avoid failing on XVA import if the interface doesn't exists #6040
Comments
While this doesn't solve already-exported VMs, it's possible to create the XVAs without the device, and add the devices to them after importing, and finally starting the VMs. This exporting is done with the parameter See the PR that added this functionality for more details: #5544 Now that I think about this, it looks like we're missing documentation about it |
That's a workaround to deal with the export process, but if there's more and more users/companies using XVAs, they will hit a wall. IMHO, a good solution is not to block the import if the bridge is unknown (or even maybe do not try to create any VIF, I'm fine with it). This makes the import a lot safer regardless what config you have. edit: also, generating an XVA without VIF is indeed possible, it makes the initial configuration more complex, as you need to add a VIF after import, while maybe it will work out of the box on the default management interface if you keep the VIF all along. |
There is a workaround on import, as XAPI not only tries to select a But a way to map the XVA contents into available networks would be a much cleaner solution. |
Also it would be nice if |
Context
When you create an XVA to be distributed in the wild, the bridge value is saved in the XML inside the XVA. However, on destination, when importing the XVA, if the bridge doesn't exist, the entire import fails. For example, exporting with
<name>bridge</name><value>xapi1</value>
will trigger "INVALID_VALUE" about the bridge and will fail the import.Solution
XVA import should avoid failing for this reason, and assign it to to an available bridge, like
xapi0
or anything.The text was updated successfully, but these errors were encountered: