Hi Kim,

Sorry you are having trouble after your upgrade.

From the log it appears that the neutron-lbaas Octavia driver is
unable to reach keystone to request an auth token.

Please make sure there is a [service_auth] section configured in your
neutron_lbaas.conf/neutron.conf file(s).

An example:

[service_auth]
auth_version = 3
admin_password = password
admin_user = admin
admin_tenant_name = admin
auth_url = http://172.21.21.134/identity/v3

Michael


On Thu, Dec 7, 2017 at 3:02 AM, Kim-Norman Sahm <kis...@t-online.de> wrote:
> after pupgrading ocata to pike i'm unable to create loadbalancer.
>
> # neutron lbaas-loadbalancer-create pike_sub
> neutron CLI is deprecated and will be removed in the future. Use openstack
> CLI instead.
> Driver error: The resource could not be found. (HTTP 404) (Request-ID:
> req-dff560fc-d1ed-49a8-9172-cc7c24bb4770)
> Neutron server returns request_ids:
> ['req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7']
>
> neutron-server.log:
> 2017-12-07 10:58:25.698 19 INFO neutron_lbaas.services.loadbalancer.plugin
> [req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7 339147b1f6df45508eff9388fd9931d7
> 1e90ad56f51b4daaa73a4f12fd422f43 - default default] Calling driver operation
> LoadBalancerManager.create
> 2017-12-07 10:58:25.811 19 DEBUG neutron_lbaas.drivers.driver_mixins
> [req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7 339147b1f6df45508eff9388fd9931d7
> 1e90ad56f51b4daaa73a4f12fd422f43 - default default] Starting
> failed_completion method after a failed driver action. failed_completion
> /usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/driver_mixins.py:185
> 2017-12-07 10:58:25.813 19 DEBUG neutron_lbaas.drivers.driver_mixins
> [req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7 339147b1f6df45508eff9388fd9931d7
> 1e90ad56f51b4daaa73a4f12fd422f43 - default default] Updating load balancer
> a71dd90b-8f0f-4e00-9dd1-c4622c503431 to provisioning_status = ERROR,
> operating_status = OFFLINE. failed_completion
> /usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/driver_mixins.py:191
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> [req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7 339147b1f6df45508eff9388fd9931d7
> 1e90ad56f51b4daaa73a4f12fd422f43 - default default] There was an error in
> the driver: NotFound: The resource could not be found. (HTTP 404)
> (Request-ID: req-dff560fc-d1ed-49a8-9172-cc7c24bb4770)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> Traceback (most recent call last):
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/services/loadbalancer/plugin.py",
> line 176, in _call_driver_operation
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> driver_method(context, db_entity, **kwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/octavia/driver.py",
> line 118, in func_wrapper
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> args[0].failed_completion(args[1], args[2])
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in
> __exit__
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> self.force_reraise()
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in
> force_reraise
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> six.reraise(self.type_, self.value, self.tb)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/octavia/driver.py",
> line 108, in func_wrapper
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> r = func(*args, **kwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/octavia/driver.py",
> line 243, in create
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> self.driver.req.post(self._url(lb), args)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/octavia/driver.py",
> line 151, in post
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return self.request('POST', url, args)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File
> "/usr/lib/python2.7/dist-packages/neutron_lbaas/drivers/octavia/driver.py",
> line 136, in request
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> headers['X-Auth-Token'] = self.auth_session.get_token()
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 927,
> in get_token
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return (self.get_auth_headers(auth) or {}).get('X-Auth-Token')
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 905,
> in get_auth_headers
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return auth.get_headers(self, **kwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 90, in
> get_headers
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> token = self.get_token(session)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line
> 89, in get_token
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return self.get_access(session).auth_token
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line
> 135, in get_access
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> self.auth_ref = self.get_auth_ref(session)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py",
> line 167, in get_auth_ref
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> authenticated=False, log=False, **rkwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 853,
> in post
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return self.request(url, 'POST', **kwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in
> inner
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> return wrapped(*args, **kwargs)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 742,
> in request
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> raise exceptions.from_response(resp, method, url)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> NotFound: The resource could not be found. (HTTP 404) (Request-ID:
> req-dff560fc-d1ed-49a8-9172-cc7c24bb4770)
> 2017-12-07 10:58:25.831 19 ERROR neutron_lbaas.services.loadbalancer.plugin
> 2017-12-07 10:58:25.887 19 ERROR neutron.api.v2.resource
> [req-b00b6b7e-7ad1-4c7b-a147-acaa3cf267a7 339147b1f6df45508eff9388fd9931d7
> 1e90ad56f51b4daaa73a4f12fd422f43 - default default] create failed: No
> details.: DriverError: Driver error: The resource could not be found. (HTTP
> 404) (Request-ID: req-dff560fc-d1ed-49a8-9172-cc7c24bb4770)
>
> the octavia api is accessable:
> # curl https://mycloud:9876
> {"versions": [{"status": "SUPPORTED", "updated": "2014-12-11T00:00:00Z",
> "id": "v1"}, {"status": "CURRENT", "updated": "2017-06-22T00:00:00Z", "id":
> "v2.0"}]}
>
> in the neutron.conf i've set this options to enable lbaasv2:
> service_plugins=router,metering,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2,neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin
> service_provider=LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default
>
> Does anybody know this problem?
>
> best regards
> Kim
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to