`trove schedule-create` doesn't forward *_domain_name auth parameters to mistralclient

Bug #1809541 reported by Pavel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-troveclient
In Progress
Undecided
Pavel

Bug Description

$ trove --debug --os-domain-name Default schedule-create 5626bbcc-df04-4be7-b450-9d8e6712b387 '* * * * 10' eleventh-backups
DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader')
DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader')
DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth')
DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')
DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')
DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')
DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')
DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')
DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential')
DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')
DEBUG (extension:189) found extension EntryPoint.parse('gnocchi-basic = gnocchiclient.auth:GnocchiBasicLoader')
DEBUG (extension:189) found extension EntryPoint.parse('gnocchi-noauth = gnocchiclient.auth:GnocchiNoAuthLoader')
DEBUG (extension:189) found extension EntryPoint.parse('aodh-noauth = aodhclient.noauth:AodhNoAuthLoader')
DEBUG (extension:189) found extension EntryPoint.parse('token_endpoint = openstackclient.api.auth_plugin:TokenEndpoint')
DEBUG (session:448) REQ: curl -g -i -X GET http://192.168.2.5:5000 -H "Accept: application/json" -H "User-Agent: trove keystoneauth1/3.8.0 python-requests/2.19.1 CPython/2.7.15"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 192.168.2.5
DEBUG (connectionpool:396) http://192.168.2.5:5000 "GET / HTTP/1.1" 300 266
DEBUG (session:479) RESP: [300] Content-Length: 266 Content-Type: application/json Date: Sat, 22 Dec 2018 10:24:45 GMT Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-ff7c2c0f-ee46-4ee3-b8b1-5448f2fe5234
DEBUG (session:511) RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2018-10-15T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.11", "links": [{"href": "http://192.168.2.5:5000/v3/", "rel": "self"}]}]}}
DEBUG (session:853) GET call to http://192.168.2.5:5000/ used request id req-ff7c2c0f-ee46-4ee3-b8b1-5448f2fe5234
DEBUG (base:176) Making authentication request to http://192.168.2.5:5000/v3/auth/tokens
DEBUG (connectionpool:396) http://192.168.2.5:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12968
DEBUG (base:181) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "16ab6cbc6cd544399bbb2be4e2595b53", "name": "reader"}, {"id": "d13090e6f2f9403aa9b190fc395b42fd", "name": "admin"}, {"id": "81019d6478654613a41d864e6e6bf472", "name": "heat_stack_owner"}, {"id": "f8c21e36fb244bf88911faa385f75bbc", "name": "member"}], "expires_at": "2018-12-23T10:24:46.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "d4f1a92de00e4509b4923f9bacc2a1f6", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://10.0.0.5:8004/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "26c0b2ed24ec4dae871c615b03b5fa49"}, {"url": "http://10.0.0.5:8004/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5c064a93526446d084675c3b7eaa3eb6"}, {"url": "http://192.168.2.5:8004/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f896682dd2f44f6bbf0769de9cee230f"}], "type": "orchestration", "id": "052cbf5c82874b938c73c88f2f4a9744", "name": "heat"}, {"endpoints": [{"url": "http://192.168.2.5:8776/v3/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "35b5691d157d49e0bcb50ff8a95d1ac0"}, {"url": "http://10.0.0.5:8776/v3/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "9cb466df6b3a480eb2506fab5611fe93"}, {"url": "http://10.0.0.5:8776/v3/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "9fa58dca871e45fba2176d2446ace6fa"}], "type": "volumev3", "id": "126aede00c514e77b34b09aaf50c42f2", "name": "cinderv3"}, {"endpoints": [{"url": "http://10.0.0.5:8042", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6b92ed4fa5ac4aa5a35431f2fbe026d1"}, {"url": "http://192.168.2.5:8042", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ca4b39d3b1a549d0b9f08843e2b9864f"}, {"url": "http://10.0.0.5:8042", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d70bb4c26ddf4a629b2fd2ebf95142bd"}], "type": "alarming", "id": "1c4e87691bef4fd18a343651f721a1c8", "name": "aodh"}, {"endpoints": [{"url": "http://10.0.0.5:8000/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "72ebc31ec9ac46e0a15f0afbcda30ede"}, {"url": "http://192.168.2.5:8000/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "966b9db007164800bdf59421b25b447c"}, {"url": "http://10.0.0.5:8000/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "bea38635292c4cd384a5589f4f71d1b2"}], "type": "cloudformation", "id": "262fa79809494adbbd4290a696a18b21", "name": "heat-cfn"}, {"endpoints": [{"url": "http://192.168.2.5:9511/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "35426a5bbec1467e98293e085bbb3fc0"}, {"url": "http://10.0.0.5:9511/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3bb2964d8c034fc08233afa84e94cabd"}, {"url": "http://10.0.0.5:9511/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d76b8d0f2f9347949c4035da944453cf"}], "type": "container-infra", "id": "33e962cc130544e79a6819ce1ce1c971", "name": "magnum"}, {"endpoints": [{"url": "http://192.168.2.5:8989/v2", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "046f80271b0b42d3be081807c77472f8"}, {"url": "http://10.0.0.5:8989/v2", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ceb8328320fc47dea8e15c26a9139154"}, {"url": "http://10.0.0.5:8989/v2", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ed0560e2309e4d3d88d090de7ec16603"}], "type": "workflowv2", "id": "443ccda846904d9fb2853b3b1d9a49e8", "name": "mistral"}, {"endpoints": [{"url": "http://10.0.0.5:35357", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3dc2c136c17d464f9a5de4b51af4e470"}, {"url": "http://192.168.2.5:5000", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "920b09191cfb46b99af53b154590c2d4"}, {"url": "http://10.0.0.5:5000", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c93599cd622d4d9b909d20fdfd2c95a6"}], "type": "identity", "id": "53fb517cc0bd46b79f52a5aa10fd67bb", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.2.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6a5f0ba73c43429f8c6c03270fc0468c"}, {"url": "http://10.0.0.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a3c9c2667ead4e3ca4fe3a98f59eae2d"}, {"url": "http://10.0.0.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d07036672d0840658f08009103bf0702"}], "type": "database", "id": "63ebccf9e3ff486a8da94cb351fd5be3", "name": "trove"}, {"endpoints": [{"url": "http://10.0.0.5:9311", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "14639a48997b462ba99125aee2cb3c5f"}, {"url": "http://192.168.2.5:9311", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4165fc5510ad40019cd2b5cd9d1d13d1"}, {"url": "http://10.0.0.5:9311", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "770b6758687f46bb9a6603dc8f34def4"}], "type": "key-manager", "id": "6c47e1ea27e64e8fbf0bc985a792f5f5", "name": "barbican"}, {"endpoints": [{"url": "http://10.0.0.5:8776/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2858e8a49b4f4c4dad2cc0dd4a8caaf6"}, {"url": "http://192.168.2.5:8776/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a705300b12834f92b910f0d351ec98f4"}, {"url": "http://10.0.0.5:8776/v1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "ba46253dc73441a3b99e9caea02b0e15"}], "type": "volume", "id": "785a8835275e413da6f8ea89fea745ff", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.2.5:8778", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4add6ab28dab4e8abc55fc4d01811064"}, {"url": "http://10.0.0.5:8778", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "70070be166cb4248bc39db81c4b9f56a"}, {"url": "http://10.0.0.5:8778", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "def95bc1210a4ee48571b83743288ad2"}], "type": "clustering", "id": "8eaf464d8df4415784f9c60e849db671", "name": "senlin"}, {"endpoints": [{"url": "http://10.0.0.5:8780", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "54614445b12e4682a7956e079bf9af13"}, {"url": "http://10.0.0.5:8780", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7a74f0d53c7a4756bd96897f67ff3128"}, {"url": "http://192.168.2.5:8780", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7ea385a0ab3f434ab9dbedba72490dfc"}], "type": "placement", "id": "9b11a5a9dce24d2cbba84fbdcd60e83f", "name": "placement"}, {"endpoints": [{"url": "http://10.0.0.5:8889", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1e2875ef1b9d4f62b70fe8e53b2d27f3"}, {"url": "http://192.168.2.5:8889", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "29f6a883798b453f95a739470ced1c87"}, {"url": "http://10.0.0.5:8889", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "348d3a5e2a6843f5818351112715e335"}], "type": "rating", "id": "afe22c34c3f14247a511e29d2a971c48", "name": "cloudkitty"}, {"endpoints": [{"url": "http://10.0.0.5:6780/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1107a71f59dc49b58010d152aa9cfd59"}, {"url": "http://192.168.2.5:6780/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "48e76291f0c94092a4c3880811f9e15d"}, {"url": "http://10.0.0.5:6780/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6c11dc4a35cd4dd0a7f2d4808d5ec689"}], "type": "object-store", "id": "b3f88261b2e3480bb67b5568f0f0408c", "name": "swift"}, {"endpoints": [{"url": "http://10.0.0.5:8776/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "07b5af919ecb4317849a1e5dd1a990e1"}, {"url": "http://192.168.2.5:8776/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "1fda7e97af4f442987a320f5ca0ec0c6"}, {"url": "http://10.0.0.5:8776/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a82198a9afd345e588a408cb2a43e358"}], "type": "volumev2", "id": "b5ed5f6869264166b04b1047b23e8c95", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.2.5:8041", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "4ecf7bdc1cac4756b7bf5d95e86fb6af"}, {"url": "http://10.0.0.5:8041", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "7f1e4d20014346a7bf2641dbd504e59e"}, {"url": "http://10.0.0.5:8041", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e694047c576a416fb891f355f8d53cd9"}], "type": "metric", "id": "b9b097c3cca345bfa057b3687e2c3c37", "name": "gnocchi"}, {"endpoints": [{"url": "http://192.168.2.5:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ace86f3bed0d4031a2cf8f377f2ba468"}, {"url": "http://10.0.0.5:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "be2f7218334a461385600466147b068e"}, {"url": "http://10.0.0.5:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c6e73fcd0a6541408aaae03343f25608"}], "type": "network", "id": "bf50179ba03a40dc8b772b0cdf9f72f6", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.2.5:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "33f246b312294c9284001d3c5418cb39"}, {"url": "http://10.0.0.5:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "439c1b1b53424bf48d5a8fcd8c62c333"}, {"url": "http://10.0.0.5:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cae3d8b6280d4875ac9df15d7786d479"}], "type": "image", "id": "d538682108a1483a8d4eeb8a3c4878f5", "name": "glance"}, {"endpoints": [{"url": "http://10.0.0.5:8774/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "233029da766d44d0a9c231b41a1070f0"}, {"url": "http://10.0.0.5:8774/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "27658f1dd5a0463ca4a0d87c5afaef1f"}, {"url": "http://192.168.2.5:8774/v2/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cbdddc0b9ce345fca46ce261067e1a7a"}], "type": "compute_legacy", "id": "d705cb47d0ea4b89a2fd09bae97951a0", "name": "nova_legacy"}, {"endpoints": [{"url": "http://10.0.0.5:8774/v2.1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "1f42863d6f0e4bfe81974480645b2700"}, {"url": "http://192.168.2.5:8774/v2.1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "61a1327940eb468b806e6083714c536e"}, {"url": "http://10.0.0.5:8774/v2.1/d4f1a92de00e4509b4923f9bacc2a1f6", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "67234189e8864339922a58055d3a5819"}], "type": "compute", "id": "e1b615add1a649c9aa8d1e43f5ab8c60", "name": "nova"}, {"endpoints": [{"url": "http://10.0.0.5:9876", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "353db5ca6b214a7bb1e68673e40f7f4f"}, {"url": "http://10.0.0.5:9876", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7889dd569fa6405a8efa5dc13edb5f0f"}, {"url": "http://192.168.2.5:9876", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "b017ad37367f4b0597ca9315e1835c6e"}], "type": "load-balancer", "id": "e9831fd7462e480baa0a30e8c4f80dd1", "name": "octavia"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "b1a1a75ef1ac478aaf11a9c8486dd4d4"}, "audit_ids": ["yH2o4jT7Tz6EJ3GvMRj4Vw"], "issued_at": "2018-12-22T10:24:46.000000Z"}}
DEBUG (session:448) REQ: curl -g -i -X GET http://192.168.2.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6/instances/5626bbcc-df04-4be7-b450-9d8e6712b387 -H "Accept: application/json" -H "User-Agent: trove keystoneauth1/3.8.0 python-requests/2.19.1 CPython/2.7.15" -H "X-Auth-Token: {SHA1}c3bf5030a66e76cd9c1eed1b037bee2f61a0fc48"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 192.168.2.5
DEBUG (connectionpool:396) http://192.168.2.5:8779 "GET /v1.0/d4f1a92de00e4509b4923f9bacc2a1f6/instances/5626bbcc-df04-4be7-b450-9d8e6712b387 HTTP/1.1" 200 2235
DEBUG (session:479) RESP: [200] Content-Length: 2235 Content-Type: application/json Date: Sat, 22 Dec 2018 10:24:50 GMT
DEBUG (session:511) RESP BODY: {"instance": {"status": "ACTIVE", "updated": "2018-12-21T17:00:20", "configuration": {"id": "df3c1932-55d3-4f5b-9812-48d7ee6cf441", "links": [{"href": "https://192.168.2.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6/configurations/df3c1932-55d3-4f5b-9812-48d7ee6cf441", "rel": "self"}, {"href": "https://192.168.2.5:8779/configurations/df3c1932-55d3-4f5b-9812-48d7ee6cf441", "rel": "bookmark"}], "name": "mysql-5.7-test"}, "name": "eleventh", "links": [{"href": "https://192.168.2.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6/instances/5626bbcc-df04-4be7-b450-9d8e6712b387", "rel": "self"}, {"href": "https://192.168.2.5:8779/instances/5626bbcc-df04-4be7-b450-9d8e6712b387", "rel": "bookmark"}], "created": "2018-12-21T16:16:23", "tenant_id": "d4f1a92de00e4509b4923f9bacc2a1f6", "region": "RegionOne", "volume_id": "c1179971-be72-4781-85cc-89485271d49b", "server_id": "c4be70dd-5f80-4aea-a439-ca950a7ac02c", "id": "5626bbcc-df04-4be7-b450-9d8e6712b387", "volume": {"used": 0.13, "size": 5}, "ip": ["10.0.0.132", "192.168.2.147"], "flavor": {"id": "0", "links": [{"href": "https://192.168.2.5:8779/v1.0/d4f1a92de00e4509b4923f9bacc2a1f6/flavors/0", "rel": "self"}, {"href": "https://192.168.2.5:8779/flavors/0", "rel": "bookmark"}]}, "fault": {"message": "", "details": "Server type: guest\nTraceback (most recent call last):\n File \"/usr/local/lib/python2.7/dist-packages/trove/guestagent/datastore/mysql_common/manager.py\", line 318, in create_backup\n backup.backup(context, backup_info)\n File \"/usr/local/lib/python2.7/dist-packages/trove/guestagent/backup/__init__.py\", line 33, in backup\n return AGENT.execute_backup(context, backup_info)\n File \"/usr/local/lib/python2.7/dist-packages/trove/guestagent/backup/backupagent.py\", line 154, in execute_backup\n parent_metadata, extra_opts)\n File \"/usr/local/lib/python2.7/dist-packages/trove/guestagent/backup/backupagent.py\", line 113, in stream_backup_to_storage\n return meta\n File \"/usr/local/lib/python2.7/dist-packages/trove/guestagent/strategies/backup/base.py\", line 96, in __exit__\n raise BackupError\nBackupError\n", "created": "2018-12-21T17:04:38"}, "datastore": {"version": "mysql-5.7", "type": "mysql"}, "encrypted_rpc_messaging": true}}
_get_mistral_client: True
<keystoneauth1.identity.generic.password.Password object at 0x1031e21d0>
DEBUG (extension:189) found extension EntryPoint.parse('keystone = mistralclient.auth.keystone:KeystoneAuthHandler')
DEBUG (extension:189) found extension EntryPoint.parse('keycloak-oidc = mistralclient.auth.keycloak:KeycloakAuthHandler')
DEBUG (session:448) REQ: curl -g -i -X GET http://192.168.2.5:5000 -H "Accept: application/json" -H "User-Agent: trove keystoneauth1/3.8.0 python-requests/2.19.1 CPython/2.7.15"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 192.168.2.5
DEBUG (connectionpool:396) http://192.168.2.5:5000 "GET / HTTP/1.1" 300 266
DEBUG (session:479) RESP: [300] Content-Length: 266 Content-Type: application/json Date: Sat, 22 Dec 2018 10:24:50 GMT Server: Apache Vary: X-Auth-Token x-openstack-request-id: req-22d8c969-23dd-42d1-b234-c221f6bd7593
DEBUG (session:511) RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2018-10-15T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.11", "links": [{"href": "http://192.168.2.5:5000/v3/", "rel": "self"}]}]}}
DEBUG (session:853) GET call to http://192.168.2.5:5000/ used request id req-22d8c969-23dd-42d1-b234-c221f6bd7593
DEBUG (base:176) Making authentication request to http://192.168.2.5:5000/v3/auth/tokens
DEBUG (connectionpool:396) http://192.168.2.5:5000 "POST /v3/auth/tokens HTTP/1.1" 400 235
DEBUG (session:868) Request returned failure status: 400
DEBUG (base:176) Making authentication request to http://192.168.2.5:5000/v3/auth/tokens
DEBUG (connectionpool:396) http://192.168.2.5:5000 "POST /v3/auth/tokens HTTP/1.1" 400 235
DEBUG (session:868) Request returned failure status: 400
DEBUG (shell:754) None
Traceback (most recent call last):
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/troveclient/shell.py", line 749, in main
    sys.argv[1:]))
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/troveclient/shell.py", line 563, in main
    args.func(self.cs, args)
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/troveclient/v1/shell.py", line 1121, in do_schedule_create
    incremental=args.incremental)
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/troveclient/v1/backups.py", line 173, in schedule_create
    workflow_input=wf_input)
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/mistralclient/api/v2/cron_triggers.py", line 55, in create
    return self._create('/cron_triggers', data)
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/mistralclient/api/base.py", line 97, in _create
    self._raise_api_exception(ex.response)
  File "/Users/poul/Library/Python/2.7/lib/python/site-packages/mistralclient/api/base.py", line 160, in _raise_api_exception
    error_message=error_data)
APIException: None
ERROR: None

Here're my environment variables:
export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=...
export OS_AUTH_URL=http://192.168.2.5:5000
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2
export OS_AUTH_TYPE=password
export OS_TENANT_NAME=admin

mistralclient is unable to authenticate because my installation has enabled domains, but troveclient doesn't forward domain to the mistralclient: https://github.com/openstack/python-troveclient/blob/master/troveclient/v1/backups.py#L112-L122

I already have a fix. Will push it soon.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-troveclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/627038

Changed in python-troveclient:
assignee: nobody → Pavel (spa-87)
status: New → In Progress
Pavel (spa-87)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.