Adapted from: Navaneeth original contribution
Edited by: VIRL Support
Due to a naming convention change in Ostinato Drone image, performing a full system upgrade or update, the Ostinato drone image may be deleted. The Ostinato image may also be removed when the user performs an individual update of the "lxc_ostinato" image from the installed version "0.8.1" to the reported available version "0.8".
Affected VIRL releases
Open UWM and navigate to VIRL Server > VIRL Software and scroll to LXC Image Upgrades -- If you have hit this defect, the following will be reported:
Due to the naming change, the upgraded Ostinato image is not correctly mapped and VIRL server returns "image unavailable".
When starting a simulation with an Ostinato node, VM Maestro may report the following error:
The current workaround is still valid and simple to implement. There are three main steps:
- Create new Subtype
- Ensure current image version is installed
- Map Ostinato image to subtype using VM Maestro
Open UWM and login:
Create Subtype for Ostinato Drone
- Expand Node Resources
- Click Subtypes
- Click Specialize icon
Change Name of plugin to
lxc-ostinato-drone-standard and click Create -- DO NOT make any other changes to Subtype definition
Connect to your VIRL server via ssh or console found in VIRL Server > Server Tools and run the following command:
sudo salt-call -l debug state.sls virl.routervms.lxc_ostinato
Open VM Maestro and fetch new Node Subtype definitions:
- Click File > Preferences
- Select Node Subtypes
- Scroll to the bottom of main window and click Fetch From Server
- Click Apply and then OK to close window
Launching Simulation with Ostinato
Open your simulation or create a new one.
- Select lxc-ostinato-drone-standard from available nodes and place in your simulation.
- With Ostinato drone selected; click Browse for VM Image
- Select lxc-ostinato-drone-standard (version 0.8) image and click OK
Save settings and configure your simulation as needed. Your simulation with Ostinato Drone should now be able to start as expected.