commit 7335088d896442e961c07e71bbb67ffd98f1f87a
Author: Michael Still <email address hidden>
Date: Sun Jul 29 10:05:45 2012 +1000
Handle images which exist but can't be seen.
If the master and the slave glance have different permissions, you
can end up with a 409 exception at upload. For example:
- the image is visible to the replication user on the master
- the image is present on the slave, but not visible to the
replication user
The replicator checks for the existance of the image by doing a HEAD
on http://server:port/v1/images/uuid and gets a 404 back. It therefore
decides the image doesn't exist and that it should be replicated. It
does a POST for that URL, and gets a 409 back saying that UUID is
already in use.
Reviewed: https:/ /review. openstack. org/10476 github. com/openstack/ glance/ commit/ 7335088d896442e 961c07e71bbb67f fd98f1f87a
Committed: http://
Submitter: Jenkins
Branch: master
commit 7335088d896442e 961c07e71bbb67f fd98f1f87a
Author: Michael Still <email address hidden>
Date: Sun Jul 29 10:05:45 2012 +1000
Handle images which exist but can't be seen.
If the master and the slave glance have different permissions, you
can end up with a 409 exception at upload. For example:
- the image is visible to the replication user on the master
- the image is present on the slave, but not visible to the
replication user
The replicator checks for the existance of the image by doing a HEAD server:port/v1/images/uuid and gets a 404 back. It therefore
on http://
decides the image doesn't exist and that it should be replicated. It
does a POST for that URL, and gets a 409 back saying that UUID is
already in use.
Resolves bug 1030396.
Change-Id: Id5fdb797769259 3fd6c2e203f0440 d4aa5339d92