Creating instance reservation with blazarclient fails if affinity value is not provided

Bug #1917636 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Blazar
Confirmed
Medium
Pierre Riteau

Bug Description

Running the command listed in https://docs.openstack.org/blazar/latest/cli/instance-reservation.html#create-a-lease fails:

Matches: ('resource_type=virtual:instance,vcpus=1,memory_mb=1024,disk_gb=20', 'amount', '1')
Matches: ('resource_type=virtual:instance,vcpus=1,memory_mb=1024', 'disk_gb', '20')
Matches: ('resource_type=virtual:instance,vcpus=1', 'memory_mb', '1024')
Matches: ('resource_type=virtual:instance', 'vcpus', '1')
Matches: (None, 'resource_type', 'virtual:instance')
ERROR: Malformed parameter affinity (must be a bool value or None)

The affinity value needs to be provided.

Pierre Riteau (priteau)
description: updated
Changed in blazar:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Pierre Riteau (priteau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-blazarclient 3.2.0

This issue was fixed in the openstack/python-blazarclient 3.2.0 release.

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.