nova server creation with inexistent security group raises 404 with neutron

Bug #1223695 reported by Ionuț Arțăriși
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Medium
Ionuț Arțăriși
neutron
Invalid
Undecided
Unassigned

Bug Description

Trying to create a new server with a security group that does not exist raises a 404 error with neutron, but not with nova-network. Since the security group not existing is not directly related to the server creation, I agree with the nova-network API, that the raised error should be 400, not 404.

The following test fails in tempest when openstack is configured with neutron: tempest.tests.compute.servers.test_servers_negative:ServersNegativeTest.test_create_with_nonexistent_security_group

Tags: network
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/46019

Changed in nova:
assignee: nobody → Ionuț Arțăriși (mapleoin)
status: New → In Progress
Revision history for this message
Joe Gordon (jogo) wrote :

Is this bu still valid? Or is this a neutron bug?

Changed in nova:
status: In Progress → Incomplete
Changed in neutron:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Sean Dague (sdague) wrote :

This should be fixed, it's part of neutron / nova parity.

Changed in nova:
status: Incomplete → Invalid
Changed in neutron:
status: Invalid → Confirmed
Changed in nova:
status: Invalid → Confirmed
importance: Undecided → Medium
tags: added: network
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Checked on latest master - both for nova-net and neutron the response is 400. Marking as invalid.

Changed in nova:
status: Confirmed → Invalid
Changed in neutron:
status: Confirmed → Invalid
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.