You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P4Priority 4RIoTRelates to integration with cloud providers, hypervisors, API-based services, etc.Salt-Cloudbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
When specifying ex_disks_gce_struct with a sourceImage in a salt-cloud profile without specifying an image I see this error:
[ERROR ] The required 'image' configuration setting is missing from the 'gce-test-extra' profile, which is configured under the 'gce-config' alias.
Setup
Using the current gce-test-extra profile in the test suite located here
As you can see above it does not specify an image, and i'm assuming it is trying to use the sourceimage specified underneath ex_disks_gce_struct to boot up an ubuntu image.
ping @junckritter looks like you added this test here and feature here: #22785
Was this intentional to leave out image in that profile setup? If so it looks like this is a bug and we will need to add some logic to ensure we get pass this check for image if gce is configured to use a sourceimage.
I tested by removing the logic that checks for image just ot make sure it still works and it looks like the VM is created.
Versions Report
I tested on 2015.8.10, 2016.3.4 and 2016.11.0 and saw the same behavior.
Looks like the magic will be here: non_image_drivers = ['nova', 'virtualbox', 'libvirt'] will need to add gce to that list and add if statement that checks if driver is gce and ex_disks_gce_struct:sourceImage is set.
P4Priority 4RIoTRelates to integration with cloud providers, hypervisors, API-based services, etc.Salt-Cloudbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
Ch3LL commentedon Dec 22, 2016
Looks like the magic will be here:
non_image_drivers = ['nova', 'virtualbox', 'libvirt']will need to add gce to that list and add if statement that checks if driver is gce andex_disks_gce_struct:sourceImageis set.