[Openstack] Routed provider networks

Alex Evonosky alex.evonosky at gmail.com
Sun Jun 18 16:04:01 UTC 2017


Kevin-

Thank you for the tip.  The Debug is attached as well.

Thank you.

On Sun, Jun 18, 2017 at 11:54 AM, Kevin Benton <kevin at benton.pub> wrote:

> The openstack command should have an option to enable debugging so you can
> get the error message. Try openstack --debug
>
>
>
> On Sun, Jun 18, 2017 at 7:27 AM, Alex Evonosky <alex.evonosky at gmail.com>
> wrote:
>
>> Gary-
>>
>> Thank you for the feedback.  I issued the command while tailing the log:
>>
>> *2017-06-18 10:24:51.841 12018 INFO neutron.api.v2.resource
>> [req-da8fa8be-1cae-4b5e-a1cf-2206a284476a 7e7176b79f94483c8b802a7004466e66
>> 664dc5e6023140eca0faeb2d0ecc31c2 - - -] create failed (client error): The
>> server could not comply with the request since it is either malformed or
>> otherwise incorrect.*
>> *2017-06-18 10:24:51.843 12018 INFO neutron.wsgi
>> [req-da8fa8be-1cae-4b5e-a1cf-2206a284476a 7e7176b79f94483c8b802a7004466e66
>> 664dc5e6023140eca0faeb2d0ecc31c2 - *
>>
>>
>> As for the ocata config, this was built by using the ocata:
>>
>> https://docs.openstack.org/ocata/install-guide-ubuntu/
>>
>>
>> Thank you.
>>
>>
>>
>>
>> On Sun, Jun 18, 2017 at 10:17 AM, Gary Kotton <gkotton at vmware.com> wrote:
>>
>>> Hi,
>>>
>>> Please look in /var/log/neutron/neutron-server.log
>>>
>>> That should provide and exception trace
>>>
>>> Thanks
>>>
>>> Gary
>>>
>>>
>>>
>>> *From: *Alex Evonosky <alex.evonosky at gmail.com>
>>> *Date: *Sunday, June 18, 2017 at 5:04 PM
>>> *To: *"openstack at lists.openstack.org" <openstack at lists.openstack.org>
>>> *Subject: *[Openstack] Routed provider networks
>>>
>>>
>>>
>>> Hello-
>>>
>>>
>>>
>>> I wanted to test the routed provider networks of Ocata, and following
>>> the example config:
>>>
>>>
>>>
>>> https://docs.openstack.org/ocata/networking-guide/config-rou
>>> ted-networks.html
>>>
>>>
>>>
>>> I typed in the following on my controller node:
>>>
>>>
>>>
>>>
>>>
>>> @openstack-controller1:~# openstack network create --share
>>> --provider-physical-network provider1 --provider-network-type vlan
>>> --provider-segment 2016 multisegment1
>>>
>>>
>>>
>>> and I receive this:
>>>
>>>
>>>
>>> *Error while executing command: Bad Request*
>>>
>>>
>>>
>>>
>>>
>>> Is there a log that may show what this error is referring to?
>>>
>>>
>>>
>>>
>>>
>>> Thank you.
>>>
>>>
>>>
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170618/3b97469c/attachment.html>
-------------- next part --------------
openstack --debug network create --share --provider-physical-network provider1 --provider-network-type vlan --provider-segment 2016 multisegment1
START with options: [u'--debug', u'network', u'create', u'--share', u'--provider-physical-network', u'provider1', u'--provider-network-type', u'vlan', u'--provider-segment', u'2016', u'multisegment1']
options: Namespace(access_key='', access_secret='***', access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='http://controller:35357/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', consumer_key='', consumer_secret='***', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', key='', log_file=None, old_profile=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_dns_api_version='2', os_identity_api_version='3', os_image_api_version='2', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', profile=None, project_domain_id='', project_domain_name='Default', project_id='', project_name='admin', protocol='', redirect_uri='', region_name='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='Default', user_id='', username='admin', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'cacert': None, 'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'cacert': None, 'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
neutronclient API version 2, cmd group openstack.neutronclient.v2
orchestration API version 1, cmd group openstack.orchestration.v1
dns API version 2, cmd group openstack.dns.v2
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'cacert': None, 'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'cacert': None, 'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
command: network create -> openstackclient.network.v2.network.CreateNetwork
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'cacert': None, 'auth_url': 'http://controller:35357/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'admin', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'Default', 'project_name': 'admin', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
Using auth plugin: password
Using parameters {'username': 'admin', 'project_name': 'admin', 'user_domain_name': 'Default', 'auth_url': 'http://controller:35357/v3', 'password': '***', 'project_domain_name': 'Default'}
Get auth_ref
REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: osc-lib/1.3.0 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12"
Starting new HTTP connection (1): controller
http://controller:35357 "GET /v3 HTTP/1.1" 200 250
RESP: [200] Date: Sun, 18 Jun 2017 16:02:19 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-84e87471-1b12-4b7d-bf08-85b425a04b5e Content-Length: 250 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://controller:35357/v3/", "rel": "self"}]}}

GET call to None for http://controller:35357/v3 used request id req-84e87471-1b12-4b7d-bf08-85b425a04b5e
Making authentication request to http://controller:35357/v3/auth/tokens
http://controller:35357 "POST /v3/auth/tokens HTTP/1.1" 201 3290
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c081a9e72e234498846cf0f381b17a3b", "name": "admin"}], "expires_at": "2017-06-18T17:02:19.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "664dc5e6023140eca0faeb2d0ecc31c2", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1fb50bfd85784bf7a3407d68e2a5f830"}, {"url": "http://controller:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5d31e6b1cc5c4024bcf8003dce933fc5"}, {"url": "http://controller:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "80919e147481449083d0370501b7c283"}], "type": "compute", "id": "50f2a87fc3bc4c7ba31227ed8444ec80", "name": "nova"}, {"endpoints": [{"url": "http://controller:8778", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4d57e862f08a4594bd3f09558222d5a3"}, {"url": "http://controller:8778", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "be4fc1eeb4a54515bb28e94f45c84fcc"}, {"url": "http://controller:8778", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c28f185c6b374b17af9198ea20e78b9b"}], "type": "placement", "id": "6f8cebb2c4334ea8aeaac0fc02356653", "name": "placement"}, {"endpoints": [{"url": "http://controller:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "30319bfa8b2d448b8c4a861a1a55a42b"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a984dce025cf49de97be031313dedf0d"}, {"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e6f4e62d206a4998b99fc7df989323fe"}], "type": "identity", "id": "7985ba3e73704efaacf5025c9e7443b4", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6b5077c5e84e46faba13ebd83c4362ab"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "8187c44ce59a407ab02595c7f67ffb5d"}, {"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e33487b22a9f47778394c5829600f3cf"}], "type": "network", "id": "90f3756fedf149ea81412a59f47fd7b0", "name": "neutron"}, {"endpoints": [{"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "319ed1db0435463b8d4cc38c1e1272be"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b7d187c2af43414890a4ffcad9429ca2"}, {"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bfe92f4247fc42858ea829066eb2a34d"}], "type": "image", "id": "b22cc6ac1c65419aa6706c626b55f89c", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "7e7176b79f94483c8b802a7004466e66"}, "audit_ids": ["N9za62SHRdW6LmmU1Re3ew"], "issued_at": "2017-06-18T16:02:19.000000Z"}}
get_parser(openstack network create)
common parser: ArgumentParser(prog=u'openstack network create', usage=None, description=u'Create new network', version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)
network endpoint in service catalog
run(Namespace(availability_zone_hints=None, columns=[], default=False, description=None, disable=False, disable_port_security=False, enable=True, enable_port_security=False, external=False, formatter='table', internal=False, max_width=0, name=u'multisegment1', no_default=False, no_share=False, no_transparent_vlan=False, noindent=False, physical_network=u'provider1', prefix='', print_empty=False, project=None, project_domain=None, provider_network_type=u'vlan', qos_policy=None, segmentation_id=u'2016', share=True, transparent_vlan=False, variables=[]))
network endpoint in service catalog
Connection: <openstack.connection.Connection object at 0x7f93ee41c8d0>
Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x7f93ee3ad2d0>
Making authentication request to http://controller:35357/v3/auth/tokens
Starting new HTTP connection (1): controller
http://controller:35357 "POST /v3/auth/tokens HTTP/1.1" 201 3290
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "c081a9e72e234498846cf0f381b17a3b", "name": "admin"}], "expires_at": "2017-06-18T17:02:19.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "664dc5e6023140eca0faeb2d0ecc31c2", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1fb50bfd85784bf7a3407d68e2a5f830"}, {"url": "http://controller:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5d31e6b1cc5c4024bcf8003dce933fc5"}, {"url": "http://controller:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "80919e147481449083d0370501b7c283"}], "type": "compute", "id": "50f2a87fc3bc4c7ba31227ed8444ec80", "name": "nova"}, {"endpoints": [{"url": "http://controller:8778", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4d57e862f08a4594bd3f09558222d5a3"}, {"url": "http://controller:8778", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "be4fc1eeb4a54515bb28e94f45c84fcc"}, {"url": "http://controller:8778", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c28f185c6b374b17af9198ea20e78b9b"}], "type": "placement", "id": "6f8cebb2c4334ea8aeaac0fc02356653", "name": "placement"}, {"endpoints": [{"url": "http://controller:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "30319bfa8b2d448b8c4a861a1a55a42b"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a984dce025cf49de97be031313dedf0d"}, {"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e6f4e62d206a4998b99fc7df989323fe"}], "type": "identity", "id": "7985ba3e73704efaacf5025c9e7443b4", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6b5077c5e84e46faba13ebd83c4362ab"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "8187c44ce59a407ab02595c7f67ffb5d"}, {"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e33487b22a9f47778394c5829600f3cf"}], "type": "network", "id": "90f3756fedf149ea81412a59f47fd7b0", "name": "neutron"}, {"endpoints": [{"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "319ed1db0435463b8d4cc38c1e1272be"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "b7d187c2af43414890a4ffcad9429ca2"}, {"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bfe92f4247fc42858ea829066eb2a34d"}], "type": "image", "id": "b22cc6ac1c65419aa6706c626b55f89c", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "7e7176b79f94483c8b802a7004466e66"}, "audit_ids": ["EDY3TJ9STWaQvOzqul9OWA"], "issued_at": "2017-06-18T16:02:19.000000Z"}}
Looking for versions at http://controller:9696
REQ: curl -g -i -X GET http://controller:9696 -H "User-Agent: openstacksdk/0.9.13 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" -H "X-Auth-Token: {SHA1}80400d55ca5ed2207e31f2a1a44e9ebdef4c6e7b"
Starting new HTTP connection (1): controller
http://controller:9696 "GET / HTTP/1.1" 200 119
RESP: [200] Content-Type: application/json; charset=UTF-8 Content-Length: 119 Date: Sun, 18 Jun 2017 16:02:19 GMT Connection: keep-alive 
RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://controller:9696/v2.0/", "rel": "self"}]}]}

Using http://controller:9696/v2.0 as public network endpoint
REQ: curl -g -i -X POST http://controller:9696/v2.0/networks -H "User-Agent: openstacksdk/0.9.13 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12" -H "Content-Type: application/json" -H "X-Auth-Token: {SHA1}80400d55ca5ed2207e31f2a1a44e9ebdef4c6e7b" -d '{"network": {"name": "multisegment1", "provider:physical_network": "provider1", "admin_state_up": true, "provider:network_type": "vlan", "shared": true, "provider:segmentation_id": "2016"}}'
http://controller:9696 "POST /v2.0/networks HTTP/1.1" 400 164
RESP: [400] Content-Type: application/json Content-Length: 164 X-Openstack-Request-Id: req-568bdd4b-16bd-4eb0-ab45-2c87c3c26adf Date: Sun, 18 Jun 2017 16:02:20 GMT Connection: keep-alive 
RESP BODY: {"NeutronError": {"message": "Invalid input for operation: physical_network 'provider1' unknown  for VLAN provider network.", "type": "InvalidInput", "detail": ""}}

POST call to network for http://controller:9696/v2.0/networks used request id req-568bdd4b-16bd-4eb0-ab45-2c87c3c26adf
Request returned failure status: 400
Error while executing command: Bad Request
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 112, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 194, in take_action
    raise exceptions.CommandError(msg)
CommandError: Error while executing command: Bad Request
clean_up CreateNetwork: Error while executing command: Bad Request
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/dist-packages/osc_lib/shell.py", line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 112, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/lib/python2.7/dist-packages/openstackclient/network/common.py", line 194, in take_action
    raise exceptions.CommandError(msg)
CommandError: Error while executing command: Bad Request



More information about the Openstack mailing list