stack@scspa0341462001:~$ manila share-group-type-access-list default
ERROR: list() got an unexpected keyword argument 'search_opts'
Detailed debug log:
-------------------
stack@scspa0341462001:~$ manila --debug share-group-type-access-list default
DEBUG (session:372) REQ: curl -g -i -X GET http://10.193.113.74/identity -H "Accept: application/json" -H "User-Agent: manila keystoneauth1/3.2.0 python-requests/2.18.4 CPython/2.7.12"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "GET /identity HTTP/1.1" 300 271
DEBUG (session:419) RESP: [300] Date: Tue, 19 Dec 2017 02:26:24 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token Content-Type: application/json Content-Length: 271 Connection: close
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.193.113.74/identity/v3/", "rel": "self"}]}]}}
DEBUG (session:372) REQ: curl -g -i -X GET http://10.193.113.74/identity/v3/ -H "Accept: application/json" -H "User-Agent: manila keystoneauth1/3.2.0 python-requests/2.18.4 CPython/2.7.12"
DEBUG (connectionpool:243) Resetting dropped connection: 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "GET /identity/v3/ HTTP/1.1" 200 256
DEBUG (session:419) RESP: [200] Date: Tue, 19 Dec 2017 02:26:24 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token Content-Type: application/json Content-Length: 256 x-openstack-request-id: req-8d8c4e61-1c19-4433-88a4-7340cd1ff9cd Connection: close
RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.193.113.74/identity/v3/", "rel": "self"}]}}
DEBUG (session:722) GET call to None for http://10.193.113.74/identity/v3/ used request id req-8d8c4e61-1c19-4433-88a4-7340cd1ff9cd
DEBUG (base:189) Making authentication request to http://10.193.113.74/identity/v3/auth/tokens
DEBUG (connectionpool:243) Resetting dropped connection: 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "POST /identity/v3/auth/tokens HTTP/1.1" 201 4506
DEBUG (base:194) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "036e1522bda44ddb9720d8d5a5cb04d5", "name": "Member"}, {"id": "ac6509df3fa74715b24f59f10cc6daf8", "name": "anotherrole"}], "expires_at": "2017-12-19T03:26:24.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "f2e7e6e3a3af4e3f8a66e78b0bfa843e", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://10.193.113.74/volume/v3/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e58cc9bd5d49426e897da5c1071131a5"}], "type": "volumev3", "id": "2c26ce22a65744829175a4c988c0989e", "name": "cinderv3"}, {"endpoints": [{"url": "http://10.193.113.74/volume/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e7ef2f11785548db95a135b54d904eeb"}], "type": "volumev2", "id": "308f23eb2c9d467ab76f1c42754e9cd1", "name": "cinderv2"}, {"endpoints": [{"url": "http://10.193.113.74:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "42c5de1410184e92932871e296cde9ff"}], "type": "network", "id": "369ee78030e74cf190590eb55be5d7d9", "name": "neutron"}, {"endpoints": [{"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "49bc89696d274f2480c4dfd72f8420c3"}, {"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cda9b50669d04f76b1eeaaf21ffa8fbf"}, {"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d70e50b7d91e4dbb9636cc1e4978fddd"}], "type": "sharev2", "id": "689e6b9c836a4013828a75373b25d223", "name": "manilav2"}, {"endpoints": [{"url": "http://10.193.113.74/image", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "86b52f9c7dd242dfbf8e53400ca9d6b8"}], "type": "image", "id": "6cd476bbd2b54fb7ad2c9b433b30ec3c", "name": "glance"}, {"endpoints": [{"url": "http://10.193.113.74/compute/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "db9647da3e56407eb081bd4f85133d6b"}], "type": "compute", "id": "8602e6c63bbc400991751ebe8dadd322", "name": "nova"}, {"endpoints": [{"url": "http://10.193.113.74/identity", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "22bfcf8f11df41499f2df939ae5b6013"}, {"url": "http://10.193.113.74/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e4cd4d5f4ed1489d99dae3173d59fa3d"}], "type": "identity", "id": "87cb4a70b4f54f3fb298f2930fec6cd5", "name": "keystone"}, {"endpoints": [{"url": "http://10.193.113.74/volume/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "eeb28078998b414b821ed721ac07a526"}], "type": "volume", "id": "8f6a9e4dc4de40bf8684f6b717fcea2e", "name": "cinder"}, {"endpoints": [{"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6522c5dd174b437ea38fc77da4b6459f"}, {"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "74694d7fcaf24f5991cd62d80c1495cb"}, {"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b14916a21b2b441ba8dd9c756f235702"}], "type": "share", "id": "aceafebded034ea1b5f93547e70b10a6", "name": "manila"}, {"endpoints": [{"url": "http://10.193.113.74/compute/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a2884afffcc1479593a019b72ed3a797"}], "type": "compute_legacy", "id": "bfa5eb3ba27946d2b104de853a46bfa1", "name": "nova_legacy"}, {"endpoints": [{"url": "http://10.193.113.74/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f1d9064ffc924f40b558a2c44cc88abd"}], "type": "placement", "id": "d27286b30dc84777823cd95bf0cf8e9c", "name": "placement"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "demo", "id": "61217b8f4f954bd492c37c3473c678d4"}, "audit_ids": ["3zv824AkTRW7BB_dPbL3pg"], "issued_at": "2017-12-19T02:26:24.000000Z"}}
REQ: curl -i -X GET http://10.193.113.74:8786/ -H "X-Openstack-Manila-Api-Version: 2.40" -H "X-Auth-Token: gAAAAABaOHjQz86F-96XNqMMU_kWclTSbdg4uUW3-dDF4rBUgB1VhV_cLIhtazNfEdeuAShTqry3TtyfViJUU7MpI00pvYM1hRcsrpNyJU7xjqNRJILreVPgaKLWuqGQJIT9JTKCRf57fpRfc7HCmnOEq9qgA3HA-ukYvo1gcbjn3siohPYrdcU" -H "Accept: application/json" -H "User-Agent: python-manilaclient"
DEBUG (httpclient:192)
REQ: curl -i -X GET http://10.193.113.74:8786/ -H "X-Openstack-Manila-Api-Version: 2.40" -H "X-Auth-Token: gAAAAABaOHjQz86F-96XNqMMU_kWclTSbdg4uUW3-dDF4rBUgB1VhV_cLIhtazNfEdeuAShTqry3TtyfViJUU7MpI00pvYM1hRcsrpNyJU7xjqNRJILreVPgaKLWuqGQJIT9JTKCRf57fpRfc7HCmnOEq9qgA3HA-ukYvo1gcbjn3siohPYrdcU" -H "Accept: application/json" -H "User-Agent: python-manilaclient"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:8786 "GET / HTTP/1.1" 300 750
RESP: [300] {'Date': 'Tue, 19 Dec 2017 02:26:24 GMT', 'Content-Length': '750', 'Content-Type': 'application/json', 'Connection': 'close', 'Server': 'Apache/2.4.18 (Ubuntu)'}
RESP BODY: {"versions": [{"status": "DEPRECATED", "updated": "2015-08-27T11:33:21Z", "links": [{"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}, {"href": "http://10.193.113.74:8786/v1/", "rel": "self"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.share+json;version=1"}], "id": "v1.0"}, {"status": "CURRENT", "updated": "2015-08-27T11:33:21Z", "links": [{"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}, {"href": "http://10.193.113.74:8786/v2/", "rel": "self"}], "min_version": "2.0", "version": "2.42", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.share+json;version=1"}], "id": "v2.0"}]}
DEBUG (httpclient:201) RESP: [300] {'Date': 'Tue, 19 Dec 2017 02:26:24 GMT', 'Content-Length': '750', 'Content-Type': 'application/json', 'Connection': 'close', 'Server': 'Apache/2.4.18 (Ubuntu)'}
RESP BODY: {"versions": [{"status": "DEPRECATED", "updated": "2015-08-27T11:33:21Z", "links": [{"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}, {"href": "http://10.193.113.74:8786/v1/", "rel": "self"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.share+json;version=1"}], "id": "v1.0"}, {"status": "CURRENT", "updated": "2015-08-27T11:33:21Z", "links": [{"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}, {"href": "http://10.193.113.74:8786/v2/", "rel": "self"}], "min_version": "2.0", "version": "2.42", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.share+json;version=1"}], "id": "v2.0"}]}
DEBUG (session:372) REQ: curl -g -i -X GET http://10.193.113.74/identity -H "Accept: application/json" -H "User-Agent: manila keystoneauth1/3.2.0 python-requests/2.18.4 CPython/2.7.12"
DEBUG (connectionpool:208) Starting new HTTP connection (1): 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "GET /identity HTTP/1.1" 300 271
DEBUG (session:419) RESP: [300] Date: Tue, 19 Dec 2017 02:26:24 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token Content-Type: application/json Content-Length: 271 Connection: close
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.193.113.74/identity/v3/", "rel": "self"}]}]}}
DEBUG (session:372) REQ: curl -g -i -X GET http://10.193.113.74/identity/v3/ -H "Accept: application/json" -H "User-Agent: manila keystoneauth1/3.2.0 python-requests/2.18.4 CPython/2.7.12"
DEBUG (connectionpool:243) Resetting dropped connection: 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "GET /identity/v3/ HTTP/1.1" 200 256
DEBUG (session:419) RESP: [200] Date: Tue, 19 Dec 2017 02:26:24 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token Content-Type: application/json Content-Length: 256 x-openstack-request-id: req-3cf8dc68-80a0-42d9-9a7a-fa03fe60e326 Connection: close
RESP BODY: {"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.193.113.74/identity/v3/", "rel": "self"}]}}
DEBUG (session:722) GET call to None for http://10.193.113.74/identity/v3/ used request id req-3cf8dc68-80a0-42d9-9a7a-fa03fe60e326
DEBUG (base:189) Making authentication request to http://10.193.113.74/identity/v3/auth/tokens
DEBUG (connectionpool:243) Resetting dropped connection: 10.193.113.74
DEBUG (connectionpool:396) http://10.193.113.74:80 "POST /identity/v3/auth/tokens HTTP/1.1" 201 4506
DEBUG (base:194) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "036e1522bda44ddb9720d8d5a5cb04d5", "name": "Member"}, {"id": "ac6509df3fa74715b24f59f10cc6daf8", "name": "anotherrole"}], "expires_at": "2017-12-19T03:26:24.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "f2e7e6e3a3af4e3f8a66e78b0bfa843e", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://10.193.113.74/volume/v3/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e58cc9bd5d49426e897da5c1071131a5"}], "type": "volumev3", "id": "2c26ce22a65744829175a4c988c0989e", "name": "cinderv3"}, {"endpoints": [{"url": "http://10.193.113.74/volume/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e7ef2f11785548db95a135b54d904eeb"}], "type": "volumev2", "id": "308f23eb2c9d467ab76f1c42754e9cd1", "name": "cinderv2"}, {"endpoints": [{"url": "http://10.193.113.74:9696/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "42c5de1410184e92932871e296cde9ff"}], "type": "network", "id": "369ee78030e74cf190590eb55be5d7d9", "name": "neutron"}, {"endpoints": [{"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "49bc89696d274f2480c4dfd72f8420c3"}, {"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cda9b50669d04f76b1eeaaf21ffa8fbf"}, {"url": "http://10.193.113.74:8786/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d70e50b7d91e4dbb9636cc1e4978fddd"}], "type": "sharev2", "id": "689e6b9c836a4013828a75373b25d223", "name": "manilav2"}, {"endpoints": [{"url": "http://10.193.113.74/image", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "86b52f9c7dd242dfbf8e53400ca9d6b8"}], "type": "image", "id": "6cd476bbd2b54fb7ad2c9b433b30ec3c", "name": "glance"}, {"endpoints": [{"url": "http://10.193.113.74/compute/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "db9647da3e56407eb081bd4f85133d6b"}], "type": "compute", "id": "8602e6c63bbc400991751ebe8dadd322", "name": "nova"}, {"endpoints": [{"url": "http://10.193.113.74/identity", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "22bfcf8f11df41499f2df939ae5b6013"}, {"url": "http://10.193.113.74/identity", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "e4cd4d5f4ed1489d99dae3173d59fa3d"}], "type": "identity", "id": "87cb4a70b4f54f3fb298f2930fec6cd5", "name": "keystone"}, {"endpoints": [{"url": "http://10.193.113.74/volume/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "eeb28078998b414b821ed721ac07a526"}], "type": "volume", "id": "8f6a9e4dc4de40bf8684f6b717fcea2e", "name": "cinder"}, {"endpoints": [{"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6522c5dd174b437ea38fc77da4b6459f"}, {"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "74694d7fcaf24f5991cd62d80c1495cb"}, {"url": "http://10.193.113.74:8786/v1/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b14916a21b2b441ba8dd9c756f235702"}], "type": "share", "id": "aceafebded034ea1b5f93547e70b10a6", "name": "manila"}, {"endpoints": [{"url": "http://10.193.113.74/compute/v2/f2e7e6e3a3af4e3f8a66e78b0bfa843e", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a2884afffcc1479593a019b72ed3a797"}], "type": "compute_legacy", "id": "bfa5eb3ba27946d2b104de853a46bfa1", "name": "nova_legacy"}, {"endpoints": [{"url": "http://10.193.113.74/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f1d9064ffc924f40b558a2c44cc88abd"}], "type": "placement", "id": "d27286b30dc84777823cd95bf0cf8e9c", "name": "placement"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "demo", "id": "61217b8f4f954bd492c37c3473c678d4"}, "audit_ids": ["oZqYNU8ERpO8E3N2dbSssw"], "issued_at": "2017-12-19T02:26:24.000000Z"}}
DEBUG (shell:689) list() got an unexpected keyword argument 'search_opts'
Traceback (most recent call last):
File "/opt/stack/python-manilaclient/manilaclient/shell.py", line 684, in main
map(encodeutils.safe_decode, sys.argv[1:]))
File "/opt/stack/python-manilaclient/manilaclient/shell.py", line 553, in main
args.func(self.cs, args)
File "/opt/stack/python-manilaclient/manilaclient/v2/shell.py", line 4065, in do_share_group_type_access_list
share_group_type = _find_share_group_type(cs, args.share_group_type)
File "/opt/stack/python-manilaclient/manilaclient/v2/shell.py", line 3926, in _find_share_group_type
return apiclient_utils.find_resource(cs.share_group_types, sg_type)
File "/opt/stack/python-manilaclient/manilaclient/common/apiclient/utils.py", line 61, in find_resource
return manager.find(human_id=name_or_id, **find_args)
File "/opt/stack/python-manilaclient/manilaclient/base.py", line 192, in find
matches = self.findall(**kwargs)
File "/opt/stack/python-manilaclient/manilaclient/base.py", line 212, in findall
for obj in self.list(search_opts=search_opts):
File "/opt/stack/python-manilaclient/manilaclient/api_versions.py", line 399, in substitution
return method.func(obj, *args, **kwargs)
File "/opt/stack/python-manilaclient/manilaclient/api_versions.py", line 360, in _wrapper
return f(*args, **kwargs)
TypeError: list() got an unexpected keyword argument 'search_opts'
ERROR: list() got an unexpected keyword argument 'search_opts'
Fix proposed to branch: master /review. openstack. org/529301
Review: https:/