| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
For things not on keystoneauth yet, we need to move things into
the auth dict using keystoneclient.
Change-Id: Ia4500cc270b775f189048ccf667d5bfdc5dfcd14
|
|/
|
|
| |
Change-Id: If8dee92917d1f5c1e349f02eba7661c39dbe7d0b
|
|
|
|
|
|
|
|
| |
We only need the plugin loader if we're going to create an auth
plugin. Doing this when validate=False is clearly not a workable
solution, because we'll wind up validating unknown plugins.
Change-Id: Ieed44aa3ef41a14edd7529ca599a01967d517207
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
When passing in kwargs to _get_one_cloud we do not dive into the auth
dict to convert '-' to '_'.
Change-Id: I8ce12370b5fd4444ba17d724e7f8036a7b0d2784
|
|/
|
|
|
|
|
|
|
|
| |
Prior to this any arg that started with 'os' had the 'os' prefix chomped
including the next character. This meant that any arg like 'osmosis'
would've been replaced with 'osis' which is clearly wrong. Instead we
want to treat the OpenStack prefix of 'os-' or 'os_' as the special
thing so check the next character is correct before chomping.
Change-Id: Id12a92adf63d896f7aa5c0e391abd299c4ce3331
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I4c98b72f039fd97a2c55ecbfa546fb908d1fe539
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the most common case, a use has one and only one domain id that they
care about, and it's associated with their user and project. Instead of
making them set it for both user_domain_id and project_domain_id, allow
for domain_{id, name} and then fill in any missing values for
{user,project}_domain_{id,name} with the given value.
This is mainly because I wind up with config files looking like this:
user_domain_id: d0919bd5e8d74e49adf0e145807ffc38
project_domain_id: d0919bd5e8d74e49adf0e145807ffc38
Which offends my tender sensibilities.
Change-Id: I12342dfa9f1b539a3fea5dd8874c42d027c59739
|
| |
| |
| |
| | |
Change-Id: I9f35c26fc633b07442141443574ea9b7582036be
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
keystoneauth plugin loading has parameter validation itself. Rather
than us doing it, let ksa do it.
This bubbles up a ksa exception- but I think I'm ok with that as an
interface.
Change-Id: I3e7741a1b623b133f24f321e97539883dc6cd153
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We know all of the things that we need to know to return an appropriate
auth plugin from keystoneauth based on the auth parameters. This also
introduces a hard-depend on keystoneauth, which should be fine since
keystoneauth itself has a very low dependency count.
We'll also use ksa to help validate auth parameters when we're doing
the config processing.
Change-Id: Ia1a1a4adb4dcefed5d7607082e026ca7361f394d
|
| |
| |
| |
| | |
Change-Id: I3a7f31a205b9a49e8c93f71e2a9dacacee6e2f91
|
| |
| |
| |
| | |
Change-Id: Iac2a51f2351e6b46469508abadd63942829663f0
|
| |
| |
| |
| | |
Change-Id: Ic5b5ee307b9d1eb338839a7feeeab50469316cf5
|
| |
| |
| |
| | |
Change-Id: I78e9191073e68a9d3f78ba11b47aa0b1ff816430
|
| |
| |
| |
| | |
Change-Id: I67973f89e2da4ef550e46c32ad63a4c8e043b4d0
|
| |
| |
| |
| |
| |
| |
| | |
It turns out it's more common than v1. Also, ovh was inappropriately
listing glance v1.
Change-Id: Icb534bf98fd3fa1c900ed9e4dd09ea0643176ff9
|
| |
| |
| |
| |
| |
| | |
Also, turns out auro is running Glance v2.
Change-Id: Iccc2e09f45192ac21001c346dab048c77a0f7813
|
| |
| |
| |
| |
| |
| | |
Nice job with keystone v3 support.
Change-Id: Ib2b54feef5055b04740a63a3a1d4e0b967018864
|
| |
| |
| |
| | |
Change-Id: I007802ac08a8708fbbbfa8ee8c7d79e4e2bb55f7
|
|/
|
|
|
|
| |
Heat only has v1.
Change-Id: I31b40b7cfec0685105b8066d1cb385befae00f90
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
If defaults.yaml is empty, a TypeError is thrown
because the result of yaml.load is not iterable.
Change-Id: Ic3283ebaf9dd325e4f430e70bce08c6d716f60bc
|
|/
|
|
|
|
|
| |
OVH has two regions now. Also, be clear that OVH does not use floating
ips.
Change-Id: Iabd84748cccec7da6e083b647511cba48d57bc20
|
|
|
|
|
|
| |
There are clouds where doing this is not working.
Change-Id: I1d2e71b2a6ad22eb5070b92448779f2e9df71e4a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Name the auth type needed for using an admin token "admin_token". This
hack can be removed with keystoneclient and/or keystoneauth make a
release with the admin_token entrypoint defined.
Naming it admin_token further reduces the conflict with OSC, which
should make the patch to work around OSC having different arguments
unnecessary.
This reverts commit 0e3117cb01d201f403be72cbb1218b9eec69a541.
Change-Id: I079c7c61b2637ded73542876cb1378a0731f8631
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit dfef01a7cbb9d68ad443d182e548ec58143a3a1f.
This broke the world.
Change-Id: I65d820b0da807a161eae814ea4b5413f245d7bf0
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Use ksc_auth.token_endpoint.Token as Keystone authentication plugin if
auth_type is token_endpoint.
Change-Id: I1a6d6dfe731527d7040cfbc2404fd5cf86ba5893
|
|/
|
|
|
|
|
|
|
|
|
|
| |
When running tests in the infra CI system, some OS_ environment
variables are defined (e.g., OS_TEST_TIMEOUT, OS_TEST_PATH,
OS_STDERR_CAPTURE, OS_STDOUT_CAPTURE) and this makes o-c-c think
that we are using environment variables for an envvar cloud. In
some rare cases, this can cause tests to fail if they expect
cloud definitions to come only from clouds.yaml. This change
ignores these CI variables.
Change-Id: I6458969b45f5534e1172b9f8ba598d7c536a59b5
|
|
|
|
|
|
|
|
| |
v2password can't handle v3 parameter names. But we align to those
for sanity. Ensure that a user gets the v2plugin that can handle
the auth instead of the one that can't.
Change-Id: Ie693e613fd5d0e20a4837923300502b1de02364b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
HP was not listed as needing a floating ip. Also, the non-floating IP
case mentions direct routing, so amend the floating IP case to mention
NAT for completeness and clarity.
Change-Id: I220c41f6c822b7b6ffb1ec11038749153ef5a6ee
|
|/
|
|
|
|
|
| |
Make it possible to override a service's endpoint like service_type
and service_name. This is already documented as working.
Change-Id: I8764ed68f8a38563c4242d4b50e2158e99ed4109
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
From lifeless: pbr reflects the package dependencies from
requirements.txt into the sdist that tox builds.
Change-Id: Iaa6026a504cc53784aad5731e9afe8b684b3ede5
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
regions is a list of regions that can be used to create more than one
CloudConfig object for each cloud/region combo. The regions field
itself makes no sense to set on each of those CloudConfigs, so do not
pass it through.
Change-Id: I76b3bb3bc4778223d72f86d01d02ce150651b3b9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The keystone folks seem to feel that interface is a better name
than endpoint type.
Change-Id: Ibfc54e725b6dae843c07f7786f51f9fb9141c983
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It seems like having service name default to service_type
would not work in a lot of situations.
Change-Id: Ia70242fad346c1681fa4abca9d604aea3ae002dd
|
|/ /
| |
| |
| | |
Change-Id: I79a9dceffc0432398bda70949db2e523cbbff515
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using set_default() before initializing OpenStackConfig would cause
an error since the _defaults dict would still be None and not an
actual dict. This corrects that by calling get_defaults() to make
sure it is initialized properly, and also adds a warning to note
that the method is now deprecated.
Change-Id: I81803c680b614f9bee47c6f69a4efffa638dcebc
|
|\ \ |
|