It appears that Ec2Local Datasource gets searched before OpenStack (network mode) does and is selected.
EC2Local should not enable without the positive id via UUID; that is (EC2-Strict-mode IIRC), if we're in a MAYBE mode (where we are searching all datasources) we can't select a DS if we've not finished searching.
Additionally; during the metadata crawl; EC2 will have the 'network' metadata space defined, where OpenStack does not.
A workaround is to use ConfigDrive when launching OpenStack instances
It appears that Ec2Local Datasource gets searched before OpenStack (network mode) does and is selected.
EC2Local should not enable without the positive id via UUID; that is (EC2-Strict-mode IIRC), if we're in a MAYBE mode (where we are searching all datasources) we can't select a DS if we've not finished searching.
Additionally; during the metadata crawl; EC2 will have the 'network' metadata space defined, where OpenStack does not.
A workaround is to use ConfigDrive when launching OpenStack instances