nova/nova/tests/unit/image
ZHU ZHU 4fa9bc1c54 Don't pass the service catalog when making glance requests
If your service catalog has too many endpoints in it, passing this in
the request to glance can result in a 400 because the header is too big.

This isn't even necessary to pass to glance since we use the auth_token
middleware.

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."

Closes-Bug: #1482699

Change-Id: I204c6f61194bef6eba01ab0525bc80fa2e323acd
2015-08-07 09:21:49 -07:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
abs.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py virt: convert hardware module to use nova.objects.ImageMeta 2015-07-27 16:11:14 -07:00
rel.tar.gz move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_fake.py Get py34 subunit.run test discovery to work 2015-07-28 10:40:56 +00:00
test_glance.py Don't pass the service catalog when making glance requests 2015-08-07 09:21:49 -07:00
test_s3.py Switch to moxstubout and mockpatch from oslotest 2014-12-02 08:03:42 -05:00
test_transfer_modules.py Get py34 subunit.run test discovery to work 2015-07-28 10:40:56 +00:00