Common API samples for server creation does not work with microversions > 2.37

Bug #1613998 reported by Sergey Nikitin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Sergey Nikitin

Bug Description

Change https://review.openstack.org/#/c/316398/37 added new
microversion 2.37. This microversion added required field 'networks'
into create server request. By default Nova functional api tests use
samples from '/servers' directory to create a server. But now such
requests got 400 Bad Request because of missed 'networks' field.

Because of this bug changes which add new microversion will got -1 from functional job

Tags: testing
description: updated
description: updated
tags: added: critical
tags: added: testing
removed: critical
Revision history for this message
Sergey Nikitin (snikitin) wrote :
summary: - Common API samples for server creating can't work with mciroversions >
+ Common API samples for server creating can't work with microversions >
2.37
Revision history for this message
Jay Pipes (jaypipes) wrote :

@snikitin: Any chance you could paste the specific error output that occurs with the functional test(s)?

summary: - Common API samples for server creating can't work with microversions >
- 2.37
+ Common API samples for server creation does not work with microversions
+ > 2.37
Revision history for this message
Matt Riedemann (mriedem) wrote :

This is definitely not critical. If we're passing functional tests upstream, then it's not critical.

Changed in nova:
importance: Critical → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/356296
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2132cfaa3011fbbaa2f7d1c82f05aa6cf58b35b6
Submitter: Jenkins
Branch: master

commit 2132cfaa3011fbbaa2f7d1c82f05aa6cf58b35b6
Author: Sergey Nikitin <email address hidden>
Date: Mon Aug 22 17:02:16 2016 +0300

    Updated common create server sample request because of microversion 2.37

    Change I89b18709e0cfbbcbf9be96a91a13a1356cdf85b0 added new
    microversion 2.37. This microversion added required field 'networks'
    into create server request. By default Nova functional api tests use
    samples from '/servers' directory to create a server. But now such
    requests got 400 Bad Request because of missed 'networks' field.

    We must handle this case if we are testing microversions >= 2.37.

    This patch will add sample for microversion 2.37+

    Closes-Bug: 1613998

    Change-Id: I40cac263c97a4a871072d0efe5ebff295c2d917e

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 14.0.0.0b3

This issue was fixed in the openstack/nova 14.0.0.0b3 development milestone.

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.