~chad.smith/charms/precise/block-storage-broker/trunk

« back to all changes in this revision

Viewing changes to hooks/nova_util.py

  • Committer: Chad Smith
  • Date: 2014-02-10 22:30:13 UTC
  • Revision ID: chad.smith@canonical.com-20140210223013-km1k3545zu9m9hz9
fix BSB unit tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
                "nova volume-create --display-name '%s' %s" %
174
174
                (volume_label, size), shell=True)
175
175
            # Get new volume_id search for remote_unit in volume label
176
 
            volume_id = get_volume_id(volume_label)
 
176
            volume_id = get_volume_id(volume_designator=volume_label)
177
177
 
178
178
    device = None
179
179
    hookenv.log("Attaching %s (%s)" % (volume_label, volume_id))