yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40048
[Bug 1482699] Re: glance requests from nova fail if there are too many endpoints in the service catalog
** Changed in: nova/kilo
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1482699
Title:
glance requests from nova fail if there are too many endpoints in the
service catalog
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) juno series:
Fix Committed
Status in OpenStack Compute (nova) kilo series:
Fix Released
Bug description:
Nova sends the entire serialized service catalog in the http header to
glance requests:
https://github.com/openstack/nova/blob/icehouse-
eol/nova/image/glance.py#L136
If you have a lot of endpoints in your service catalog this can make
glance fail with "400 Header Line TooLong".
Per bknudson: "Any service using the auth_token middleware has no use
for the x-service-catalog header. All that auth_token middleware uses
is x-auth-token. The auth_token middleware will actually strip the x
-service-catalog from the request before it sends the request on to
the rest of the pipeline, so the application will never see it."
If glance needs the service catalog it will get it from keystone when
it auths the tokens, so nova shouldn't be sending this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1482699/+subscriptions
References