glance image create failing (openstack client) in configure script

Bug #1507419 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charm Testing
Fix Released
High
Ryan Beisner

Bug Description

o-c-t rev 139 caused full deploy test automation failures, initially with syntax errors in the changes, but also with other issues after syntax was resolved. Reverted to restore test automation functionality. Please propose via a merge proposal so it can be tested, validated, then landed.

00:27:15.593 + openstack image create --public --container-format bare --disk-format qcow2 --file /var/lib/jenkins/images/vivid-server-cloudimg-amd64-disk1.img vivid
00:27:16.373 usage: openstack image create [-h] [-f {shell,table,value}] [-c COLUMN]
00:27:16.373 [--max-width <integer>] [--prefix PREFIX]
00:27:16.373 [--disk_format <disk_format>] [--id <id>]
00:27:16.373 [--store <store>]
00:27:16.373 [--container-format <container_format>]
00:27:16.373 [--owner <project>] [--size <size>]
00:27:16.373 [--min-disk <disk_gb>] [--min-ram <disk_ram>]
00:27:16.373 [--location <image_url>] [--file <file>]
00:27:16.373 [--checksum <checksum>]
00:27:16.373 [--copy-from <image_url>]
00:27:16.373 [--property <key=value>]
00:27:16.373 [--protected | --unprotected]
00:27:16.373 [--public | --private]
00:27:16.373 <name>
00:27:16.373 openstack image create: error: unrecognized arguments: --disk-format vi

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Changed --disk-format to --disk_format in profiles/default, testing...

Ryan Beisner (1chb1n)
Changed in openstack-charm-testing:
assignee: nobody → Ryan Beisner (1chb1n)
status: New → Confirmed
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Ryan Beisner (1chb1n) wrote :

Even with the disk_format fixed, we get other errors:

00:29:28.116 + openstack image create --public --container-format bare --disk_format qcow2 --file /var/lib/jenkins/images/vivid-server-cloudimg-amd64-disk1.img vivid
00:29:28.946 ERROR: glanceclient.common.http Request returned failure status.
00:29:29.299 ERROR: openstack create() got an unexpected keyword argument 'max_width'
00:29:29.340 cp: cannot stat '/var/lib/jenkins/tools/openstack-charm-testing/tempest.conf': No such file or directory
00:29:29.341 ! Configure failed.

I have reverted lp:openstack-charm-testing to known-good working. Please do a merge proposal to re-propose openstack client usage. Thank you.

Ryan Beisner (1chb1n)
description: updated
Ryan Beisner (1chb1n)
Changed in openstack-charm-testing:
status: In Progress → Fix Released
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.