We currently allows only project uuid, but this is a pain for deployer.
Also the default is a project name which doesn't work...
This change queries keystone to retrieve project ids when the
ignore_projects list are names.
By default, if auth_type is not set, we keep the previous behavior to
not query keystone.
This change also vendors keystoneauth1.loading.adapter that wasn't
exists in newton version of keystoneauth1.
(cherry picked from commit e2bf485044)
Fix default service project to "service"
Both devstack and TripleO uses "service" by default.
Nothing uses "services".
(cherry picked from commit fbd048f4c0)
Change-Id: I270d080d3e65eb6b0cd823498a4dd37389c49221
Otherwise just setting it to "False" which is a string and therefore, is
True, enables it!
(cherry picked from commit 87bd49b62e)
Change-Id: I1155e1a16ccd34ffb0cd1e966e0bef91f6257b6d
Add ability to hand off notifier event sending to a queue processed by
a background thread so as not to block swift proxy. This fixes an
issue whereby if ceilometer's RabbitMQ went down then the swift proxy
would wait for it to come back up, effectively coupling Swift's
availabiilty to that of Ceilometer's RabbitMQ.
Background sending is activated by setting config item
'nonblocking_notify' to True.
Queue size defaults to 1000, which can be overridden by setting config
item 'send_queue_size'. If the queue is full, new events are discarded.
Change-Id: I3da2b88b2bc9b7fd8c572a0085fa1d78c4f54701
we don't have an id if RESELLER prefix is not in path. this causes
an id to be autogenerated making each request a completely different
resource id.
this patch changes it so we just default to path as our id if one
cannot be computed.
Change-Id: I5775406a84b5f2ad0f95f366b7deca210d2f8e87
Closes-Bug: #1566940
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).
Change-Id: I269fb387648916cc8c7b0e1e474457bd0f37395a
Closes-Bug:#1512207
This patch removes `MANIFEST.in` file as pbr generates a sensible
manifest from git files and some standard files and it removes
the need for an explicit `MANIFEST.in` file.
Change-Id: Ib0ac951f02842a476f6e890e67617b788408f7e3
As of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Change-Id: I47a897ec15ef0f74bce025a6af28e6c786bf9622
Related-Bug: #1519510
swift.source in env indicates request
that originate in swift middleware as a side
effect of another client request.
These requests should not be metered, this
fix adds a check for swift.source in env
and avoids generating a metering event.
Change-Id: I2ecbde8667cc366b192a2248abc93d0936956978
Closes-bug: 1485711
When path is of the form /v1/AUTH_xyz, the
path parsing expects 3 tokens, this fix retries
parsing to expect 2 tokens, so that operations at
an account level can be metered.
Change-Id: I5eb83e39e7902b9410487c98295f12640aeef140
Closes-Bug: 1488682
Remove the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.
This helps ensure that the _ from i18n is used.
Activating this check did not flag any violations.
Change-Id: I7b3528e07aee6138563ad83c2caa08ecbe49f933