juju 1.25.6 + deployer trunk: KeyError: 'series' when declaring series by machine

Bug #1628736 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Invalid
Low
Unassigned

Bug Description

juju 1.25.6 + deployer trunk: KeyError: 'series' when declaring series by machine

When running juju-deployer from trunk (revno 195), with openstack-base bundle, or with any bundle exported from juju-gui, I get this key error traceback:

Traceback (most recent call last):
  File "/home/ubuntu/git/bopenstack/.tox/deployer/bin/juju-deployer", line 11, in <module>
    load_entry_point('juju-deployer==0.9.0', 'console_scripts', 'juju-deployer')()
  File "/home/ubuntu/git/bopenstack/.tox/deployer/local/lib/python2.7/site-packages/deployer/cli.py", line 140, in main
    run()
  File "/home/ubuntu/git/bopenstack/.tox/deployer/local/lib/python2.7/site-packages/deployer/cli.py", line 250, in run
    importer.Importer(env, deployment, options).run()
  File "/home/ubuntu/git/bopenstack/.tox/deployer/local/lib/python2.7/site-packages/deployer/action/importer.py", line 304, in run
    self.create_machines()
  File "/home/ubuntu/git/bopenstack/.tox/deployer/local/lib/python2.7/site-packages/deployer/action/importer.py", line 116, in create_machines
    self.deployment.data['series']),
KeyError: 'series'
    self.deployment.data['series']),

# snippet of machine declaration from a bundle, which now fails:
  "1":
    constraints: arch=amd64 tags=demo
    series: xenial

Tags: uosci
Revision history for this message
Tom Haddon (mthaddon) wrote :

Marking as invalid as we'd do this with native juju bundles now.

Changed in juju-deployer:
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.