NotFoundException for network segment create

Bug #1646464 reported by Vijendra Soni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
harishchandra

Bug Description

Getting NotFoundException: Not Found, 404 Not Found error while trying to create network segment in openstackclient.

openstack network segment create --network 23cec2d7-1f51-4bee-9403-66c305fff501 --network-type flat testseg

NotFoundException: Not Found, 404 Not Found

neutron --version
-----------------
6.0.1

openstack --version
------------------
openstack 3.3.1

Tags: network
Changed in python-openstackclient:
assignee: nobody → Vijendra Soni (vijendra-soni)
Revision history for this message
Richard Theis (rtheis) wrote :

Do you have the segment extension enabled?

tags: added: network
Revision history for this message
Vijendra Soni (vijendra-soni) wrote :

Yes, seems it is enabled.

in /etc/neutron/policy.json

 "create_segment": "rule:admin_only",
 "get_segment": "rule:admin_only",
 "update_segment": "rule:admin_only",
 "delete_segment": "rule:admin_only",

Revision history for this message
Vijendra Soni (vijendra-soni) wrote :

"create_network:segments": "rule:admin_only",
"update_network:segments": "rule:admin_only",

Changed in python-openstackclient:
assignee: Vijendra Soni (vijendra-soni) → nobody
assignee: nobody → Vijendra Soni (vijendra-soni)
Changed in python-openstackclient:
assignee: Vijendra Soni (vijendra-soni) → harishchandra (cogniharish)
Revision history for this message
harishchandra (cogniharish) wrote :

Please find my analysis on above issue:
it's look like there is no neutron api support to create the segment on existing network and also no support
from openstack client side to achive the same.
I am referring https://wiki.openstack.org/wiki/Neutron/ML2#Multi-Segment_Networks specially multisegment comment on this link.
for neutron api referring http://developer.openstack.org/api-ref/networking/v2/index.html but can't see any api to create segment on existing network.

Request for comments on above analysis.

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.