** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1256766
Title:
vpnstateinvalid has confusing message
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
after I create an vpnservice without a name, and then I want to
update it with a name, the following msg come out:
2013-12-02 12:09:18.691 3623 ERROR neutron.api.v2.resource
[req-aab03b48-08a4-415f-9cd1-7ee4f5a16b19 8fb8b278e48e4d0cbde162e5626032a1
c3b9072bc0f741aa98f72e794dba7ea6] update failed
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource Traceback (most
recent call last):
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource File
"/mnt/data/opt/stack/neutron/neutron/api/v2/resource.py", line 84, in resource
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource result =
method(request=request, **args)
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource File
"/mnt/data/opt/stack/neutron/neutron/api/v2/base.py", line 492, in update
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource obj =
obj_updater(request.context, id, **kwargs)
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource File
"/mnt/data/opt/stack/neutron/neutron/db/vpn/vpn_db.py", line 579, in
update_vpnservice
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource
self.assert_update_allowed(vpns_db)
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource File
"/mnt/data/opt/stack/neutron/neutron/db/vpn/vpn_db.py", line 198, in
assert_update_allowed
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource raise
vpnaas.VPNStateInvalid(id=id, state=status)
2013-12-02 12:09:18.691 3623 TRACE neutron.api.v2.resource VPNStateInvalid:
Invalid state PENDING_CREATE of vpnaas resource <built-in function id>
There are two problems in above msg:
1. built-in function id
2. the msg itself: I think we can use: the vpn service cannot be updated when
it is in state PENDING_CREATE
but I think we should be able to modify the vpn service when it is not
used by IPsecSiteConnection
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1256766/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp