get_provider_type not compatible with juju2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Mojo Testing |
New
|
Undecided
|
Unassigned |
Bug Description
The get_provider_type helper is not compatible with Juju2.
#######
Create sdn on overcloud
#######
2017-02-10 19:39:32 [INFO] Pulling secrets from /srv/mojo/
/openstack/
2017-02-10 19:39:32 [WARNING] Automatic secrets phase ran but secrets directory /srv/mojo/
next_deploy/mitaka/ does not exist!
2017-02-10 19:39:32 [INFO] Running script network_setup.py
2017-02-10 19:39:34 [ERROR] 2017-02-10 19:39:34 [INFO] Setting up gre network
2017-02-10 19:39:34 [INFO] Using config /srv/mojo/
a//network.yaml
2017-02-10 19:39:34 [INFO] Consuming network environment variables as overrides.
2017-02-10 19:39:34 [INFO] Network info: default_gateway: 10.7.0.1
end_floating_ip: 10.7.200.254
external_dns: 10.111.222.2
external_net_cidr: 10.7.0.0/16
external_net_name: ext_net
external_
network_type: gre
private_net_cidr: 192.168.21.0/24
router_name: provider-router
start_floating_ip: 10.7.150.0
Traceback (most recent call last):
File "/srv/mojo/
n <module>
sys.
File "/srv/mojo/
main
if mojo_utils.
File "/srv/mojo/
, line 250, in get_provider_type
return juju_env_
KeyError: 'dima-overcloud
Caught during a mojo spec run for xenial-mitaka with juju 2.x:
Version: 1:2.1~beta5- 0ubuntu1~ 16.04.5~ juju1