1. Description There is no option available for listing all the swift container from all projects using command "openstack container list" Version OSP10 openstack-swift-container-2.10.2-3.el7ost.noarch python-openstackclient-3.2.1-2.el7ost.noarch ~~~ [stack@instack ~]$ openstack container list +--------+ | Name | +--------+ | test03 | | test04 | +--------+ [stack@instack ~]$ openstack container list --os-project-name admin +--------+ | Name | +--------+ | test03 | | test04 | +--------+ [stack@instack ~]$ openstack container list --os-project-name demo +--------+ | Name | +--------+ | test00 | | test01 | +--------+ [stack@instack ~]$ openstack container list --all +--------+ | Name | +--------+ | test03 | | test04 | +--------+ [stack@instack ~]$ ~~~~ 2. Use case An ideal way of displaying container list from all project can be achived by using paramter like "--all-projects" like we do in case of displaying instance via command "openstack server list --all-project". 3. Upstream reference Bugzillas? No Blueprints? No Specs? No 4. RH bugzilla dependencies? No 5. Primary Red Hat contact: a. Name: MD Sufiyan b. Email: msufiyan
Created attachment 1686364 [details] Working test of 3rd Party authentication Works like this: [zaitcev@suzdal tests]$ PYTHONPATH=/q/zaitcev/hail/python-swiftclient-tip python poke10list3p.py -A https://rhev-a24c-01.os.lab.eng.bos.redhat.com:35357/v3 -U ksuserten:ksuser -K u*** [{'name': 'u1', 'count': 0, 'bytes': 0, 'last_modified': '2020-04-26T03:34:47.118650'}] [zaitcev@suzdal tests]$ PYTHONPATH=/q/zaitcev/hail/python-swiftclient-tip python poke10list3p.py -A https://rhev-a24c-01.os.lab.eng.bos.redhat.com:35357/v3 -U ksadmten:ksadmin -K a*** [{'name': 'a1', 'count': 0, 'bytes': 0, 'last_modified': '2020-04-26T02:46:58.690110'}] [zaitcev@suzdal tests]$ PYTHONPATH=/q/zaitcev/hail/python-swiftclient-tip python poke10list3p.py -A https://rhev-a24c-01.os.lab.eng.bos.redhat.com:35357/v3 -U ksadmten:ksadmin -K a*** ksuser [{'name': 'u1', 'count': 0, 'bytes': 0, 'last_modified': '2020-04-26T03:34:47.118650'}] [zaitcev@suzdal tests]$
The --all parameter is not what one might think it is: it forces the CLI to list all containers beyond the default cut-off of 10,000. The proposed syntax is (subject to change): openstack container list --target='*'
Missed Wallaby release so pushing to 18, if there is a strong requirement to get this backported in 17 please reach out to us
Closing this deferred, no activity on this BZ and code is not merged upstream. Please reopen if this decision should be reassessed .