[Yahoo-eng-team] [Bug 2089746] Re: TestCacheWorker.test_worker_lifecycle fails in Python 3.13
Hello Thomas, This should now be fixed with eventlet 0.38.1. Thanks for your report! I'll mark this bug as closed, feel free to reopen it if you still face this issue with eventlet 0.38.1. ** Changed in: glance Status: New => Fix Released ** Changed in: glance Assignee: (unassigned) => Cyril Roelandt (cyril-roelandt) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/2089746 Title: TestCacheWorker.test_worker_lifecycle fails in Python 3.13 Status in Glance: Fix Released Bug description: Hi, This unit tests: glance.tests.unit.v2.test_cache_management_api.TestCacheWorker.test_worker_lifecycle fails when building the Debian package of Glance 29.0.0 in Debian unstable (which is using Python 3.13). Below is the test result: testtools.testresult.real._StringException: pythonlogging:'': {{{ 2024-11-27 08:24:35,418 INFO [glance.api.v2.cached_images] Signaling cache worker thread to exit 2024-11-27 08:24:35,420 INFO [glance.api.v2.cached_images] Cache worker thread exited }}} Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched return func(*newargs, **newkeywargs) File "/<>/glance/tests/unit/v2/test_cache_management_api.py", line 160, in test_worker_lifecycle self.assertFalse(worker.is_alive()) ^^^ File "/usr/lib/python3.13/unittest/case.py", line 738, in assertFalse raise self.failureException(msg) AssertionError: True is not false To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/2089746/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1938162] Re: Verify operation in glance
The reporter provided a fix, I'll close this now. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1938162 Title: Verify operation in glance Status in Glance: Won't Fix Bug description: I installed the Glance service according to the tutorial, but received the following error when testing the image creation: glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility=public WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions usage: glance [--version] [-d] [-v] [--get-schema] [-f] [--os-image-url OS_IMAGE_URL] [--os-image-api-version OS_IMAGE_API_VERSION] [--profile HMAC_KEY] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] [--insecure] [--os-cacert ] [--os-cert ] [--os-key ] [--timeout ] [--collect-timing] [--os-auth-type ] [--os-auth-url OS_AUTH_URL] [--os-system-scope OS_SYSTEM_SCOPE] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-default-domain-id OS_DEFAULT_DOMAIN_ID] [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] ... glance: error: unrecognized arguments: --visibility=public If I remove the "--visitiblity=public", I get the following: glance image-create --name "cirros" --file Downloads/cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare WARNING: The client is falling back to v1 because the accessing to v2 failed. This behavior will be removed in future versions HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available. And if I run with the openstack command, I receive the following error: openstack image list HttpException: 500: Server Error for url: http://openstack-controller:9292/v2/images, Internal Server Error What can be wrong with my installation if I didnt receive error messages during installation? This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [ ] This doc is inaccurate in this way: __ - [ ] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources: - The mailing list: https://lists.openstack.org - IRC: 'openstack' channel on Freenode --- Release: 22.0.0.0rc2.dev2 on 2019-11-18 14:17:08 SHA: b5437773b20db3d6ef20d449a8a43171c8fc7f69 Source: https://opendev.org/openstack/glance/src/doc/source/install/verify.rst URL: https://docs.openstack.org/glance/wallaby/install/verify.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1938162/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1939936] Re: The glance-api service runs but does not respond to requests
Sorry we haven't gotten to this earlier. This looks like an isolated issue with your MySQL database. I don't think this is still an issue, feel free to reopen if needed. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1939936 Title: The glance-api service runs but does not respond to requests Status in Glance: Invalid Bug description: openstack version :V phenomenon: The query images is not returned. telnet ip 9292 ,is ok curl ip:9292 ,no response. glance-api:logs 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines self.dialect.do_execute( 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines cursor.execute(statement, parameters) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/cursors.py", line 163, in execute 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines result = self._query(query) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/cursors.py", line 321, in _query 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines conn.query(q) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/connections.py", line 505, in query 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines self._affected_rows = self._read_query_result(unbuffered=unbuffered) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/connections.py", line 724, in _read_query_result 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines result.read() 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/connections.py", line 1069, in read 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines first_packet = self.connection._read_packet() 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/connections.py", line 646, in _read_packet 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines packet_header = self._read_bytes(4) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines File "/var/lib/openstack/lib/python3.8/site-packages/pymysql/connections.py", line 698, in _read_bytes 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines raise err.OperationalError( 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines oslo_db.exception.DBConnectionError: (pymysql.err.OperationalError) (2013, 'Lost connection to MySQL server during query') 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines [SQL: SELECT 1] 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines (Background on this error at: http://sqlalche.me/e/13/e3q8) 2021-08-11 07:38:11.764 47 ERROR oslo_db.sqlalchemy.engines 2021-08-12 07:22:34.084 47 INFO glance.domain [-] Task [0e45d62c-3670-42b8-9fd3-bfd064c35a78] status changing from pendingto processing 2021-08-12 07:22:37.837 47 INFO glance.common.scripts.image_import.main [-] Task 0e45d62c-3670-42b8-9fd3-bfd064c35a78: Gotimage data uri file:///tmp/staging/3decd27d-b895-4471-9634-03ee1378bab2 to be imported 2021-08-12 07:22:38.081 47 WARNING glance_store._drivers.rbd [-] Since image size is zero we will be doing resize-before-write which will be slower than normal 2021-08-12 07:22:45.863 47 INFO glance.location [-] Image format matched and virtual size computed: 42949672960 2021-08-12 07:22:46.861 47 INFO glance.domain [-] Task [0e45d62c-3670-42b8-9fd3-bfd064c35a78] status changing from processing to success 2021-08-12 07:22:47.011 47 INFO glance.async_.flows.api_image_import [-] 0e45d62c-3670-42b8-9fd3-bfd064c35a78 of api_image_import completed 2021-08-12 07:55:30.629 47 INFO glance.domain [-] Task [08636c18-8dea-4268-9301-bd899328b484] status changing from pendingto processing 2021-08-12 07:55:31.682 47 INFO glance.common.scripts.image_import.main [-] Task 08636c18-8dea-4268-9301-bd899328b484: Gotimage data uri file:///tmp/staging/ee85cc10-6ac6-4645-9404-c70ab56559ca to be imported 2021-08-12 07:55:32.066 47 WARNING glance_store._drivers.rbd [-] Since image size is zero we will be doing resize-before-write which will be slower than normal 2021-08-12 07:55:33.393 47 INFO glance.location [
[Yahoo-eng-team] [Bug 1943492] Re: Fails to set the image name attribute when localtions.metatdata is an empty dict
** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1943492 Title: Fails to set the image name attribute when localtions.metatdata is an empty dict Status in Glance: Fix Released Bug description: glance running 2:18.0.1-0ubuntu1 (bionic-stein) stack-trace: https://paste.ubuntu.com/p/vHc3t8Mnym/ When setting the name attribute from the openstack CLI encounters a stack trace. $ openstack image set --name 'my-custom-name' 'c61f99fc-8530-4d61-8279-709735106ea8' HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. Tracked it down to here: https://github.com/openstack/glance/blob/stable/stein/glance/location.py#L64 I believe if the same patch is applied as on https://github.com/openstack/glance/blob/stable/stein/glance/location.py#L124 this could be a potential work-around, but i'm not familiar with this code To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1943492/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1775736] Re: misleading documentation of filesystem_store_metadata_file config opt
Looking at #1 I think the only issue left was the description of the option in glance_store, which was fixed in #2. I'll close this bug then. ** Changed in: glance Status: Triaged => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1775736 Title: misleading documentation of filesystem_store_metadata_file config opt Status in Glance: Fix Released Status in glance_store: Fix Released Bug description: In glance: The short discussion of the filesystem_store_metadata_file option in doc/source/admin/manage-images.rst is misleading on two counts: (1) It makes it sound like the location metadata is dynamically pulled from the file and returned in the image-show response for any image. In fact, the way this works is that glance will use the info in the file when it writes the image location--so you will only see this metadata for images created *after* the option has been set. (2) The example is misleading in that it uses the same UUID for the mountpoint and for the image_id, which I suppose would work, but it makes it look like the two fields are related. See discussion about this in the glance channel log: http://eavesdrop.openstack.org/irclogs/%23openstack- glance/%23openstack-glance.2018-06-01.log.html#t2018-06-01T20:26:28 to about 21:05 In glance_store: The help text for this option is a bit vague; could stand a rewrite based on the improvements made in the glance docs. See https://github.com/openstack/glance_store/blob/cc97b949033f892d6675692cbc8a24df3ce0e15e/glance_store/_drivers/filesystem.py#L109-L125 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1775736/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1822344] Re: Documentation about glance-api.conf doesn't describe the enabled_backends and default_backend attributes
These parameters are defined in https://docs.openstack.org/glance/latest/configuration/glance_api.html so I'll consider this issue fixed. ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1822344 Title: Documentation about glance-api.conf doesn't describe the enabled_backends and default_backend attributes Status in Glance: Fix Released Bug description: In: https://docs.openstack.org/glance/rocky/configuration/glance_api.html it is reported that stores and default_stores are deprecated against the new attributes enabled_backends and default_backend. But these new attributes are not described at all --- Release: on 2019-03-27 21:58 SHA: 8c3751db21133fde4e47965ac6ea9971b3352c50 Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/configuration/glance_api.rst URL: https://docs.openstack.org/glance/rocky/configuration/glance_api.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1822344/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1993483] Re: Glance Install Guide & Config Ref Docs Need Updates/Enhancements
I think your first point was fixed in 97551b953b6e69c2411578f5a8675e332450d71e (see https://review.opendev.org/c/openstack/glance/+/886557). Your second point has also been fixed, see #1. I'll close this manually, feel free to reopen if needed. ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1993483 Title: Glance Install Guide & Config Ref Docs Need Updates/Enhancements Status in Glance: Fix Released Bug description: The Install Guide for Glance (Zed) is: 1) outdated; still using configuration fields "stores" and "default_store" in the [glance_store] config group (which are deprecated - removed in Rocky) and does not show good examples of how to properly use the newer "enabled_backends" field under the [DEFAULT] config group. Unfortunately the Glance Configuration Reference also doesn't supply enough information on how to use the "enabled_backends" field. For example, what syntax is expected for the dictionary?, is the dictionary a string:string key value pair? What kinds of "type" "values" are acceptable and how are they used elsewhere (it says the key is used later in the "default_backend" field, but the value is never explained, or illustrated with a good example in the documents. 2) should be improved to explain what "MY_SERVICE", "MY_PASSWORD" and "ENTRYPOINT_ID" should be changed to in the [oslo_limit] config group values being assigned to the various config fields. I eventually figured these should be the "glance" user and user password set earlier but I'm still guessing really. And as far as the ENTRYPOINT_ID I figured it was the hash ID of the glance service. Again, another guess. And if so, why not use the glance service name? Those terms, MY_SERVICE etc etc are not explained/referenced anywhere else in the Glance install document (really confusing since they appear out of nowhere). They look to be simply copy pasted from some of the oslo documentation found elsewhere I think. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1993483/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1996009] Re: Install and configure (Ubuntu) in glance
No comment in about two years, I'll close this. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1996009 Title: Install and configure (Ubuntu) in glance Status in Glance: Invalid Bug description: In the following section: Install and configure components 2. Edit the /etc/glance/glance-api.conf file and complete the following actions: The part of "[oslo_limit] section" has been added since Xen. However, /etc/glance/glance-api.conf has no [oslo_limit] section. Because I think this addition is a mistake, so I think it should be deleted altogether. This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [ ] This doc is inaccurate in this way: __ - [x] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources: - The mailing list: https://lists.openstack.org - IRC: 'openstack' channel on OFTC --- Release: 24.1.1.dev5 on 2021-06-03 12:23:49 SHA: 5fbf47378e70537c73394408e69e94449aba1bec Source: https://opendev.org/openstack/glance/src/doc/source/install/install-ubuntu.rst URL: https://docs.openstack.org/glance/yoga/install/install-ubuntu.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1996009/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1820039] Re: glance Windows support
Windows support has been deprecated, so I'm going to close this one. ** Changed in: glance Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1820039 Title: glance Windows support Status in Glance: Won't Fix Bug description: https://review.openstack.org/630705 Dear bug triager. This bug was created since a commit was marked with DOCIMPACT. Your project "openstack/glance" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to. commit 5759ec0b1cbb9153558d52f55b874ab8b45880bb Author: Lucian Petrut Date: Fri Jan 4 10:07:57 2019 + glance Windows support This change will allow glance services to run on Windows, using eventlet wsgi for API services. This change will: * avoid monkey patching the os module on Windows (which causes Popen to fail) * avoiding unavailable signals * avoid renaming in-use files or leaking handles * update the check that ensures that just one scrubber process may run at a time. We can't rely on process names as there might be wrapper processes that have similar names (no she-bangs on Windows, so the scripts are called a bit differently). We'll use a global named mutex instead. A subsequent change will leverage Windows job objects as a replacement for process groups, also avoiding forking when spawning workers. At the moment, some Glance tests cannot run on Windows, which is also covered by subsequent patches. DocImpact blueprint windows-support Change-Id: I3bca69638685ceb11a1a316511ad9a298c630ad5 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1820039/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1527235] Re: [doc] glanceapi.rst missing ova
Fixed in 21c79817518295e96130352fd65859dd132e2055 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1527235 Title: [doc] glanceapi.rst missing ova Status in Glance: Fix Released Bug description: glanceapi.rst missing ova for x-image-meta-container_format To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1527235/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1576710] Re: Glance config generator files need to be updated for oslo_db
** Changed in: glance Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1576710 Title: Glance config generator files need to be updated for oslo_db Status in Glance: Invalid Bug description: The current config generator files at etc/oslo-config-generator/* need to be updated to import the correct packages for oslo_db.concurrency. They currently import oslo.db.concurrency which does not exist in the Mitaka version of oslo.db. I'm currently using the python2-oslo- db-4.6.0-1 package in the RDO repositories to attempt to build these configuration files. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1576710/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1894810] Re: Restart glance-api gives import error boto3
** Changed in: glance Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1894810 Title: Restart glance-api gives import error boto3 Status in Glance: Fix Released Bug description: Restart glance-api gives import error boto3 error log: 2020-09-08 16:28:44.877 19 INFO glance.db.sqlalchemy.metadata [-] File /etc/glance/metadefs/operating-system.json loaded to database. 2020-09-08 16:28:45.066 19 INFO glance.db.sqlalchemy.metadata [-] File /etc/glance/metadefs/software-databases.json loaded to database. 2020-09-08 16:28:45.168 19 INFO glance.db.sqlalchemy.metadata [-] File /etc/glance/metadefs/software-runtimes.json loaded to database. 2020-09-08 16:28:45.254 19 INFO glance.db.sqlalchemy.metadata [-] File /etc/glance/metadefs/software-webservers.json loaded to database. 2020-09-08 16:28:45.283 19 INFO glance.db.sqlalchemy.metadata [-] File /etc/glance/metadefs/storage-volume-type.json loaded to database. 2020-09-08 16:28:45.284 19 INFO glance.db.sqlalchemy.metadata [-] Metadata loading finished 2020-09-08 16:28:53.122 7 INFO glance.async_ [-] Threadpool model set to 'EventletThreadPoolModel' 2020-09-08 16:28:54.136 7 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True. 2020-09-08 16:28:55.492 7 ERROR stevedore.extension [-] Could not load 'glance.store.s3.Store': No module named 'boto3': ModuleNotFoundError: No module named 'boto3' 2020-09-08 16:28:55.599 7 ERROR stevedore.extension [-] Could not load 's3': No module named 'boto3': ModuleNotFoundError: No module named 'boto3' To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1894810/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1972002] Re: [Backport] Add "bochs" as a possible video model
Xena is no longer supported, closing this bug report. ** Changed in: glance Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1972002 Title: [Backport] Add "bochs" as a possible video model Status in Glance: Fix Released Bug description: We added "bochs" as a possible video model in bfc7a178e39ba9e79a6706d7c03edc736eca28dd. This could be backported to yoga/xena. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1972002/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1536226] Re: Not all .po files compiled
The Glance patch was abandoned 5 years ago as it was deemed unnecessary. Similar code merged in other projects has also been removed since. I'm going to close this bug, feel free to reopen if needed. ** Changed in: glance Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1536226 Title: Not all .po files compiled Status in Cinder: Fix Released Status in Glance: Invalid Status in OpenStack Heat: Fix Released Status in OpenStack Identity (keystone): Fix Released Status in neutron: Fix Released Status in OpenStack Compute (nova): Fix Released Status in openstack i18n: Won't Fix Bug description: python setup.py compile_catalog only compiles one .po file per language to a .mo file. By default is the project name, that is nova.po. This means all other nova-log-*.po files are never compiled. The only way to get setup.py compile the other files is calling it several times with different domains set, like for instance `python setup.py --domain nova-log-info` and so on. Since this is not usual, it can be assumed that the usual packages don't contain all the .mo files. To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1536226/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1889664] Re: Image Import 'web-download' is broken with py37+
Yes, there have been releases in the past year, so "manually" closing this. ** Changed in: glance Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1889664 Title: Image Import 'web-download' is broken with py37+ Status in Glance: Fix Released Bug description: The image import method 'web-download' is broken when running under Python 3.7 or newer due to the evenlet issue [0] The fix is merged in eventlet master but not released yet. Also We need to sort out our current requirements cap to be able to get advantage of it. [0] https://github.com/eventlet/eventlet/issues/632 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1889664/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 2079026] Re: Cannot rescue instance if image was deleted
Closing, see https://bugs.launchpad.net/glance/+bug/2079026 . ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/2079026 Title: Cannot rescue instance if image was deleted Status in Glance: Invalid Bug description: Openstack Version: 2023.1 OS: Ubuntu 22.04 Deployment Tool: Kolla-Ansible When I try to rescue an instance that booted from a volume, I cannot do so if the image used for the volume boot has been deleted This is an error message: Instance 6deeed71-c701-42a3-a8f9-d89048a47c11 cannot be rescued: Driver Error: Block Device Mapping is Invalid: failed to get image 844ea429-23a5-43d4-8f65-19c879d63921. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/2079026/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 2079027] Re: Cannot rescue instance if image boot was deleted
It has been a month, so I'll consider that this bug (and https://bugs.launchpad.net/glance/+bug/2079026) can be closed. Feel free to reopen if this is still an issue. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/2079027 Title: Cannot rescue instance if image boot was deleted Status in Glance: Invalid Bug description: Openstack Version: 2023.1 OS: Ubuntu 22.04 Deployment Tool: Kolla-Ansible When I try to rescue an instance that booted from a volume, I cannot do so if the image used for the volume boot has been deleted This is an error message: Instance 6deeed71-c701-42a3-a8f9-d89048a47c11 cannot be rescued: Driver Error: Block Device Mapping is Invalid: failed to get image 844ea429-23a5-43d4-8f65-19c879d63921. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/2079027/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1959186] Re: [rbd] VM created from snapshot becomes a child of that RBD image
** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1959186 Title: [rbd] VM created from snapshot becomes a child of that RBD image Status in Glance: Fix Released Status in OpenStack Compute (nova): Invalid Bug description: When I create an instance from a snapshot, the underlying RBD image of the new instance is actually a child of the snapshot in RBD. Then I can't delete that snapshot because in Ceph it has children and is protected, thus Glance will throw this error: "Image could not be deleted because it is in use: The image cannot be deleted because it is in use through the backend store outside of Glance." Steps to reproduce: 1. Create a server $ openstack server create server-1 2. Create a snapshot from that server $ openstack server image create $SERVER_1_ID 3. Create a new server from the snapshot $ openstack server create --image $SNAPSHOT_ID server-2 4. Try to delete the snapshot, it will throw the above error from Glance (it is in use through the backend store outside of Glance.) $ openstack image delete $SNAPSHOT_ID 5. Check the snapshot image in RBD, it will have the new instance's disk as children. $ rbd children images/$SNAPSHOT_ID > vms/_disk This doesn't happen when creating instances from images uploaded through glance, but only when using images created with `openstack server image create` Environment - Openstack Xena (Nova 17.6.0) - Libvirt with KVM virt_type - RBD for ephemeral storage - Ceph pacific To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1959186/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1885288] Re: cinder glance_store docs out of date
Fixed in 9bd06d24a. ** Changed in: glance Status: Triaged => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1885288 Title: cinder glance_store docs out of date Status in Glance: Fix Released Bug description: Release: 20.1.0.dev24 on 2020-03-03 11:38:02 SHA: e6db0b10a703037f754007bef6f56451086850cd Source: https://opendev.org/openstack/glance/src/doc/source/configuration/configuring.rst URL: https://docs.openstack.org/glance/latest/configuration/configuring.html The section "Configuring the Cinder Storage Backend" needs an update. For one thing, it says that the Cinder backend is experimental (I think experimental status was removed in Rocky, check the release notes). Also (and this is the real point), it is missing the cinder_volume_type option, which has some constraints associated with it that we need to point out. See https://review.opendev.org/#/c/732506/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1885288/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1269935] Re: Updating image metadata fails when value contains newline (\n)
I think this particular API and its associated command (nova image-meta) have been deprecated for a while. I see no specific Glance issue here; feel free to reopen if you think otherwise. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1269935 Title: Updating image metadata fails when value contains newline (\n) Status in Glance: Invalid Bug description: This is a correct request/response (Via LibCloud) to set metadata (without the newline) The metadata I am attempting to add is: {"application_description": "10chartest", "application_version":"1"} # begin 66424056 request -- curl -i -X POST -H 'Host: xx.xx.xx.xx:8774' -H 'X-LC-Request-ID: 66424056' -H 'Accept-Encoding: gzip,deflate' -H 'X-Auth-Token: ' -H 'Content-Type: application/json; charset=UTF-8' -H 'Content-Length: 83' -H 'Accept: application/json' -H 'User-Agent: libcloud/0.14.0-beta3 (OpenStack) ' --data-binary '{"metadata": {"application_description": "10chartest", "application_version": "1"}}' --compress http://xx.xx.xx.xx:8774/v2/3db7423c206849749a77c19f347624bc/images/304fbf85-cc3f-4be6-a729-c5c9d190254f/metadata # begin 66424056:64395816 response -- HTTP/1.1 200 OK Date: Thu, 16 Jan 2014 20:25:36 GMT Content-Length: 256 Content-Type: application/json X-Compute-Request-Id: req-99a0df3d-5432-444f-988f-fcd6d2765fe4 {"metadata": {"application_uuid": "d120cbca-1910-5542-b789-8dabc870c613", "application_description": "10chartest", "application_tags": "[\"R\", \"IGV\"]", "application_owner": "test", "application_name": "Visualization", "application_version": "1"}} # end 66424056:64395816 response -- This is the same request with a newline character as part of the value for the key 'application_description' The metadata I am attempting to add is: {"application_description": "10char\ntest", "application_version":"1"} # begin 66422544 request -- curl -i -X POST -H 'Host: xx.xx.xx.xx:8774' -H 'X-LC-Request-ID: 66422544' -H 'Accept-Encoding: gzip,deflate' -H 'X-Auth-Token: ' -H 'Content-Type: application/json; charset=UTF-8' -H 'Content-Length: 85' -H 'Accept: application/json' -H 'User-Agent: libcloud/0.14.0-beta3 (OpenStack) ' --data-binary '{"metadata": {"application_description": "10char\ntest", "application_version": "1"}}' --compress http://xx.xx.xx.xx:8774/v2/3db7423c206849749a77c19f347624bc/images/304fbf85-cc3f-4be6-a729-c5c9d190254f/metadata # begin 66422544:64395816 response -- HTTP/1.1 200 OK Date: Thu, 16 Jan 2014 20:25:46 GMT Content-Length: 224 Content-Type: application/json X-Compute-Request-Id: req-00caedb5-dedc-44fe-95e4-b48cf93e64ba {"metadata": {"application_name": "Visualization", "application_uuid": "d120cbca-1910-5542-b789-8dabc870c613", "application_description": "10char", "application_owner": "test", "application_tags": "[\"R\", \"IGV\"]"}} # end 66422544:64395816 response -- The second request has two errors: 1. All of the characters following the \n have been removed from the metadata 2. The 'application_version' metadata key-value pair has also been deleted from the image's metadata. Other notes: In my testing of this error, the application_version metadata item would be deleted even if it previously existed in image metadata and even when application_version was never intended to be set in the request above. The 'maxImageMeta' is set to 128, so the # of metadata items should not be limited, and the response is returning a 200 OK, even when the output data does not match the input data, and whole metadata items are missing. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1269935/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1340553] Re: glance image-create command queued
This is the expected behaviour. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1340553 Title: glance image-create command queued Status in Glance: Won't Fix Bug description: When glance image-create command is given with the actual image file, it does accept that without any error or warn message. It goes to queued state and stays there for long. I can see bug 1171206 which says its a property of glance image-create to create a placeholder for image. But in this scenario of not giving proper warning/message from glance, how can one know if its accepting it as a placeholder for image. A warning or confirmation flag when giving glance image-create without image file would be better than silently putting the image to 'queued' state. -Novel To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1340553/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1519837] Re: In Openstack Liberty everything seems working in Glance but logs are not present.
Yes, there is nothing we can do with this, and it's 7 years old, moving to invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1519837 Title: In Openstack Liberty everything seems working in Glance but logs are not present. Status in Glance: Invalid Bug description: s /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.899 DEBUG glance.common.config [-] keystone_authtoken.revocation_cache_time = 10 from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.signing_dir = /var/cache/glance/api from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.tenant_id = None from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.tenant_name = None from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.token_cache_time = 300 from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.trust_id= None from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.900 DEBUG glance.common.config [-] keystone_authtoken.user_domain_id = default from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.901 DEBUG glance.common.config [-] keystone_authtoken.user_domain_name = None from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.901 DEBUG glance.common.config [-] keystone_authtoken.user_id = None from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.901 DEBUG glance.common.config [-] keystone_authtoken.username= glance from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.901 DEBUG glance.common.config [-] image_format.container_formats = ['ami', 'ari', 'aki', 'bare', 'ovf', 'ova'] from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.902 DEBUG glance.common.config [-] image_format.disk_formats = ['ami', 'ari', 'aki', 'vhd', 'vmdk', 'raw', 'qcow2', 'vdi', 'iso'] from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.902 DEBUG glance.common.config [-] oslo_policy.policy_default_rule = default from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.902 DEBUG glance.common.config [-] oslo_policy.policy_dirs= ['policy.d'] from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.902 DEBUG glance.common.config [-] oslo_policy.policy_file= policy.json from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2268 2015-11-25 08:54:28.902 DEBUG glance.common.config [-] from (pid=18932) log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2270 ERROR: Could not bind to 0.0.0.0:9292 after trying for 30 seconds To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1519837/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1599553] Re: glanceclient reports CommunicationError while finding address
I have no idea how to reproduce that, and it's 7 years old, I'll move to invalid. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1599553 Title: glanceclient reports CommunicationError while finding address Status in Glance: Invalid Bug description: The Openstack Interoperability Lab hit this error: "CommunicationError: Error finding address for http://10.245.55.114:9292/v1/images/76e68d23-ef09-4e61-b1ee-356a57e35ae6: [Errno 32] Broken pipe" Using the following components: Block Storage cinder-ceph Compute nova-kvm Database mysql Image Storage glance-ceph Openstack Version mitaka SDN neutron-openvswitch Ubuntu Versionxenial Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/oil_ci/prepare/oil_prepper.py", line 138, in do_prep img = self.prepare_image() File "/usr/lib/python2.7/dist-packages/oil_ci/prepare/oil_prepper.py", line 103, in prepare_image return prepare_image(params, self.os_creds) File "/usr/lib/python2.7/dist-packages/oil_ci/prepare/image.py", line 32, in prepare_image images.append(image.publish_image(**params)) File "/usr/lib/python2.7/dist-packages/oil_ci/openstack/image.py", line 41, in publish_image img.update(is_public=is_public, data=open(path, 'rb')) File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 49, in update self.manager.update(self, **fields) File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 329, in update resp, body = self.client.put(url, headers=hdrs, data=image_data) File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 260, in put return self._request('PUT', url, **kwargs) File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 209, in _request raise exc.CommunicationError(message=message) CommunicationError: Error finding address for http://10.245.55.114:9292/v1/images/76e68d23-ef09-4e61-b1ee-356a57e35ae6: [Errno 32] Broken pipe TestRun #4ecc2e2c-0790-4a98-84fd-a7b21957fb51 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1599553/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1511261] Re: Breaks down functional test 'test_download_image_raises_service_unavailable' on gate-glance-python27 job.
Python2.7 is long gone, and we have not noticed this failure recently, I'll close this bug. Feel free to reopen if needed. ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1511261 Title: Breaks down functional test 'test_download_image_raises_service_unavailable' on gate-glance- python27 job. Status in Glance: Fix Released Bug description: Breaks down functional test 'test_download_image_raises_service_unavailable' on gate-glance-python27 job. I think it's a "floating" bug. http://logs.openstack.org/58/238358/8/check/gate-glance- python27/0c54ead/testr_results.html.gz ft1.783: glance.tests.functional.v2.test_images.TestImages.test_download_image_raises_service_unavailable_StringException: Traceback (most recent call last): File "glance/tests/functional/v2/test_images.py", line 864, in test_download_image_raises_service_unavailable self.assertEqual(503, response.status_code) File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual self.assertThat(observed, matcher, message) File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 503 != 500 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1511261/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1550885] Re: glance.common.scripts.utils.get_image_data_iter() is not python 3 compatible
I think this was fixed with ab4139e30ca56425fb4f62ebf2d5cb48a0455952 . Glance has been working with Python 3 for a while now, so I suspect this is no longer an issue. Feel free to reopen this bug if you think otherwise. ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1550885 Title: glance.common.scripts.utils.get_image_data_iter() is not python 3 compatible Status in Glance: Fix Released Bug description: In Python 3, mode 'rb' should be passed for opening binary files, while mode 'r' should be used for text files. Using 'r' for binary files causes decode errors during read(). Also, in Python 3, read() on the file handle returned by urllib.request.urlopen() returns bytes and not string. The get_image_data_iter() method takes a URI and either uses open() with 'r' mode if the URI represents a local file or uses urllib.request.urlopen() if it does not represent a local file. This returns incompatible file handles in Python 3 since read() on the former returns a string while read() on the other returns bytes. Another issues with this method is that it cannot be used to read binary local files under python 3. Code that uses this method to read zip files, e.g., works fine in python2 but fails in python3. These two issues (incompatible return values and inability to read binary local files) should be fixed for this method to be useful under python3. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1550885/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1641412] Re: [3.0.2.0-51~kilo]Need to add image to glance thru heat
This is 6+ years old and the description is too vague for us to do anything about this. I'll close this bug for now, feel free to reopen if needed. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1641412 Title: [3.0.2.0-51~kilo]Need to add image to glance thru heat Status in Glance: Invalid Status in Juniper Openstack: In Progress Status in Juniper Openstack trunk series: In Progress Bug description: Need support to add image to glance thru heat. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1641412/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1837737] Re: Verify operation in Installation of glance
We do not have enough info on the deployment to be able to provide help, and this is unfortunately 3.5 years old :/ I'll close this, feel free to reopen if needed. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1837737 Title: Verify operation in Installation of glance Status in Glance: Won't Fix Bug description: during verification in step 3 below command gives me below error openstack image create "cirros" \ --file cirros-0.3.4-x86_64-disk.img \ --disk-format qcow2 --container-format bare \ --public error /var/log/glance/api.log 2019-07-24 09:44:40.133 34164 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Unable to establish connection to http://192.168.1.134:35357/v3/auth/tokens: HTTPConnectionPool(host='192.168.1.134', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] ECONNREFUSED',)): ConnectFailure: Unable to establish connection to http://192.168.1.134:35357/v3/auth/tokens: HTTPConnectionPool(host='192.168.1.134', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2019-07-24 09:44:40.135 34164 INFO eventlet.wsgi.server [-] 192.168.1.134 - - [24/Jul/2019 09:44:40] "GET /v2/images HTTP/1.1" 503 418 0.006781 config file /etc/glance/glance-api.log [keystone_authtoken] auth_uri = http://192.168.1.134:5000/v3 auth_url = http://192.168.1.134:35357/v3 memcached_servers = 192.168.1.134:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = glance password = glance also i tried to remove /v3 it gives me same error To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1837737/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1840427] Re: /usr/bin/glance-manage-cache still there but not workable (with stable/rocky)
Rocky is too old at this point for us to fix this issue. ** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1840427 Title: /usr/bin/glance-manage-cache still there but not workable (with stable/rocky) Status in Glance: Won't Fix Bug description: Using the latest commit (b3ff79ffa45f2439d769006fe9eb84ccf5690759) from stable/rocky branch. glance-cache-manage was removed in change Ia086230cc8c92f7b7dfd5b001923110d5bc55d4d but the executable itself is still there because the entrypoint from setup.cfg was not removed. So calling the command now leads to: glance-cache-manage Traceback (most recent call last): File "/openstack/glance/.tox/docs/bin/glance-cache-manage", line 6, in from glance.cmd.cache_manage import main ImportError: No module named cache_manage To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1840427/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1840424] Re: glance manpage building in rocky is broken due to missing glance-cache-manage
This works in master and will not be fixed in stable/stein. ** Changed in: glance Status: In Progress => Fix Released ** Changed in: glance/stein Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1840424 Title: glance manpage building in rocky is broken due to missing glance- cache-manage Status in Glance: Fix Released Status in Glance rocky series: Fix Committed Status in Glance stein series: Won't Fix Bug description: Using the latest commit (b3ff79ffa45f2439d769006fe9eb84ccf5690759) from stable/rocky branch. When trying to build the man pages with: sphinx-build -W -b man doc/source doc/build/man I get: [snipped] looking for now-outdated files... none found pickling environment... done checking consistency... done writing... glance-api.1 { } glance-cache-cleaner.1 { } glance-cache-manage.1 { Exception occurred: File "/home/tom/devel/openstack/glance/.tox/docs/lib/python2.7/site-packages/sphinx/environment/__init__.py", line 782, in get_doctree with open(doctree_filename, 'rb') as f: IOError: [Errno 2] No such file or directory: u'/home/tom/devel/openstack/glance/doc/build/man/.doctrees/cli/glancecachemanage.doctree' The full traceback has been saved in /tmp/sphinx-err-YA1GQ3.log, if you want to report the issue to the developers. This is because commit f126d3b8cc6ea5b8dc45bba52402cadfb4beb041 removed glancecachemanage.rst and the man page building is not tested in CI. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1840424/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1419040] Re: Add copy_from upload option to image creation in v2
As pointed out by Dmitriy, the web-download method for the image import is a replacement for the "copy from" feature of v1. ** Changed in: glance Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1419040 Title: Add copy_from upload option to image creation in v2 Status in Glance: Fix Released Bug description: Horizon relies heavily on the copy_from attribute when creating new images, for example from feedback from deployers we even offer the option to entirely disallow direct file uploads [1] [2] and only let end-user create new images by indicating a URL. It is my understanding that the copy_from attribute isn't currently implemented in Glance v2. As we slowly add proper support for v2 to Horizon [3] it would be really helpful if there was a way to create an image given a URL when using v2 also. If this is already tracked somewhere else, please me know! Thank you. [1] http://docs.openstack.org/developer/horizon/topics/deployment.html#file-uploads [2] http://docs.openstack.org/developer/horizon/topics/settings.html#horizon-images-allow-upload [3] https://blueprints.launchpad.net/horizon/+spec/horizon-glance-v2 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1419040/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1779781] Re: virt/vmware not suport VirtualSriovEthernetCard
$ git tag --contains 475193b11dcda3b8c82a6bdd3faa54607d2b3272 26.0.0 26.0.0.0b2 26.0.0.0b3 26.0.0.0rc1 I don't think another patch is needed, so let's mark this as "fix released". ** Changed in: glance Status: In Progress => Fix Committed ** Changed in: glance Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1779781 Title: virt/vmware not suport VirtualSriovEthernetCard Status in Glance: Fix Released Status in OpenStack Compute (nova): Triaged Bug description: Description === In nova/virt/vmwareapi/vm_util.py: Through the code, this type of "VirtualSriov\ EthernetCard" network card can be managed. But in fact, "VirtualSriovEthernetCard" can not be achieved through the current code architecture. Steps to reproduce == In horizon: * Choose a image that you need to launch; * Update the metadata of this image: hw_vif_model: VirtualSriovEthernetCard (hw_vif_model in `VMware Driver Options`) * Create a VM from this image; * At this time, the background of nova will report an error. Actual result = ”VirtualSriovEthernetCard“ is actually a physical NIC, unlike other virtual NICs that can directly configure properties. The sriovbacking attribute must be configured in its spec, which contains information about vf and pf. This information needs to be obtained through the vsphere client. The vf/pf information included 'system_id' which is needs to be get after vm_vmotion is created. But in current code architecture, this is impossible to achieve Environment === 1.Version: Not related to the version; 2.Hypervisor: compute_driver: vmwareapi.VMwareVCDriver; 3.Storage: Not related to the storage. 4.Networking: core_plugin: vmware_nsx.plugin.NsxDvsPlugin; Logs & Configs == 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall [req-31efa6ac-de11-4352-bec6-49c75a0a847a 72b0403e87184504bfaec9bcff45109c e387c7a4f9fc4e1aa5be07c7e1bfba0e - default default] in fixed duration looping call: VimFaultException: Invalid configuration for device '0'. Faults: ['InvalidDeviceSpec'] 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall Traceback (most recent call last): 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 75, in _inner 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall self.f(*self.args, **self.kw) 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 452, in _poll_task 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall raise task_ex 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall VimFaultException: Invalid configuration for device '0'. 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall Faults: ['InvalidDeviceSpec'] 2018-07-02 19:10:41.827 9772 ERROR oslo_vmware.common.loopingcall Solution == According to the logic of the code, this type of network card is available, but in fact it is confusing here. According to the current code architecture, the problem cannot be fixed. I suggest to delete the corresponding code snippet and add comments to remind users. In the future, if necessary, support this type of network card by adding BP. Here upon is my cordial suggest! :) To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1779781/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1856364] Re: docs: multistore no longer experimental
** Changed in: glance Status: Triaged => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1856364 Title: docs: multistore no longer experimental Status in Glance: Fix Released Bug description: As of today (13 Dec 2019) the api-ref contains a note that the Glance multistore feature is experimental. It became fully supported in Train. Need to fix this in the api-ref and also look through the administration guide and configuration guide to make sure multistore is no longer described as experimental. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1856364/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1903953] Re: not possible to download volume-backed image from glance
It's been 2 years and the reporter has not come back, Invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1903953 Title: not possible to download volume-backed image from glance Status in Glance: Invalid Bug description: Hi, it looks like when i try to download a volume backed images (locaion cinder://) that it is not possible to download the image. glance image-download --file and openstacj image save --file this results in a zero byte file. Has been tested on train installed with openstack ansible. Is this a known bug? Best Thomas To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1903953/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1860589] Re: Install and configure (Ubuntu) in glance
It's been 3 years and the reporter has not come back, Invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1860589 Title: Install and configure (Ubuntu) in glance Status in Glance: Invalid Bug description: Hi team, I am using below Ubuntu version. root@controller:~# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS" I am trying install Glance (Openstack Stein release) on the controller nodes and not able to upload the cirros image. As I am getting below error. root@controller:~# glance image-create --name "cirros" \ > --file cirros-0.4.0-x86_64-disk.img \ > --disk-format qcow2 --container-format bare \ > --visibility=public HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. Using below link for installation: https://docs.openstack.org/glance/stein/install/install-ubuntu.html I have also checked glance-api logs but couldn't able to solve the issue. root@controller:/var/log/glance# tail -200 glance-api.log 2020-01-22 16:51:32.586 3236 INFO glance.common.wsgi [-] Started child 3261 2020-01-22 16:51:32.591 3261 INFO eventlet.wsgi.server [-] (3261) wsgi starting up on http://0.0.0.0:9292 2020-01-22 16:52:56.583 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-c7e306d6-a616-4603-ba44-15c240ae9d1a) 2020-01-22 16:52:57.064 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-d4e634b4-ca50-4c8b-95a4-c8500e317fc3) 2020-01-22 16:52:57.066 3261 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data: keystonemiddleware.auth_token._exceptions.ServiceError: Identity server rejected authorization necessary to fetch token data 2020-01-22 16:52:57.077 3261 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [22/Jan/2020 16:52:57] "GET /v2/images HTTP/1.1" 401 566 1.001467 2020-01-22 16:52:58.233 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3b4e6b91-b69e-4c42-a689-a759a2728c28) 2020-01-22 16:52:58.702 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-fcf68a53-a140-47b8-a731-8f03c870089d) 2020-01-22 16:52:58.703 3261 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data: keystonemiddleware.auth_token._exceptions.ServiceError: Identity server rejected authorization necessary to fetch token data 2020-01-22 16:52:58.711 3261 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [22/Jan/2020 16:52:58] "GET /v2/images HTTP/1.1" 401 566 1.024462 2020-01-22 16:54:51.713 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-57a95211-b490-4ef1-907b-8c41311c6746) 2020-01-22 16:54:52.189 3261 WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-0d742759-1d00-4dfa-bb6d-8555cd958ad2) 2020-01-22 16:54:52.190 3261 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data: keystonemiddleware.auth_token._exceptions.ServiceError: Identity server rejected authorization necessary to fetch token data 2020-01-22 16:54:52.198 3261 INFO eventlet.wsgi.server [-] 127.0.0.1 - - [22/Jan/2020 16:54:52] "GET /v2/schemas/image
[Yahoo-eng-team] [Bug 1889512] Re: feedback our modification and performance after modification
** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1889512 Title: feedback our modification and performance after modification Status in Glance: Won't Fix Status in OpenStack Security Advisory: Won't Fix Bug description: Hi, when I re-scan against a current stable branch, I find some High risk about Command Injection. This risk is in \glance\glance\tests\utils.py so I try to solve this risk. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1889512/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1511862] Re: Bandit tests for Glance
So we've added Bandit tests before removing them a few years later. I think we can consider this bug status should be either "Fix Released" or "Won't Fix" then. ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1511862 Title: Bandit tests for Glance Status in Glance: Fix Released Bug description: Add automated tests for Glance using Bandit. Keystone has Bandit support, and can be used as a basis for support in Glance. https://github.com/openstack/keystone/blob/master/bandit.yaml#L31 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1511862/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1893715] Re: Install and configure (Red Hat) in glance
** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1893715 Title: Install and configure (Red Hat) in glance Status in Glance: Invalid Bug description: "Invalid OpenStack Identity credentials". The above error occurred when I uploaded the image for testing To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1893715/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 2007924] Re: stevedore always shows error if boto3 is not installed
This is fixed by 7dc94f7 in glance_store. ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/2007924 Title: stevedore always shows error if boto3 is not installed Status in Glance: Fix Released Bug description: Currently stevedore always dump the following error in case boto3 is not installed in the system. ERROR stevedore.extension [-] Could not load 'glance.store.s3.Store': No module named 'boto3': ModuleNotFoundError: No module named 'boto3' ERROR stevedore.extension [-] Could not load 's3': No module named 'boto3': ModuleNotFoundError: No module named 'boto3' This error is red herring because missing boto3 does not harm unless s3 backend is actually used. The other stores such as swift store ignores missing library during loading drivers but fails in case swift store is actually requested. It'd be helpful to follow that strategy for s3 backend to avoid confusing error. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/2007924/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 2002033] Re: Install and configure (Ubuntu) in glance
As you can see at https://docs.openstack.org/glance/latest/install/install-ubuntu.html this has been fixed (see also 1409cc94b77be1d771801ad783c9690b3b2fca20). ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/2002033 Title: Install and configure (Ubuntu) in glance Status in Glance: Fix Released Bug description: This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [x] This doc is inaccurate in this way: MY_SERVICE and ENDPOINT_ID is not defined anywhere on what to replace with - [ ] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources: - The mailing list: https://lists.openstack.org - IRC: 'openstack' channel on OFTC --- Release: 24.1.1.dev6 on 2021-06-03 12:23:49 SHA: 3f6c689b7241bc20bc9f7ed398058bc312f81df3 Source: https://opendev.org/openstack/glance/src/doc/source/install/install-ubuntu.rst URL: https://docs.openstack.org/glance/yoga/install/install-ubuntu.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/2002033/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1914531] Re: Inserting location does not insert the new location at the right place
We decided this was not a valid use case. ** Changed in: glance Status: New => Invalid ** Changed in: glance Status: Invalid => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1914531 Title: Inserting location does not insert the new location at the right place Status in Glance: Won't Fix Bug description: Hello! I am providing a reproducer: http://paste.openstack.org/show/802308/ To run it: 1) Setup devstack 2) Install jq 3) Add these two lines in the DEFAULT section of glance-api.conf: show_multiple_locations = True show_image_direct_url = True I know these options are deprecated, but I think using them allows us to see a potential bug. $ bash reproducer.sh [+] Creating an image with no locations +--+--+ | Property | Value| +--+--+ | checksum | None | | container_format | bare | | created_at | 2021-02-04T03:26:32Z | | disk_format | qcow2| | id | eaeb5759-e41a-420c-9ef0-4707097eaf52 | | locations| [] | | min_disk | 0| | min_ram | 0| | name | test-img | | os_hash_algo | None | | os_hash_value| None | | os_hidden| False| | owner| f6372bed278b4d04a78084e86be60103 | | protected| False| | size | None | | status | queued | | tags | [] | | updated_at | 2021-02-04T03:26:32Z | | virtual_size | Not available| | visibility | shared | +--+--+ [+] Adding location at index 0 (https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.raw.xz) [ { "url": "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.raw.xz";, "metadata": {} } ] [+] Adding location at index 0 (https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.qcow2) [ { "url": "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.qcow2";, "metadata": {} }, { "url": "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.raw.xz";, "metadata": {} } ] [+] Showing locations [ { "url": "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.raw.xz";, "metadata": {} }, { "url": "https://download.fedoraproject.org/pub/fedora/linux/releases/33/Cloud/x86_64/images/Fedora-Cloud-Base-33-1.2.x86_64.qcow2";, "metadata": {} } ] Basically, the answers from the API look fine: first we add the .raw.xz image, and it's the only available location. Then we insert the .qcow2 image at position 0, and our 2 locations are in the right order. But then, when showing the image, it seems like the .raw.xz image comes first. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1914531/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1695226] Re: packstack installation failure on centos7
This does not seem Glance-related, I'll close this. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1695226 Title: packstack installation failure on centos7 Status in Glance: Won't Fix Bug description: i creating packstack control node(ocata) in centos 7 getting below error during installation. Copying Puppet modules and manifests [ DONE ] Applying 10.106.138.248_controller.pp 10.106.138.248_controller.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 10.106.138.248_controller.pp Error: Failed to apply catalog: Command: 'openstack ["flavor", "list", "--quiet", "--format", "csv", ["--long", "--all"]]' has been running for more than 40 seconds (tried 8, for a total of 170 seconds) You will find full trace in log /var/tmp/packstack/20170601-160446-NM4KSV/manifests/10.106.138.248_controller.pp.log Please check log file /var/tmp/packstack/20170601-160446-NM4KSV/openstack-setup.log for more information Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * File /root/keystonerc_admin has been created on OpenStack client host 10.106.138.248. To use the command line tools you need to source the file. * To access the OpenStack Dashboard browse to http://10.106.138.248/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1695226/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1177365] Re: Non-JSON policy file causing failure to load policy
We are no longer using JSON policy files, so I'll close this. ** Changed in: glance Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1177365 Title: Non-JSON policy file causing failure to load policy Status in Glance: Won't Fix Bug description: If the file /etc/glance/policy.json is not valid JSON data an unhandled exception is raised by the JSON decoder. $ glance image-list Request returned failure status. Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 383, in handle_one_response result = self.application(self.environ, start_response) File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__ resp = self.call_func(req, *args, **self.kwargs) File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func return self.func(req, *args, **kwargs) File "/opt/stack/glance/glance/common/wsgi.py", line 367, in __call__ response = req.get_response(self.application) File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send application, catch_exc_info=False) File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application app_iter = application(self.environ, start_response) File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 451, in __call__ return self.app(env, start_response) File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__ resp = self.call_func(req, *args, **self.kwargs) File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func return self.func(req, *args, **kwargs) File "/opt/stack/glance/glance/common/wsgi.py", line 364, in __call__ response = self.process_request(req) File "/opt/stack/glance/glance/api/middleware/context.py", line 79, in process_request req.context = self._get_authenticated_context(req) File "/opt/stack/glance/glance/api/middleware/context.py", line 125, in _get_authenticated_context return glance.context.RequestContext(**kwargs) File "/opt/stack/glance/glance/context.py", line 46, in __init__ self.policy_enforcer.check_is_admin(self) File "/opt/stack/glance/glance/api/policy.py", line 155, in check_is_admin return self.check(context, 'context_is_admin', target) File "/opt/stack/glance/glance/api/policy.py", line 145, in check return self._check(context, action, target) File "/opt/stack/glance/glance/api/policy.py", line 115, in _check self.load_rules() File "/opt/stack/glance/glance/api/policy.py", line 67, in load_rules rules = self._read_policy_file() File "/opt/stack/glance/glance/api/policy.py", line 99, in _read_policy_file rules_dict = json.loads(raw_contents) File "/usr/lib/python2.7/json/__init__.py", line 326, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded (HTTP 500) To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1177365/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1210031] Re: Enforce unicode usage within glance
I think this is an issue that solved itself when we moved to Python 3, and no fix is needed. ** Changed in: glance Status: Confirmed => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1210031 Title: Enforce unicode usage within glance Status in Glance: Won't Fix Bug description: Glance currently does not enforce unicode usage within itself, instead, it has a mixed usage of encoded and decoded strings all around. An example of this, is the fact that exceptions expect a str whereas other areas are working w/ unicode. This has forced us to create some workarounds in some cases where more simple str handling would have been possible if there was a standard. This whole behavior should be unified and standardized. It's a good practice to always decode everything and encode it at the very last moment before going "out there". NOTE: To the implementer, pls, make use of safe_encode and safe_decode (openstack/common/strutils.py) when decoding / encoding. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1210031/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1387399] Re: Openstack installation: Devstack- Failed to upload image (500 Internal Server Error) - stable/juno
Kilo is no longer supported, we will not be fixing this. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1387399 Title: Openstack installation: Devstack- Failed to upload image (500 Internal Server Error) - stable/juno Status in Glance: Won't Fix Bug description: Issue: --- Dev stack installation Failed: Failed to upload image - 500 Internal Server Error Steps: - Brand new install using 1.) git clone https://git.openstack.org/openstack-dev/devstack -b stable/juno 2.) $devstack/ ./stack.sh 3.) Failed with below error. Note: Couple of weeks back i was able to install successfully. but recent code changes braking the installation localrc: - https://gist.github.com/anonymous/135e79d34e6b371f3c7f Glance api log: https://gist.github.com/anonymous/82639133f9061c7e7190 stackrc.log --- 2014-10-29 13:25:18.719 | + openstack --os-token a176744d9a474494aece85e99745c4e8 --os-url http://10.201.125.11:9292 image create ubuntu_mysql --public --container-format=bare --disk-format qcow2 2014-10-29 13:26:12.674 | WARNING: urllib3.connectionpool HttpConnectionPool is full, discarding connection: 10.201.125.11 2014-10-29 13:26:12.674 | ERROR: openstack 2014-10-29 13:26:12.674 | 2014-10-29 13:26:12.674 | 500 Internal Server Error 2014-10-29 13:26:12.674 | 2014-10-29 13:26:12.674 | 2014-10-29 13:26:12.675 | 500 Internal Server Error 2014-10-29 13:26:12.675 | Failed to upload image ea100521-3cd9-41c2-9c11-529fdec0154b 2014-10-29 13:26:12.675 | 2014-10-29 13:26:12.675 | 2014-10-29 13:26:12.675 | (HTTP 500) 2014-10-29 13:26:12.704 | + exit_trap 2014-10-29 13:26:12.705 | + local r=1 2014-10-29 13:26:12.705 | ++ jobs -p 2014-10-29 13:26:12.713 | + jobs= 2014-10-29 13:26:12.713 | + [[ -n '' ]] 2014-10-29 13:26:12.713 | + kill_spinner 2014-10-29 13:26:12.733 | + '[' '!' -z '' ']' 2014-10-29 13:26:12.733 | + [[ 1 -ne 0 ]] 2014-10-29 13:26:12.733 | + echo 'Error on exit' 2014-10-29 13:26:12.733 | Error on exit 2014-10-29 13:26:12.733 | + [[ -z /opt/stack/logs ]] 2014-10-29 13:26:12.733 | + /home/mragupat/devstack/tools/worlddump.py -d /opt/stack/logs 2014-10-29 13:26:12.972 | + exit 1 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1387399/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1772651] Re: Glance image creation fails in openstack Queens
Queens and Python2 are no longer supported. The reporter also mentioned that the issue was with their VLAN configuration, so I'm closing this. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1772651 Title: Glance image creation fails in openstack Queens Status in Glance: Won't Fix Bug description: Deployed bundle.yaml for openstack queens on 18.04 Glance uses ha-proxy I can ping IP and connect to 9292 port openstack image create --public --disk-format qcow2 --container-format bare --file cirros-0.4.0-x86_64-disk.qcow2 TEST --debug Output: POST call to image for http://10.202.0.38:9292/v2/images used request id req-818d8ff2-c178-4bd7-9010-352f5dc07679 HTTP/1.1 201 Created Content-Length: 567 Content-Type: application/json Location: http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18 Openstack-Image-Import-Methods: glance-direct,web-download X-Openstack-Request-Id: req-818d8ff2-c178-4bd7-9010-352f5dc07679 Date: Tue, 22 May 2018 12:31:09 GMT Connection: keep-alive {"status": "queued", "name": "TEST", "tags": [], "container_format": "bare", "created_at": "2018-05-22T12:31:08Z", "size": null, "disk_format": "qcow2", "updated_at": "2018-05-22T12:31:08Z", "visibility": "public", "locations": [], "self": "/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18", "min_disk": 0, "protected": false, "id": "0eed83eb-70bb-4df1-8169-f8b8dc907e18", "file": "/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18/file", "checksum": null, "owner": "15f585e6724745ac93f50088e04cb673", "virtual_size": null, "min_ram": 0, "schema": "/v2/schemas/image"} curl -g -i -X PUT -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}f03f3183f8bab442662c56b30c6369f216bea8aa' -H 'Content-Type: application/octet-stream' http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18/file curl -g -i -X DELETE -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: {SHA1}f03f3183f8bab442662c56b30c6369f216bea8aa' -H 'Content-Type: application/octet-stream' http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18 Starting new HTTP connection (2): 10.202.0.38 Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",)) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 116, in run column_names, data = self.take_action(parsed_args) File "/usr/local/lib/python2.7/dist-packages/openstackclient/image/v2/image.py", line 371, in take_action image_client.images.delete(image.id) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/utils.py", line 545, in inner return RequestIdProxy(wrapped(*args, **kwargs)) File "/usr/local/lib/python2.7/dist-packages/glanceclient/v2/images.py", line 274, in delete resp, body = self.http_client.delete(url) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 298, in delete return self._request('DELETE', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/glanceclient/common/http.py", line 253, in _request raise exc.CommunicationError(message=message) CommunicationError: Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",)) clean_up CreateImage: Error finding address for http://10.202.0.38:9292/v2/images/0eed83eb-70bb-4df1-8169-f8b8dc907e18: ('Connection aborted.', BadStatusLine("''",)) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 279, in run result = self.run_subcommand(remainder) File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand result = cmd.run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/local/lib/python2.7/dist-packages/
[Yahoo-eng-team] [Bug 1600109] Re: Unit tests should not perform logging, but some tests still use
This does not seem relevant to Glance. ** Changed in: python-glanceclient Status: Incomplete => Invalid ** Changed in: python-glanceclient Assignee: YaoZheng_ZTE (zheng-yao1) => (unassigned) ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1600109 Title: Unit tests should not perform logging,but some tests still use Status in Cinder: Invalid Status in Glance: Invalid Status in OpenStack Identity (keystone): Won't Fix Status in Magnum: Incomplete Status in OpenStack Compute (nova): Invalid Status in python-cinderclient: Invalid Status in Glance Client: Invalid Status in python-keystoneclient: Won't Fix Status in python-novaclient: Invalid Status in python-rackclient: Expired Status in python-swiftclient: Incomplete Status in rack: Expired Status in OpenStack Object Storage (swift): Invalid Status in OpenStack DBaaS (Trove): Invalid Bug description: We shuld remove the logging To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1600109/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1990946] Re: Dell PowerFlex: Size shown for a volume doesn't match powerflex backend allocation
Nothing in your bug report is related to Glance. If Glance were to use another backend, you could still show the same commands and the same outputs. Your issue is with Cinder itself. I will mark this as Invalid, feel free to reopen if I'm wrong. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1990946 Title: Dell PowerFlex: Size shown for a volume doesn't match powerflex backend allocation Status in Cinder: New Status in Glance: Invalid Bug description: Description When creating a volume, powerflex will round the value of the capacity by a multiple of 8GB leaving inconsistency between cinder which shows the value requested by the user and powerflex which shows the current allocation. Step to reproduce Create a volume with a size different from 8GB multiplier stack@SRA-Left-Openstack1:~/devstack$ openstack volume create --size 3 --type powerflex test_vol_pflex /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes +-+--+ | Field | Value | +-+--+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2022-09-27T09:05:36.735298 | | description | None | | encrypted | False | | id | ebcc7949-2777-4841-9001-6da2b081b6d2 | | migration_status | None | | multiattach | False | | name | test_vol_pflex | | properties | | | replication_status | None | | size | 3 | | snapshot_id | None | | source_volid | None | | status | creating | | type | powerflex | | updated_at | None | | user_id | cf67ca76a2924d21988a3d21101324dd | +-+--+ stack@SRA-Left-Openstack1:~/devstack$ openstack volume list /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead from cryptography.utils import int_from_bytes +--++---+--+-+ | ID | Name | Status | Size | Attached to | +--++---+--+-+ | ebcc7949-2777-4841-9001-6da2b081b6d2 | test_vol_pflex | available | 3 | | | 048a3748-8517-48df-9d37-e16ec2789408 | vol_pflex4 | in-use | 8 | Attached to server1 on /dev/vdb | | 470839d8-bfcf-45c5-ba9f-e6608c42bc49 | voltosnap | available | 9 | | | 620b2198-47bc-4d2a-9a60-2df4c35e91f4 | | in-use | 9 | Attached to serversnap on /dev/vda | | 24e11e0b-44ad-4bee-9dc9-09e64f9413a1 | vol_pflex3 | available | 9 | | | aadf3632-8419-47a2-bbe7-950b51f93fae | vol_pflex3 | error | 8 | | | 4c6092bd-75c0-4546-9360-e3e0ef224779 | vol_pflex2 | in-use | 8 | Attached to server1 on /dev/vda | | 80e0751c-4849-4981-a7cc-2b98d7d360ea | vol_pflex | available | 10 | | +--++---+--+-+ This introduces multiple side effects: 1. Allocation capacity not being monitore
[Yahoo-eng-team] [Bug 1412802] Re: copy-from broken for large files and swift
** Changed in: glance-store Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1412802 Title: copy-from broken for large files and swift Status in Glance: Fix Released Status in glance_store: Won't Fix Bug description: Glance may loose some image data while transferring it to the backing store thus corrupting the image when ALL the following conditions are met: - Image is being created by copying data from remote source (--copy-from CLI parameter or appropriate API call) - Backing store is Swift - Image size is larger then configured "swift_store_large_object_size" In such scenarios the last chunk stored in Swift will have the size significantly less then expected. An attempt to download the image will result in a checksum verification error, however the checksum stored in Glance (with image metadata) is correct, and so is the size. This is easily reproducible even on devstack (if the devstack is configured to run Swift as Glance backend). Just decrease 'swift_store_large_object_size' to some reasonably low value (i.e. 200 Mb) and try to copy-from any image which is larger then that value. After the upload is successful, check the object size in swift (by either summing the sizes of all the chunks or by looking to the size of virtual large object) - they will be lower then expected: glance image-create --name tst --disk-format qcow2 --container-format bare --copy-from http://192.168.56.1:8000/F18-x86_64-cfntools.qcow2 ... glance image-list +--+-+-+--+---++ | ID | Name| Disk Format | Container Format | Size | Status | +--+-+-+--+---++ | fc34ec49-4bd3-40dd-918f-44d3254f2ac9 | tst | qcow2 | bare | 536412160 | active | +--+-+-+--+---++ ... swift stat glance fc34ec49-4bd3-40dd-918f-44d3254f2ac9 --os-tenant-name service --os-username admin Account: AUTH_cce6e9c12fa34c63b64ef29e84861554 Container: glance Object: fc34ec49-4bd3-40dd-918f-44d3254f2ac9 Content Type: application/octet-stream Content Length: 509804544 < see, the size is different! Last Modified: Mon, 19 Jan 2015 15:52:18 GMT ETag: "6d0612f82db9a531b34d25823a45073d" Manifest: glance/fc34ec49-4bd3-40dd-918f-44d3254f2ac9- Accept-Ranges: bytes X-Timestamp: 1421682737.01148 X-Trans-Id: tx01a19f7476a541808c9a1-0054bd28e1 glance image-download tst --file out.qcow2 [Errno 32] Corrupt image download. Checksum was 0eeddae1007f01b0029136d28518f538 expected 3ecddfe0787a392960d230c87a421c6a To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1412802/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1982426] [NEW] Python3.11: "glance-manage" crashes
Public bug reported: Removing a lot of the output since Launchpad is not going to format it properly anyway: $ glance-manage -h ... argparse.ArgumentError: argument command: conflicting subparser: db_version This happens because the argparse module became stricter in Python3.11 and prevents us from adding the same subparser twice: $ cat parser.py import argparse parser = argparse.ArgumentParser() subparsers = parser.add_subparsers(title='Commands') subparsers.add_parser('foo') subparsers.add_parser('foo') subparsers.add_parser('bar') parser.parse_args() $ python3.10 parser.py $ python3.11 parser.py Traceback (most recent call last): File "/tmp/parser.py", line 6, in subparsers.add_parser('foo') File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser raise ArgumentError(self, _('conflicting subparser: %s') % name) argparse.ArgumentError: argument {foo}: conflicting subparser: foo $ ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1982426 Title: Python3.11: "glance-manage" crashes Status in Glance: New Bug description: Removing a lot of the output since Launchpad is not going to format it properly anyway: $ glance-manage -h ... argparse.ArgumentError: argument command: conflicting subparser: db_version This happens because the argparse module became stricter in Python3.11 and prevents us from adding the same subparser twice: $ cat parser.py import argparse parser = argparse.ArgumentParser() subparsers = parser.add_subparsers(title='Commands') subparsers.add_parser('foo') subparsers.add_parser('foo') subparsers.add_parser('bar') parser.parse_args() $ python3.10 parser.py $ python3.11 parser.py Traceback (most recent call last): File "/tmp/parser.py", line 6, in subparsers.add_parser('foo') File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser raise ArgumentError(self, _('conflicting subparser: %s') % name) argparse.ArgumentError: argument {foo}: conflicting subparser: foo $ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1982426/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1449639] Re: RBD: On image creation error, image is not deleted
** Changed in: glance-store/kilo Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1449639 Title: RBD: On image creation error, image is not deleted Status in Glance: Fix Released Status in Glance icehouse series: Fix Released Status in glance_store: Fix Released Status in glance_store kilo series: Fix Released Bug description: When an exception rises while adding/creating an image, and the image has been created, this new image is not properly deleted. The fault lies in the `_delete_image` call of the Store.add method that is providing incorrect arguments. This also affects Glance (Icehouse), since back then glance_store functionality was included there. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1449639/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1552735] Re: test_register_http_image fails with "Failed to establish a new connection: [Errno 101] ENETUNREACH', ))"
We do not support v1 anymore. Should this be an issue, please report this to Tempest. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1552735 Title: test_register_http_image fails with "Failed to establish a new connection: [Errno 101] ENETUNREACH',))" Status in Glance: Won't Fix Bug description: http://logs.openstack.org/45/287545/1/check/gate-tempest-dsvm-neutron- src- oslo.versionedobjects/8b7d058/console.html#_2016-03-03_02_35_17_880 2016-03-03 02:35:17.876 | tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_http_image[id-6d0e13a7-515b-460c-b91f-9f4793f09816] 2016-03-03 02:35:17.877 | --- 2016-03-03 02:35:17.877 | 2016-03-03 02:35:17.877 | Captured traceback: 2016-03-03 02:35:17.877 | ~~~ 2016-03-03 02:35:17.877 | Traceback (most recent call last): 2016-03-03 02:35:17.877 | File "tempest/api/image/v1/test_images.py", line 93, in test_register_http_image 2016-03-03 02:35:17.877 | copy_from=CONF.image.http_image) 2016-03-03 02:35:17.878 | File "tempest/api/image/base.py", line 67, in create_image 2016-03-03 02:35:17.878 | image = cls.client.create_image(**kwargs) 2016-03-03 02:35:17.878 | File "tempest/services/image/v1/json/images_client.py", line 158, in create_image 2016-03-03 02:35:17.878 | resp, body = self.post('v1/images', None, headers) 2016-03-03 02:35:17.878 | File "tempest/lib/common/rest_client.py", line 259, in post 2016-03-03 02:35:17.878 | return self.request('POST', url, extra_headers, headers, body) 2016-03-03 02:35:17.879 | File "tempest/lib/common/rest_client.py", line 642, in request 2016-03-03 02:35:17.879 | resp, resp_body) 2016-03-03 02:35:17.879 | File "tempest/lib/common/rest_client.py", line 700, in _error_checker 2016-03-03 02:35:17.879 | raise exceptions.BadRequest(resp_body, resp=resp) 2016-03-03 02:35:17.879 | tempest.lib.exceptions.BadRequest: Bad request 2016-03-03 02:35:17.879 | Details: 400 Bad Request 2016-03-03 02:35:17.879 | 2016-03-03 02:35:17.880 | The HTTP URL is invalid: HTTPConnectionPool(host='git.openstack.org', port=80): Max retries exceeded with url: /static/openstack.png (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] ENETUNREACH',)) It's trying to get to this: http://git.openstack.org/static/openstack.png For whatever reason it can't. This could just be a hiccup with git.o.o being unavailable. Maybe Tempest should not rely on a remote static image being available and just upload it's own image. logstash is only showing 1 hit but I know there are more since it's behind: http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Max%20retries%20exceeded%20with%20url%3A%20%2Fstatic%2Fopenstack.png%5C%22%20AND%20message%3A%5C%22Failed%20to%20establish%20a%20new%20connection%3A%20%5BErrno%20101%5D%20ENETUNREACH'%2C))%5C%22%20AND%20tags%3A%5C%22screen- g-api.txt%5C%22&from=7d To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1552735/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1276114] Re: errors in db log when i run glance index
** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1276114 Title: errors in db log when i run glance index Status in Glance: Won't Fix Bug description: after some 1-2 weeks of use glance starts to send garbage to the db and finally glance won't work anymore until a reinitialization takes place (drop db, sync_db, re upload imgs). on my production db it started to happen today again i'm using postgresql 9.1, python-psycopg2 2.4.5-1, havana release of glance postgres log Feb 4 08:39:02 infra01 postgres[30429]: [4-1] 2014-02-04 08:39:02 ART ERROR: invalid input syntax for type timestamp: "" at character 4367 Feb 4 08:39:02 infra01 postgres[30429]: [4-2] 2014-02-04 08:39:02 ART STATEMENT: SELECT anon_1.anon_2_images_created_at AS anon_1_anon_2_images_created_at, anon_1.anon_2_images_updated_at AS anon_1_anon_2_images_updated_at, anon_1.anon_2_images_deleted_at AS anon_1_anon_2_images_deleted_at, anon_1.anon_2_images_deleted AS anon_1_anon_2_images_deleted, anon_1.anon_2_images_id AS anon_1_anon_2_images_id, anon_1.anon_2_images_name AS anon_1_anon_2_images_name, anon_1.anon_2_images_disk_format AS anon_1_anon_2_images_disk_format, anon_1.anon_2_images_container_format AS anon_1_anon_2_images_container_format, anon_1.anon_2_images_size AS anon_1_anon_2_images_size, anon_1.anon_2_images_status AS anon_1_anon_2_images_status, anon_1.anon_2_images_is_public AS anon_1_anon_2_images_is_public, anon_1.anon_2_images_checksum AS anon_1_anon_2_images_checksum, anon_1.anon_2_images_min_disk AS anon_1_anon_2_images_min_disk, Feb 4 08:39:02 infra01 postgres[30429]: [4-3] anon_1.anon_2_images_min_ram AS anon_1_anon_2_images_min_ram, anon_1.anon_2_images_owner AS anon_1_anon_2_images_owner, anon_1.anon_2_images_protected AS anon_1_anon_2_images_protected, image_properties_1.created_at AS image_properties_1_created_at, image_properties_1.updated_at AS image_properties_1_updated_at, image_properties_1.deleted_at AS image_properties_1_deleted_at, image_properties_1.deleted AS image_properties_1_deleted, image_properties_1.id AS image_properties_1_id, image_properties_1.image_id AS image_properties_1_image_id, image_properties_1.name AS image_properties_1_name, image_properties_1.value AS image_properties_1_value, image_locations_1.created_at AS image_locations_1_created_at, image_locations_1.updated_at AS image_locations_1_updated_at, image_locations_1.deleted_at AS image_locations_1_deleted_at, image_locations_1.deleted AS image_locations_1_deleted, Feb 4 08:39:02 infra01 postgres[30429]: [4-4] image_locations_1.id AS image_locations_1_id, image_locations_1.image_id AS image_locations_1_image_id, image_locations_1.value AS image_locations_1_value, image_locations_1.meta_data AS image_locations_1_meta_data Feb 4 08:39:02 infra01 postgres[30429]: [4-5] #011FROM (SELECT anon_2.images_created_at AS anon_2_images_created_at, anon_2.images_updated_at AS anon_2_images_updated_at, anon_2.images_deleted_at AS anon_2_images_deleted_at, anon_2.images_deleted AS anon_2_images_deleted, anon_2.images_id AS anon_2_images_id, anon_2.images_name AS anon_2_images_name, anon_2.images_disk_format AS anon_2_images_disk_format, anon_2.images_container_format AS anon_2_images_container_format, anon_2.images_size AS anon_2_images_size, anon_2.images_status AS anon_2_images_status, anon_2.images_is_public AS anon_2_images_is_public, anon_2.images_checksum AS anon_2_images_checksum, anon_2.images_min_disk AS anon_2_images_min_disk, anon_2.images_min_ram AS anon_2_images_min_ram, anon_2.images_owner AS anon_2_images_owner, anon_2.images_protected AS anon_2_images_protected Feb 4 08:39:02 infra01 postgres[30429]: [4-6] #011FROM (SELECT images.created_at AS images_created_at, images.updated_at AS images_updated_at, images.deleted_at AS images_deleted_at, images.deleted AS images_deleted, images.id AS images_id, images.name AS images_name, images.disk_format AS images_disk_format, images.container_format AS images_container_format, images.size AS images_size, images.status AS images_status, images.is_public AS images_is_public, images.checksum AS images_checksum, images.min_disk AS images_min_disk, images.min_ram AS images_min_ram, images.owner AS images_owner, images.protected AS images_protected Feb 4 08:39:02 infra01 postgres[30429]: [4-7] #011FROM images Feb 4 08:39:02 infra01 postgres[30429]: [4-8] #011WHERE images.is_public = true OR images.owner = 'af41371701004068b2532695ed57f16f' UNION SELECT images.created_at AS images_created_at, images.updated_at AS images_updated_at, images.deleted_at AS images_deleted_at, images.deleted AS images_deleted, images.id AS images_id, images.name AS images_name, images.disk_format AS images_disk_format, images.container_format AS images_co
[Yahoo-eng-team] [Bug 1320655] Re: UnicodeDecodeError in the nova gate logs
This is old and looks Py2-related, so we won't be fixing this. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1320655 Title: UnicodeDecodeError in the nova gate logs Status in Glance: Won't Fix Status in OpenStack Compute (nova): Invalid Status in Glance Client: Fix Released Bug description: http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcIlVuaWNvZGVEZWNvZGVFcnJvclwiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDAwNDI3ODM3NzE0LCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9 message: "UnicodeDecodeError" Looks like the n-cpu tries to long something not unicide. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1320655/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1778784] Re: mox_fixture = self.useFixture(moxstubout.MoxStubout()) usage is deprecated from oslo.test 3.5.0
Glance is not using MoxStubout, closing this. ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1778784 Title: mox_fixture = self.useFixture(moxstubout.MoxStubout()) usage is deprecated from oslo.test 3.5.0 Status in Glance: Fix Released Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) rocky series: Fix Committed Bug description: Due to this deprecation in oslo.test 3.5.0: https://github.com/openstack/oslotest/commit/cae8c8d51a94b891ce5b311a91d01b4264b296d2#diff-72a674ad74b628edbd0f73729c353b85R24 We get this warning quite a bit: nova/test.py:323: DeprecationWarning: Using class 'MoxStubout' (either directly or via inheritance) is deprecated in version '3.5.0' mox_fixture = self.useFixture(moxstubout.MoxStubout()) A simple alternative for nova is to just use the same fixture from mox3: http://git.openstack.org/cgit/openstack/mox3/tree/mox3/fixture.py#n21 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1778784/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1614432] Re: test/unit/api: needs converting to use mock instead of mox
I don't think we use mox anywhere anymore, so let's close this. ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1614432 Title: test/unit/api: needs converting to use mock instead of mox Status in Glance: Fix Released Bug description: Some unit test in /test/unit/api/* use moc. So we need to convert to use mock instead of mox. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1614432/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1535514] Re: run_test virtual-env-path args not work
$ find . -name run_tests.sh $ Not going to work on this then :) ** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1535514 Title: run_test virtual-env-path args not work Status in Glance: Won't Fix Status in OpenStack Shared File Systems Service (Manila): Won't Fix Bug description: when run the unit test use arg virtual-env-path, the venv path not point to the args one exec ./run_tests.sh --virtual-env-path /opt/stack the venv-path is $(pwd), not /opt/stack as in run_tests.sh it export environ value of venv_path, tools_path, venv_name. But in the install_venv.py not get the environ. And in the with_venv.sh not get the environ in the neutron and get wrong value of VENV_PATH, TOOLS_PATH, VENV_NAME. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1535514/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1277489] Re: FAIL: glance.tests.unit.v2.test_images_resource.TestImagesController.test_index_next_marker
Python 2.7 has been deprecated years ago, we will not fix this. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1277489 Title: FAIL: glance.tests.unit.v2.test_images_resource.TestImagesController.test_index_next_marker Status in Glance: Won't Fix Bug description: Hi, glance unit test fail on gate-glance-python27 http://logs.openstack.org/01/67701/7/check/gate-glance-python27/cd6f7fe/nose_results.html 2014-02-05 14:29:51.587 | == 2014-02-05 14:29:51.587 | FAIL: glance.tests.unit.v2.test_images_resource.TestImagesController.test_index_next_marker 2014-02-05 14:29:51.588 | -- 2014-02-05 14:29:51.588 | _StringException: Traceback (most recent call last): 2014-02-05 14:29:51.588 | File "/home/jenkins/workspace/gate-glance-python27/glance/tests/unit/v2/test_images_resource.py", line 219, in test_index_next_marker 2014-02-05 14:29:51.588 | self.assertEqual(2, len(output['images'])) 2014-02-05 14:29:51.589 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual 2014-02-05 14:29:51.589 | self.assertThat(observed, matcher, message) 2014-02-05 14:29:51.589 | File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat 2014-02-05 14:29:51.590 | raise mismatch_error 2014-02-05 14:29:51.590 | MismatchError: 2 != 1 2014-02-05 14:29:51.590 | seems to be related to gate, I cannot reproduce the error locally. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1277489/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1477142] Re: Remove redundant commas
$ git grep _get_sort_key $ Marking as invalid ** Changed in: glance Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1477142 Title: Remove redundant commas Status in Glance: Invalid Bug description: In glance source, there is redundant comma in front of parenthesis. For example in below: def _get_sort_key(self, req): """Parse a sort key query param from the request object.""" sort_key = req.params.get('sort_key', 'created_at') if sort_key is not None and sort_key not in SUPPORTED_SORT_KEYS: _keys = ', '.join(SUPPORTED_SORT_KEYS) msg = _("Unsupported sort_key. Acceptable values: %s") % (_keys,) raise exc.HTTPBadRequest(explanation=msg) return sort_key in line six, the commas behind "_keys" is redundant, so we should remove it . To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1477142/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1595433] Re: Failed to generate conf of glance
This was probably a setup issue, we're not going to work on it. ** Changed in: glance Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1595433 Title: Failed to generate conf of glance Status in Glance: Invalid Bug description: When exec: oslo-config-generator --config-dir=etc/oslo-config-generator/ Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 11, in sys.exit(main()) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 439, in main generate(conf) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 421, in generate groups = _get_groups(_list_opts(conf.namespace)) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 340, in _list_opts loaders = _get_raw_opts_loaders(namespaces) File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 312, in _get_raw_opts_loaders invoke_on_load=False) File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 55, in __init__ verify_requirements) File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 171, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 163, in _load_plugins verify_requirements, File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin verify_requirements, File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 184, in _load_one_plugin plugin = ep.resolve() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) ImportError: No module named db.concurrency error: Bad exit status from /var/tmp/rpm-tmp.jzkU1v (%build) To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1595433/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1604397] Re: [SRU] python-swiftclient is missing in requirements.txt (for glare)
Glare has not been used in a long while, so we won't be fixing this. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1604397 Title: [SRU] python-swiftclient is missing in requirements.txt (for glare) Status in Ubuntu Cloud Archive: Fix Released Status in Ubuntu Cloud Archive newton series: Fix Released Status in Glance: Won't Fix Status in python-glance-store package in Ubuntu: Fix Released Status in python-glance-store source package in Yakkety: Fix Released Status in python-glance-store source package in Zesty: Fix Released Bug description: [Description] [Test Case] I'm using UCA glance packages (version "13.0.0~b1-0ubuntu1~cloud0"). And I've got this error: <30>Jul 18 16:03:45 node-2 glance-glare[17738]: ERROR: Store swift could not be configured correctly. Reason: Missing dependency python_swiftclient. Installing "python-swiftclient" fix the problem. In master (https://github.com/openstack/glance/blob/master/requirements.txt) package "python-swiftclient" is not included in requirements.txt. So UCA packages don't have proper dependencies. I think requirements.txt should be updated (add python-swiftclient there). This change should affect UCA packages. [Regression Potential] Minimal as this just adds a new dependency. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1604397/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1755689] Re: open stack queens glance upload and verification error
It's been 4 years, we have no relevant information to reproduce this, marking as invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1755689 Title: open stack queens glance upload and verification error Status in Glance: Invalid Bug description: open stack queens glance image upload and verification error : HTTPInternalServerError (HTTP 500) To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1755689/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1762665] Re: Maybe wrong config in "Install and configure (Red Hat) in glance"
It's been 4 years, I don't think we'll ever get an answer, marking as invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1762665 Title: Maybe wrong config in "Install and configure (Red Hat) in glance" Status in Glance: Invalid Bug description: This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes: - [x] This doc is inaccurate in this way: ___auth_url = http://controller:5000___ - [ ] This is a doc addition request. - [ ] I have a fix to the document that I can paste below including example: input and output. If you have a troubleshooting or support issue, use the following resources: - Ask OpenStack: http://ask.openstack.org - The mailing list: http://lists.openstack.org - IRC: 'openstack' channel on Freenode --- Release: 16.0.1.dev11 on 'Sat Apr 7 22:02:25 2018, commit 5326f64' SHA: 5326f644439f5b7c81a8da12189af52dec6f33b1 Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/install-rdo.rst URL: https://docs.openstack.org/glance/queens/install/install-rdo.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1762665/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1938051] Re: Verify operation in glance
Stein has been deprecated for a while, and the reporter has not come back to us after a year, so I'll mark this as invalid. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1938051 Title: Verify operation in glance Status in Glance: Invalid Bug description: Hii, I'm using https://docs.openstack.org/glance/stein/install/verify.html this documentation. When i run the command: openstack image create "cirros" \ --file cirros-0.4.0-x86_64-disk.img \ --disk-format qcow2 --container-format bare \ --public it gives me this: HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation. --- Release: on 2018-02-13 11:52:51 SHA: 149ea050cc58f39eaf9b4660bb8f0271b99d03da Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/verify.rst URL: https://docs.openstack.org/glance/stein/install/verify.html To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1938051/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1942977] Re: Escape characters in the returned exception prompt
** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1942977 Title: Escape characters in the returned exception prompt Status in Glance: Won't Fix Bug description: # curl -H "X-Auth-Token: $token" http://glance.openstack.svc.region-native-test.myinspurcloud.com//v2/images?protected=true11 400 Bad Request 400 Bad Request Invalid value 'true11' for 'protected' filter. Valid values are 'true' or 'false'. There are "'" in messages that should be removed. Glance version: commit ad39c12c64c8ff017918a8790d69d5278ac379da (HEAD -> stable/rocky, tag: rocky-em, tag: 17.0.1, origin/stable/rocky) Merge: 8d9ff5f5 f992a0b2 Author: Zuul Date: Fri Sep 20 18:25:41 2019 + Merge "Fix manpage building and remove glance-cache-manage" into stable/rocky To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1942977/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1828064] Re: Devstack fails due to "g-api didn't start" error
This is probably fine now. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1828064 Title: Devstack fails due to "g-api didn't start" error Status in Glance: Invalid Bug description: I saw it recently at least couple of times in Neutron gates that our tempest jobs failed due to error in devstack "/opt/stack/devstack/lib/glance:353 g-api did not start" Examples: http://logs.openstack.org/22/655922/3/gate/tempest-slow-py3/c3a12eb/controller/logs/devstacklog.txt.gz http://logs.openstack.org/22/655922/3/gate/tempest-full-py3/e7e7551/controller/logs/devstacklog.txt.gz http://logs.openstack.org/03/653903/3/check/tempest-full/929670a/controller/logs/devstacklog.txt.gz I don't know if that is some bug in glance-api or maybe it was just related to some very slow test node on which this was running. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1828064/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1775739] Re: functional-py35 tests failing with eventlet 0.22.1
This is an old bug, and apparently we did not need a patch, so let's mark it as invalid. ** Changed in: glance Status: Triaged => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1775739 Title: functional-py35 tests failing with eventlet 0.22.1 Status in Glance: Invalid Bug description: See https://review.openstack.org/#/c/571797/ NOTE: the cross-checks for changes in upper-constraints do not run the glance functional tests, only unit tests. The requirements gate runs a cross-nova-functional test; we should add a cross-glance-functional test. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1775739/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1620214] Re: Sheepdog: command execution failure
** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1620214 Title: Sheepdog: command execution failure Status in Glance: Fix Released Bug description: Sheepdog driver fail to execute 'collie' commands. How to reproduce: $ glance image-create --name img00 --disk-format raw --container-format bare --file /tmp/data.img +--+--+ | Property | Value| +--+--+ | checksum | None | | container_format | bare | | created_at | 2016-09-05T07:58:51Z | | disk_format | raw | | id | 66e9827a-e254-4b37-b889-07c6764118d6 | | min_disk | 0| | min_ram | 0| | name | img00| | owner| cb433b293d6c498d9a8a3989bb4275ab | | protected| False| | size | None | | status | queued | | tags | [] | | updated_at | 2016-09-05T07:58:51Z | | virtual_size | None | | visibility | private | +--+--+ 500 Internal Server Error The server has either erred or is incapable of performing the requested operation. (HTTP 500) traceback of g-api: 2016-09-05 07:58:52.207 DEBUG oslo_concurrency.processutils [req-6e1899f4-5c47-4d88-9a08-cbf8a7a67e0c de40eaf63efe4b3ea8d9c83b97482736 cb433b293d6c498d9a8a3989bb4275ab] Running cmd (subprocess): collie vdi list -r -a 127.0.0.1 -p 7000 66e9827a-e254-4b37-b889-07c6764118d6 from (pid=17867) execute /usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:344 2016-09-05 07:58:52.222 DEBUG oslo_concurrency.processutils [req-6e1899f4-5c47-4d88-9a08-cbf8a7a67e0c de40eaf63efe4b3ea8d9c83b97482736 cb433b293d6c498d9a8a3989bb4275ab] u'collie vdi list -r -a 127.0.0.1 -p 7000 66e9827a-e254-4b37-b889-07c6764118d6 ' failed. Not Retrying. from (pid=17867) execute /usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:422 2016-09-05 07:58:52.224 DEBUG oslo_messaging._drivers.amqpdriver [req-6e1899f4-5c47-4d88-9a08-cbf8a7a67e0c de40eaf63efe4b3ea8d9c83b97482736 cb433b293d6c498d9a8a3989bb4275ab] CAST unique_id: fa25c1bf930b44ceb9ff56246e4f2666 NOTIFY exchange 'glance' topic 'notifications.error' from (pid=17867) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:432 2016-09-05 07:58:52.229 ERROR glance.api.v2.image_data [req-6e1899f4-5c47-4d88-9a08-cbf8a7a67e0c de40eaf63efe4b3ea8d9c83b97482736 cb433b293d6c498d9a8a3989bb4275ab] Failed to upload image data due to internal error 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data Traceback (most recent call last): 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/opt/stack/glance/glance/api/v2/image_data.py", line 114, in upload 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data image.set_data(data, size) 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/opt/stack/glance/glance/domain/proxy.py", line 195, in set_data 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data self.base.set_data(data, size) 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/opt/stack/glance/glance/notifier.py", line 485, in set_data 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data _send_notification(notify_error, 'image.upload', msg) 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__ 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data self.force_reraise() 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data six.reraise(self.type_, self.value, self.tb) 2016-09-05 07:58:52.229 TRACE glance.api.v2.image_data File "/opt/stack/glance/glance/notifier.py", line 432, in set_data 2016-09-05 07:58:52.229 TRAC
[Yahoo-eng-team] [Bug 1775071] Re: functional tests string mismatch error in py35
** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1775071 Title: functional tests string mismatch error in py35 Status in Glance: Fix Released Bug description: This happens for me locally when running 'tox -e functional-py35', but doesn't seem to happen in the gate: == Failed 2 tests - output below: == glance.tests.functional.test_glance_manage.TestGlanceManage.test_contract - Captured traceback: ~~~ b'Traceback (most recent call last):' b' File "/home/rosmabr/working/repos/glance/glance/tests/utils.py", line 168, in _runner' b'func(*args, **kw)' b' File "/home/rosmabr/working/repos/glance/glance/tests/utils.py", line 184, in wrapped' b'func(*a, **kwargs)' b' File "/home/rosmabr/working/repos/glance/glance/tests/functional/test_glance_manage.py", line 176, in test_contract' b"self.assertIn('Database is up to date. No migrations needed.', out)" b' File "/home/rosmabr/working/repos/glance/.tox/functional-py35/lib/python3.5/site-packages/testtools/testcase.py", line 417, in assertIn' b'self.assertThat(haystack, Contains(needle), message)' b' File "/home/rosmabr/working/repos/glance/.tox/functional-py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat' b'raise mismatch_error' b"testtools.matchers._impl.MismatchError: 'Database is up to date. No migrations needed.' not in b'Database is up to date. No migrations needed.\\n'" b'' glance.tests.functional.test_glance_manage.TestGlanceManage.test_expand --- Captured traceback: ~~~ b'Traceback (most recent call last):' b' File "/home/rosmabr/working/repos/glance/glance/tests/utils.py", line 168, in _runner' b'func(*args, **kw)' b' File "/home/rosmabr/working/repos/glance/glance/tests/utils.py", line 184, in wrapped' b'func(*a, **kwargs)' b' File "/home/rosmabr/working/repos/glance/glance/tests/functional/test_glance_manage.py", line 137, in test_expand' b"'No expansion needed.', out)" b' File "/home/rosmabr/working/repos/glance/.tox/functional-py35/lib/python3.5/site-packages/testtools/testcase.py", line 417, in assertIn' b'self.assertThat(haystack, Contains(needle), message)' b' File "/home/rosmabr/working/repos/glance/.tox/functional-py35/lib/python3.5/site-packages/testtools/testcase.py", line 498, in assertThat' b'raise mismatch_error' b"testtools.matchers._impl.MismatchError: 'Database expansion is up to date. No expansion needed.' not in b'Database expansion is up to date. No expansion needed.\\n'" b'' The problematic line looks like this: assertIn('expected', actual) We can convert 'actual' to a string and then the comparison should work on both py27 and py35. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1775071/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1030697] Re: Glance replicator assumes owner ids are identical on both glance servers
The Glance replicator has been deprecated for a while, we won't be looking into this issue. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1030697 Title: Glance replicator assumes owner ids are identical on both glance servers Status in Glance: Won't Fix Bug description: This is true if both glance servers share a common keystone installation, but is not true if there is a separate keystone per glance server. We need some sort of user translation implementation here. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1030697/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1411215] Re: Add an option to replicator to select which images to compare/copy
The Glance replicator has been deprecated for a while, we won't be looking into this issue. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1411215 Title: Add an option to replicator to select which images to compare/copy Status in Glance: Won't Fix Bug description: It would be nice to add some sort of filter to images considered by glance-replicator. Two types of a filters would be nice : * a list of ids * a list of names (and maybe some sort of regexp on the names, for example --filter "ubuntu-*") A quick look at the code makes me think this can easily be added in the def get_images just before the yield. For interfacing I would add : --filter-by-name 'item1,item2,item3" --filter-by-name 'ubuntu-*' --filter-by-id 'id1,id2,id3' Am willing to contribute a patch if feature request is adopted (we are going to implement it anyway). To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1411215/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1213822] Re: glance-replicator: decode dictionary to str recursively before doing diff
The Glance replicator has been deprecated for a while, we won't be looking into this issue. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1213822 Title: glance-replicator: decode dictionary to str recursively before doing diff Status in Glance: Won't Fix Bug description: When syncing images across different datacenters via glance-relicator, some images' metadata are always updated to the slave glance, even it has already been synced before. The problem lies in here: log output: metadata diff -- value differs for key properties: master "{u'vm_mode': u'hvm'}" vs slave "{'vm_mode': 'hvm'}" ... metadata has changed .. On doing image compare, glance-replicator gets image metadatas from both master and slave. Then it try to do a 'diff' for these metadatas. If the metadatas are different according to the diff result, metadatas from the master are updated to the slave. The _dict_diff() function are responsible for doing metadate comparing. It translate the metadata dictionary to str before doing compare, but it doesn't handle the situation when metadata dictionary has sub-dictionary. A fix is needed to decode metadata dictionary to str recursively before doing diff, so that sub-dictionary items could also be translated to str. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1213822/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1465188] Re: Functional test case are failed "Invalid: Url can't contain 4 byte unicode characters."
** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1465188 Title: Functional test case are failed "Invalid: Url can't contain 4 byte unicode characters." Status in Glance: Won't Fix Bug description: Here is a log trace 2015-06-15 08:09:36,098 INFO 127.0.0.1 - - [15/Jun/2015 08:09:36] "POST /rpc HTTP/1.1" 200 782 0.030830 2015-06-15 08:09:36,099 DEBUG Reloaded policy file: /tmp/tmphXORLJ/etc/policy.json 2015-06-15 08:09:36,100 DEBUG Reloaded policy file: /tmp/tmphXORLJ/etc/policy.json 2015-06-15 08:09:36,107 ERROR RPC Call Error: Url can't contain 4 byte unicode characters. Traceback (most recent call last): File "glance/common/rpc.py", line 180, in __call__ result = method(req.context, **kwargs) File "glance/db/sqlalchemy/api.py", line 129, in image_create return _image_update(context, values, None, purge_props=False) File "/usr/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f return Retrying(*dargs, **dkw).call(f, *args, **kw) File "/usr/lib/python2.7/site-packages/retrying.py", line 206, in call return attempt.get(self._wrap_exception) File "/usr/lib/python2.7/site-packages/retrying.py", line 247, in get six.reraise(self.value[0], self.value[1], self.value[2]) File "/usr/lib/python2.7/site-packages/retrying.py", line 200, in call attempt = Attempt(fn(*args, **kwargs), attempt_number, False) File "glance/common/utils.py", line 714, in wrapper return f(*args, **kwargs) File "glance/db/sqlalchemy/api.py", line 795, in _image_update session=session) File "glance/db/sqlalchemy/api.py", line 886, in _image_locations_set image_location_add(context, image_id, loc, session=session) File "glance/common/utils.py", line 705, in wrapper _check_dict(data_dict) File "glance/common/utils.py", line 702, in _check_dict raise exception.Invalid(msg) Invalid: Url can't contain 4 byte unicode characters. Any pointer to fix this issue To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1465188/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1722128] Re: Follow installation guide unable to login DB
Fixed in 7191c7ac055404aebe43a3e6279cafe353f83762 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1722128 Title: Follow installation guide unable to login DB Status in Glance: Fix Released Bug description: Install glance by following the installation guide: https://docs.openstack.org/glance/latest/install/install-ubuntu.html . I was not able to login to the DB: $ mysql -u root -p Enter password: ERROR 1698 (28000): Access denied for user 'root'@'localhost' To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1722128/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1408940] Re: glance-replicator doesn't support https connection to glance api
** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1408940 Title: glance-replicator doesn't support https connection to glance api Status in Glance: Won't Fix Bug description: Tried to call livecopy command with glance-replicator, encountered the following error: [root@controller66 ~]# glance-replicator livecopy -M $r1_token -S $r2_token 192.168.101.10:9292 controller66.region2.com:9292 2014-12-04 14:03:11.766 804 CRITICAL glance [-] BadStatusLine 2014-12-04 14:03:11.766 804 TRACE glance Traceback (most recent call last): 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/bin/glance-replicator", line 10, in 2014-12-04 14:03:11.766 804 TRACE glance sys.exit(main()) 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 737, in main 2014-12-04 14:03:11.766 804 TRACE glance command(options, args) 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 477, in replication_livecopy 2014-12-04 14:03:11.766 804 TRACE glance for image in master_client.get_images(): 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 154, in get_images 2014-12-04 14:03:11.766 804 TRACE glance response = self._http_request('GET', url, {}, '') 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib/python2.6/site-packages/glance/cmd/replicator.py", line 115, in _http_request 2014-12-04 14:03:11.766 804 TRACE glance response = self.conn.getresponse() 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse 2014-12-04 14:03:11.766 804 TRACE glance response.begin() 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib64/python2.6/httplib.py", line 391, in begin 2014-12-04 14:03:11.766 804 TRACE glance version, status, reason = self._read_status() 2014-12-04 14:03:11.766 804 TRACE glance File "/usr/lib64/python2.6/httplib.py", line 355, in _read_status 2014-12-04 14:03:11.766 804 TRACE glance raise BadStatusLine(line) 2014-12-04 14:03:11.766 804 TRACE glance BadStatusLine 2014-12-04 14:03:11.766 804 TRACE glance After checking the codes, I found that the connection is established with httplib.HTTPConnection for commands, which implies that https connection is not supported. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1408940/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1830026] Re: glance-replicator is deprecated since glance v2
** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1830026 Title: glance-replicator is deprecated since glance v2 Status in Glance: Won't Fix Bug description: The glance-replicator is not usable in newer OpenStack Releases (using Rocky here). glance-replicator size controller:9292 --debug 2019-05-22 12:51:42.174 32480 DEBUG glance.cmd.replicator [-] Request: GET http://controller:9292/v1/images/detail?is_public=None with headers {} _http_request /usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:164 2019-05-22 12:51:42.177 32480 DEBUG glance.cmd.replicator [-] Response: 300 Multiple Choices {'date': 'Wed, 22 May 2019 10:51:42 GMT', 'content-length': '852', 'content-type': 'application/json'} _http_request /usr/lib/python2.7/dist-packages/glance/cmd/replicator.py:174 Total size is 0 bytes (0.0 B) across 0 images Source shows, that the v1 endpoint is hardcoded. Glance v1 has been deprecated since Newton. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1830026/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1599187] Re: glance-replicator size: Handle no slavetoken case better
** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1599187 Title: glance-replicator size: Handle no slavetoken case better Status in Glance: Won't Fix Bug description: I think `glance-replicator size` should display a more informative error message if no token was provided. Currently it doesn't check for the no token case and then fails with an HTTP 401 error: ``` $ glance-replicator size az3:9292 2016-07-04 09:58:58.675 31732 CRITICAL glance [-] HTTPUnauthorized: 401 Unauthorized This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does> 2016-07-04 09:58:58.675 31732 ERROR glance Traceback (most recent call last): ... 2016-07-04 09:58:58.675 31732 ERROR glance File "/Users/marca/dev/git-repos/glance/glance/cmd/replicator.py", line 166, in _http_request 2016-07-04 09:58:58.675 31732 ERROR glance explanation=response.read()) 2016-07-04 09:58:58.675 31732 ERROR glance HTTPUnauthorized: 401 Unauthorized 2016-07-04 09:58:58.675 31732 ERROR glance 2016-07-04 09:58:58.675 31732 ERROR glance This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials> 2016-07-04 09:58:58.675 31732 ERROR glance 2016-07-04 09:58:58.675 31732 ERROR glance 2016-07-04 09:58:58.675 31732 ERROR glance ``` I think it would be more user-friendly to display a specific error message saying that the `slavetoken` is required: ``` $ glance-replicator size az3:9292 2016-07-05 07:36:48.365 69704 CRITICAL glance [-] MissingCredentialError: Missing required credential: slavetoken ... ``` To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1599187/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1978869] [NEW] bindep: SUSE & dpkg-based platforms require some fixes
Public bug reported: tl;dr: - On OpenSUSE Tumbleweed, pg_config is provided by postgresql-server-devel - On OpenSUSE Tumbleweed, qemu-img is provided by qemu-tools (not qemu-img) Details: On Tumbleweed, I ran the following commands: $ tox -ebindep ... Missing packages: gcc libffi48-devel libmysqlclient-devel mariadb postgresql postgresql-devel postgresql-server python3-devel qemu-img ... $ sudo zypper install gcc libffi48-devel libmysqlclient-devel mariadb postgresql postgresql-devel postgresql-server python3-devel qemu-img $ tox -epy3 ... Collecting psycopg2>=2.8.4 Using cached psycopg2-2.9.3.tar.gz (380 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [25 lines of output] running egg_info creating /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info writing /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/SOURCES.txt' /home/vagrant/glance/.tox/py3/lib/python3.8/site-packages/setuptools/config/setupcfg.py:458: DeprecationWarning: The license_file parameter is dep recated, use license_files instead. warnings.warn(msg, warning_class) Error: pg_config executable not found. ... $ sudo zypper install postgresql-server-devel # Now pg_config is available $ which qemu-img which: no qemu-img in (/home/vagrant/glance/.tox/py3/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/bin) # Installing qemu-tools made qemu-img available. I still could not run "tox -epy3" successfully because of issues with stestr on this OS, but it's pretty clear that bindep.txt should be fixed for OpenSUSE. ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1978869 Title: bindep: SUSE & dpkg-based platforms require some fixes Status in Glance: New Bug description: tl;dr: - On OpenSUSE Tumbleweed, pg_config is provided by postgresql-server-devel - On OpenSUSE Tumbleweed, qemu-img is provided by qemu-tools (not qemu-img) Details: On Tumbleweed, I ran the following commands: $ tox -ebindep ... Missing packages: gcc libffi48-devel libmysqlclient-devel mariadb postgresql postgresql-devel postgresql-server python3-devel qemu-img ... $ sudo zypper install gcc libffi48-devel libmysqlclient-devel mariadb postgresql postgresql-devel postgresql-server python3-devel qemu-img $ tox -epy3 ... Collecting psycopg2>=2.8.4 Using cached psycopg2-2.9.3.tar.gz (380 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [25 lines of output] running egg_info creating /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info writing /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-rk_ofq01/psycopg2.egg-info/SOURCES.txt' /home/vagrant/glance/.tox/py3/lib/python3.8
[Yahoo-eng-team] [Bug 1972002] [NEW] [Backport] Ass "bochs" as a possible video model
Public bug reported: We added "bochs" as a possible video model in bfc7a178e39ba9e79a6706d7c03edc736eca28dd. This could be backported to yoga/xena. ** Affects: glance Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1972002 Title: [Backport] Ass "bochs" as a possible video model Status in Glance: New Bug description: We added "bochs" as a possible video model in bfc7a178e39ba9e79a6706d7c03edc736eca28dd. This could be backported to yoga/xena. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1972002/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1611389] Re: 500 error when using unicode in url
This was a Python2/Glare issue, and both of them have been deprecated. ** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1611389 Title: 500 error when using unicode in url Status in Glance: Won't Fix Bug description: ENVARIMENT: devstack, master 09.08.2016, glance send request: curl -H "X-Auth-Token: token" -H "Content-Type: text/html; charset=UTF-8" -X GET http://host:port/v2/images?name=ввв actual result: 500 error, log http://paste.openstack.org/show/552442/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1611389/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1472999] Re: filter doesn't handle unicode charaters
$ glance image-list --tag ölk ^ this command does not crash with a recent version of glanceclient running on Python3, so I'll have to agree with Sean and consider this bug invalid now. Feel free to reopen if needed. ** Changed in: python-glanceclient Status: Triaged => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1472999 Title: filter doesn't handle unicode charaters Status in OpenStack Dashboard (Horizon): Invalid Status in OpenStack Compute (nova): Fix Released Status in Glance Client: Invalid Status in python-novaclient: Fix Released Bug description: 1 go to project/instances 2. insert 'ölk' into filter field 3. enter filter 4. UnicodeEncodeError at /project/instances/ 'ascii' codec can't encode character u'\xf6' in position 0: ordinal not in range(128) Request Method: GET Request URL: http://localhost:8000/project/instances/ Django Version: 1.8.2 Exception Type: UnicodeEncodeError Exception Value: 'ascii' codec can't encode character u'\xf6' in position 0: ordinal not in range(128) Exception Location: /usr/lib64/python2.7/urllib.py in urlencode, line 1347 Python Executable:/usr/bin/python Python Version: 2.7.10 Python Path: ['/home/mrunge/work/horizon', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages', '/home/mrunge/work/horizon/openstack_dashboard'] To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1472999/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1569937] Re: TypeError: Incorrect padding when setting metadata_encryption_key
This is an old bug that no longer seems relevant; please feel free to reopen it if needed. ** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1569937 Title: TypeError: Incorrect padding when setting metadata_encryption_key Status in Glance: Won't Fix Bug description: We are on liberty. We have show_multiple_locations set, to allow swift locations for images. But when setting metadata_encryption_key to a random 32 char string, glance throws an internal server error, e.g. on image-list: 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi [req-fad0e0cb-1094-40ee-a314-ac189c660329 ed12c3c9e4144827bc2b041da22c94b8 7f0b5f95e9f24cf3924e5aba39fddeca - - -] Caught error: Incorrect padding 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi Traceback (most recent call last): 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 879, in __call__ 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi request, **action_args) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 907, in dispatch 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi return method(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/api/v2/images.py", line 116, in index 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi member_status=member_status) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/api/authorization.py", line 113, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi images = self.image_repo.list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/domain/proxy.py", line 89, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi items = self.base.list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/api/policy.py", line 123, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi return super(ImageRepoProxy, self).list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/domain/proxy.py", line 89, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi items = self.base.list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/domain/proxy.py", line 89, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi items = self.base.list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/domain/proxy.py", line 89, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi items = self.base.list(*args, **kwargs) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/db/__init__.py", line 185, in list 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi image = self._format_image_from_db(db_image, db_image['tags']) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/db/__init__.py", line 201, in _format_image_from_db 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi l['url'] = crypt.urlsafe_decrypt(key, l['url']) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib/python2.7/site-packages/glance/common/crypt.py", line 74, in urlsafe_decrypt 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi ciphertext = base64.urlsafe_b64decode(six.binary_type(ciphertext)) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib64/python2.7/base64.py", line 112, in urlsafe_b64decode 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi return b64decode(s, '-_') 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi File "/usr/lib64/python2.7/base64.py", line 76, in b64decode 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi raise TypeError(msg) 2016-04-13 11:11:00.461 1592 ERROR glance.common.wsgi TypeError: Incorrect padding To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1569937/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1938151] Re: GLANCE_ENABLE_QUOTAS=true seems to cause 502 error when creating an image
Marking this bug as "Invalid" because it's not actually a Glance issue. ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1938151 Title: GLANCE_ENABLE_QUOTAS=true seems to cause 502 error when creating an image Status in devstack: Incomplete Status in Glance: Invalid Bug description: Since [1] merged on Devstack, Magnum CI [2] has been reporting 502 errors when uploading images to Glance. ``` ++ functions:_upload_image:121 : openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create Fedora-Cloud-Base-33-1.2.x86_64 --public --container-format bare --disk-format qcow2 --property hw_rng_model=virtio HttpException: 502: Server Error for url: https://10.210.32.131/image/v2/images/3dc75f76-cbb5-47a3-ab48-f81c127947e9/file, response from an upstream server.: The proxy server received an invalid: Bad Gateway: 502 Bad Gateway: Apache/2.4.41 (Ubuntu) Server at 10.210.32.131 Port 80 + functions:_upload_image:1: exit_trap ``` [1] https://review.opendev.org/c/openstack/devstack/+/788056 [2] https://zuul.opendev.org/t/openstack/build/b5e49d2229754bd99fc4ec21d6abd2b1 To manage notifications about this bug go to: https://bugs.launchpad.net/devstack/+bug/1938151/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1523955] Re: (Import Refactor) Implement `import` call
This was merged a long time ago, closing this bug. ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1523955 Title: (Import Refactor) Implement `import` call Status in Glance: Fix Released Bug description: This is a sub-task for the image import process work: https://review.openstack.org/#/c/232371/ The final `import` call, as it was discussed in the spec so far, will finalize the image import process and trigger the task engine. Most of this triggering logic has been implemented already during Kilo but it will have to be tight to the import process. This work depends on: https://bugs.launchpad.net/glance/+bug/1523937 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1523955/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1482077] Re: admin unable to download image in "deactivated" state
v1 has been deprecated for some time, so I'm closing this bug. ** Changed in: glance Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1482077 Title: admin unable to download image in "deactivated" state Status in Glance: Won't Fix Bug description: Description: when admin user try to download "deactivated" image, getting response "403 forbidden" which is unexpected as per feature "Provide the ability to temporarily deactivate an image". Steps: 1. curl command used to generate token using admin user credential. 2. curl command used to deactivate image using admin token. 3. verified on horizon dashboard that image is in deactivated state. 4. curl command used and tried downloading deactivated image using admin token. 5. received error response "403 Forbidden The requested image has been deactivated. Image data download is forbidden." unexpected. Expected: 1. admin user should be able to download the deactivated image. Supportive details: as per the release note of glance in Kilo under "Provide the ability to temporarily deactivate an image " it was mentioned in "Proposed change" that When an image is placed in the deactivated state, image data may not be downloaded by a non-admin user. This will include all other operations (such as export and cloning) which may need access to image data. Admins may continue to download the data to facilitate testing and examination of the image. +++ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1482077/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1484588] Re: glance startup gives ERROR: Could not bind to 0.0.0.0:9292 after trying for 30 seconds on stable-kilo after attempting service restart
Kilo and Python2 are no longer supported, screen is no longer supported in devstack, and this bug has not been updated in 5 years. I'm closing it, feel free to reopen if needed. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1484588 Title: glance startup gives ERROR: Could not bind to 0.0.0.0:9292 after trying for 30 seconds on stable-kilo after attempting service restart Status in Glance: Won't Fix Bug description: Have a running stable-kilo setup, recently did a restart of all services and glance won't start up. Following error in g-api log: 2015-08-13 09:44:29.916 28813 DEBUG glance.common.config [-] image_format.disk_formats = ['ami', 'ari', 'aki', 'vhd', 'vmdk', 'raw', 'qcow2', 'vdi', 'iso'] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:29.916 28813 DEBUG glance.common.config [-] oslo_policy.policy_default_rule = default log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:29.916 28813 DEBUG glance.common.config [-] oslo_policy.policy_dirs= ['policy.d'] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:29.916 28813 DEBUG glance.common.config [-] oslo_policy.policy_file= policy.json log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:29.916 28813 DEBUG glance.common.config [-] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2197 ^[kERROR: Could not bind to 0.0.0.0:9292 after trying for 30 seconds And same in the g-reg logs: -08-13 09:44:20.743 28806 DEBUG glance.common.config [-] keystone_authtoken.user_id = None log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.743 28806 DEBUG glance.common.config [-] keystone_authtoken.username= glance log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.743 28806 DEBUG glance.common.config [-] image_format.container_formats = ['ami', 'ari', 'aki', 'bare', 'ovf', 'ova'] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.743 28806 DEBUG glance.common.config [-] image_format.disk_formats = ['ami', 'ari', 'aki', 'vhd', 'vmdk', 'raw', 'qcow2', 'vdi', 'iso'] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.743 28806 DEBUG glance.common.config [-] oslo_policy.policy_default_rule = default log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.744 28806 DEBUG glance.common.config [-] oslo_policy.policy_dirs= ['policy.d'] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.744 28806 DEBUG glance.common.config [-] oslo_policy.policy_file= policy.json log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2195 2015-08-13 09:44:20.744 28806 DEBUG glance.common.config [-] log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2197 ERROR: Could not bind to 0.0.0.0:9191 after trying for 30 seconds To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1484588/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1523209] Re: glance image-create fails ValueError: invalid literal for int() with base 16: ''
This looks like a unicode/str encoding/decoding issue from the days of Python2, and kilo has not been supported in a while. I'm closing this, feel free to reopen if needed. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1523209 Title: glance image-create fails ValueError: invalid literal for int() with base 16: '' Status in Glance: Won't Fix Bug description: I am using openstack kilo with rbd store (ceph hammer). Command used to create/upload image: $glance image-create --progress --name cirros-0.3.2 --disk-format qcow2 --container-format bare --is-public True --file cirros-0.3.3-x86_64-disk.img From ceph cluster, this means image has successfully uploaded to ceph cluster, right? == #rbd info images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab rbd image 'b04ba38c-5e41-4e6f-85c7-a68e2d677fab': size 12891 kB in 2 objects order 23 (8192 kB objects) block_name_prefix: rbd_data.2a03e445c34a7 format: 2 features: layering flags: From glance-api.log (Please check the lines marked with <==) == 2015-08-03 16:14:08.408 40309 WARNING glance.api.middleware.version_negotiation [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] Unknown version. Returning version choices. 2015-08-03 16:14:08.411 40309 INFO eventlet.wsgi.server [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] 127.0.0.1,127.0.0.1 - - [03/Aug/2015 16:14:08] "GET / HTTP/1.1" 300 804 0.005931 2015-08-03 16:14:08.412 40309 DEBUG glance_store._drivers.rbd [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] creating image b04ba38c-5e41-4e6f-85c7-a68e2d677fab with order 23 and size 13200896 add /usr/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py:343 <== 2015-08-03 16:14:08.530 40309 DEBUG glance_store._drivers.rbd [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] writing chunk at offset 0 add /usr/lib/python2.7/dist-packages/glance_store/_drivers/rbd.py:379 <== 2015-08-03 16:14:10.584 40307 DEBUG glance.api.middleware.version_negotiation [req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 4802e1920fd64ed9894ee99d88d20d5c - - -] Determining version of request: GET / Accept: process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:47 2015-08-03 16:14:10.585 40307 DEBUG glance.api.middleware.version_negotiation [req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 4802e1920fd64ed9894ee99d88d20d5c - - -] Using url versioning process_request /usr/lib/python2.7/dist-packages/glance/api/middleware/version_negotiation.py:60 2015-08-03 16:14:10.586 40307 WARNING glance.api.middleware.version_negotiation [req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 4802e1920fd64ed9894ee99d88d20d5c - - -] Unknown version. Returning version choices. 2015-08-03 16:14:10.590 40307 INFO eventlet.wsgi.server [req-e76e2669-f456-440e-b427-d7e5bc403bc3 d28a3add04d74ed699a9f707ce5580b6 4802e1920fd64ed9894ee99d88d20d5c - - -] 10.140.15.21,127.0.0.1 - - [03/Aug/2015 16:14:10] "GET / HTTP/1.1" 300 804 0.005613 2015-08-03 16:14:11.653 40309 ERROR glance.api.v1.upload_utils [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] Failed to upload image b04ba38c-5e41-4e6f-85c7-a68e2d677fab <== 2015-08-03 16:14:11.660 40309 DEBUG glance.common.client [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] Constructed URL: http://localhost:19191/images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab _construct_url /usr/lib/python2.7/dist-packages/glance/common/client.py:401 <== 2015-08-03 16:14:11.952 40309 DEBUG glance.registry.client.v1.client [req-117eb91a-250e-42c6-805d-ae10ed70e3d8 36b577aa0fdf4f30aee8236b2c529d88 9c57e5684dee4a99958e2b3985a9fcdb - - -] Registry request PUT /images/b04ba38c-5e41-4e6f-85c7-a68e2d677fab HTTP 200 request id req-cc9e0445-7a9e-4a79-9da4-e3a21fdce4b7 do_request /usr/lib/python2.7/dist-packages/glance/registry/client/v1/client.py:124 Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 82, in _spawn_n_impl func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 671, in process_request proto.__init__(sock, address, self) File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__ self.handle() File "/usr/lib/python2.7/BaseHTTPServer.py",
[Yahoo-eng-team] [Bug 1912005] Re: Image show/list is broken after upgrade to Ussuri or Victoria
Issue solved, bug closed :) ** Changed in: glance Status: Incomplete => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1912005 Title: Image show/list is broken after upgrade to Ussuri or Victoria Status in Glance: Invalid Bug description: Had a working Train deployment. Upgraded to Victoria using kolla-ansible. Right after the upgrade, I started to see the following error on list images or show image. {"message": "No image found with ID c8dcdad8-fa16-4872-8711-0f0fe8ee48c1\n\n\n", "code": "404 Not Found", "title": "Not Found"} x The API just returns the above 404 after this line is logged as WARN: "Attempted to modify image user did not own." I reverted back to Train, everything is back to normal now. Reverting to Ussuri still has the same issue. The strange thing is the suffixed "\n\n\n" after the message. I tried running directly on the glance endpoint (without any reverse proxy) and it has the same issue. I used curl, openstack cli, horizon, etc. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1912005/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1455730] Re: i18n module not importing
There won't be any backports to kilo at this point, unfortunately. ** Changed in: glance Status: Incomplete => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1455730 Title: i18n module not importing Status in Glance: Won't Fix Bug description: I've recently upgraded my test cluster from juno to kilo-rc1 and I've run into the following error on Ubuntu 14.04. When running glance- manage --debug db_sync I get the following report: Traceback (most recent call last): File "/usr/bin/glance-manage", line 6, in from glance.cmd.manage import main File "/usr/lib/python2.7/dist-packages/glance/cmd/__init__.py", line 21, in from glance import i18n File "/usr/lib/python2.7/dist-packages/glance/i18n.py", line 16, in from oslo.i18n import * # noqa ImportError: No module named i18n I believe that I've got the correct packages installed, dpkg -l gives me: python-oslo.i18n 1.5.0-0ubuntu1~cloud0 and pip list: oslo.i18n (1.5.0) I'm running the most recent version of kilo-rc1 (1:2015.1.0-0ubuntu1~cloud0). Like I said, I'm upgrading from a working juno cluster and my upgrade process has been to loop in the ppa and do an automated upgrade. Happy to provide any additional information or logs. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1455730/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1544801] Re: Constant tracebacks with eventlet 0.18.2
I don't think this has been an issue in recent versions of Glance/Python/Eventlet. I'll close this bug, feel free to reopen if needed. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1544801 Title: Constant tracebacks with eventlet 0.18.2 Status in Cinder: Invalid Status in Glance: Invalid Status in neutron: Incomplete Status in OpenStack Compute (nova): Invalid Bug description: Kilo builds, with eventlet 0.18.2 have a constant traceback: 2016-02-12 00:47:01.126 3936 DEBUG nova.api.openstack.wsgi [-] Calling method '>' _process_stack /opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:783 2016-02-12 00:47:01.129 3936 INFO nova.osapi_compute.wsgi.server [-] Traceback (most recent call last): File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 501, in handle_one_response write(b''.join(towrite)) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 442, in write _writelines(towrite) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/support/__init__.py", line 62, in safe_writelines writeall(fd, item) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/support/__init__.py", line 67, in writeall fd.write(buf) File "/usr/lib/python2.7/socket.py", line 324, in write self.flush() File "/usr/lib/python2.7/socket.py", line 303, in flush self._sock.sendall(view[write_offset:write_offset+buffer_size]) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 383, in sendall tail = self.send(data, flags) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 377, in send return self._send_loop(self.fd.send, data, flags) File "/opt/bbc/openstack-11.0-bbc153/nova/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 364, in _send_loop return send_method(data, *args) error: [Errno 104] Connection reset by peer This is happening across nova, neutron, glance, etc.. Dropping back to eventlet < 0.18.0 works. To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1544801/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1538625] Re: glance-api.conf kilo limit
Kilo is no longer supported, closing this. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1538625 Title: glance-api.conf kilo limit Status in Glance: Won't Fix Bug description: The example glance-api.conf is missing the api_limit_max and limit_param_default [DEFAULT] parameters. This got fixed in Liberty, but not back in Kilo, where this parameters were already present, too. I want to take care of the implementation myself. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1538625/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1577033] Re: python-glanceclient issue in rdo-release-kilo-2.noarch.rpm
Kilo is no longer supported, I'm closing this. Feel free to reopen if you hit this bug on a supported release of Glance. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1577033 Title: python-glanceclient issue in rdo-release-kilo-2.noarch.rpm Status in Glance: Won't Fix Status in CentOS: New Bug description: Hello Team, I am using RDO repository for to install Openstack Kilo but since fedora team have updated their repository version to "rdo-release- kilo-2.noarch.rpm" i am getting the following errors: 1, glance image-show - returns nothing but if i pass the value API-v2 then getting the image details but Kilo-1 is working fine without passing the value also. 2, when use nove boot getting the following error: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: 3, In horizon, when click details of any images getting the following error: An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator. To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1577033/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1582465] Re: unit tests failed with RequiredOptError
The tests work fine in the CI, and py27 is no longer supported. Closing this, feel free to reopen if you still hit this bug. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1582465 Title: unit tests failed with RequiredOptError Status in Glance: Won't Fix Bug description: the latest commit:9ec54a3f27c683ac3bc5807b81971e1f5a2be99a Date: Fri May 13 18:43:49 2016 + on glance master whit ubuntu 14, I used proxy server to internet, tox -e py27 -- I got so many failed unit tests like this: glance.tests.unit.v2.test_tasks_resource.TestTasksDeserializer.test_index_negative_limit Captured traceback: ~~~ Traceback (most recent call last): File "glance/tests/unit/v2/test_tasks_resource.py", line 475, in setUp super(TestTasksDeserializer, self).setUp() File "glance/tests/utils.py", line 73, in setUp config.parse_args(args=[]) File "glance/common/config.py", line 186, in parse_args default_config_files=default_config_files) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2169, in __call__ self._check_required_opts() File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2736, in _check_required_opts raise RequiredOptError(opt.name, group) oslo_config.cfg.RequiredOptError: value required for option: keystone_authtoken.auth-url other failed tests traceback: glance.tests.functional.test_cache_middleware.TestImageCacheXattr.test_cache_middleware_transparent_v2 -- Captured traceback: ~~~ Traceback (most recent call last): File "glance/tests/utils.py", line 177, in wrapped func(*a, **kwargs) File "glance/tests/functional/test_cache_middleware.py", line 138, in test_cache_middleware_transparent_v2 body=jsonutils.dumps(image_entity)) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1609, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1351, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1272, in _conn_request conn.connect() File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/__init__.py", line 916, in connect self.sock.connect((self.host, self.port) + sa[2:]) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/socks.py", line 424, in connect self.__negotiatehttp(destpair[0], destpair[1]) File "/home/tecs/glance/.tox/py27/local/lib/python2.7/site-packages/httplib2/socks.py", line 390, in __negotiatehttp raise HTTPError((statuscode, statusline[2])) httplib2.socks.HTTPError: (504, 'Gateway Time-out') is this a bug of unit test? To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1582465/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1535596] Re: link title for juno specification is incorrect in glance spec
Fixed in 8260e24aa4d42ee0141401e70d407a3a6f6efc86 ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1535596 Title: link title for juno specification is incorrect in glance spec Status in Glance: Fix Released Bug description: [Summary] link title for juno specification is incorrect in glance spec [Topo] devstack all-in-one node [Description and expect result] link title for juno specification is correct in glance spec [Reproduceable or not] reproduceable [Recreate Steps] 1) open this link: https://specs.openstack.org/openstack/glance-specs/specs/ There are 2 links, one is for juno specification, another is for Kilo specification But we see, 2 link title are both "Kilo specification" (screenshot is attached) >>ISSUE [Configration] reproduceable bug, no need [logs] reproduceable bug, no need [Root cause anlyze or debug inf] reproduceable bug [Attachment] None To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1535596/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1841275] Re: Glance stop Devstack when using USE_PYTHON3 flag
I was able to deploy Devstack with Ceph recently, and USE_PYTHON3 is True by default. I was then able to create an image, so I'll assume this bug has been fixed some time in the past 2 years and close it. Feel free to reopen if needed. ** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1841275 Title: Glance stop Devstack when using USE_PYTHON3 flag Status in Glance: Fix Released Bug description: Description of the problem: -- During deploying Devstack with python3 and Ceph plugin, I'm facing this error: HTTP 502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server when creating the Cirros image. I'm not using any special specification for Glance, I'm using the default configuration. How to reproduce: - 1. Add USE_PYTHON3=True and the Ceph plugin to the local.conf 2. Run ./stack 3. Check the error in the output. Local.conf: --- [[local|localrc]] VIRT_DRIVER=libvirt ADMIN_PASSWORD=secret SERVICE_TOKEN=$ADMIN_PASSWORD MYSQL_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD LOGFILE=$DEST/logs/stack.sh.log LOGDAYS=2 SYSLOG=False LOG_COLOR=False enable_plugin devstack-plugin-ceph https://opendev.org/openstack/devstack-plugin-ceph CINDER_ENABLED_BACKENDS=ceph CINDER_DEFAULT_VOLUME_TYPE=ceph enable_service c-bak USE_PYTHON3=True Output: --- + functions:upload_image:373 : '[' bare = bare ']' + functions:upload_image:374 : '[' '' = zcat ']' + functions:upload_image:376 : '[' '' = bunzip2 ']' + functions:upload_image:379 : openstack --os-cloud=devstack-admin --os-region-name=RegionOne image create cirros-0.4.0-x86_64-disk --public --container-format=bare --disk-format qcow2 HTTP 502 Bad Gateway: Bad Gateway: The proxy server received an invalid: response from an upstream server. + functions:upload_image:1 : exit_trap Devstack Output: --- http://paste.openstack.org/show/762535/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1841275/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1555304] Re: test_evnetlet_no_dnspython fails to import glance.cmd
** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1555304 Title: test_evnetlet_no_dnspython fails to import glance.cmd Status in Glance: Invalid Bug description: The following test is failing during ubuntu package builds for mitaka b3: == FAIL: glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython glance.tests.unit.common.test_wsgi_ipv6.IPv6ServerTest.test_evnetlet_no_dnspython -- _StringException: Traceback (most recent call last): File "/<>/glance/tests/unit/common/test_wsgi_ipv6.py", line 61, in test_evnetlet_no_dnspython self.assertEqual(0, rc) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 350, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 435, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: 0 != 1 The mismatch error results when the import of glance.cmd fails and an ImportError is raised. If I comment out the following line, then the import of glance.cmd is successful but I'm not sure why: os.environ['EVENTLET_NO_GREENDNS'] = '%s' To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1555304/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1357428] Re: DBDeadlock in gate test
Sorry we did not get to this sooner, but I guess it's no longer an issue in the gate. ** Changed in: glance Status: New => Won't Fix -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1357428 Title: DBDeadlock in gate test Status in Glance: Won't Fix Bug description: gate test failed with: DBDeadlock: (OperationalError) (1213, 'Deadlock found when trying to get lock; try restarting transaction') 'UPDATE image_properties SET updated_at=%s, deleted_at=%s, deleted=%s WHERE image_properties.image_id = %s AND image_properties.deleted = false' (datetime.datetime(2014, 8, 15, 13, 42, 36, 164537), datetime.datetime(2014, 8, 15, 13, 42, 36, 144848), 1, '62832243-7165-4493-bacc-7801640cc718') Above from: http://logs.openstack.org/28/114528/1/check/check-tempest-dsvm- full/176f0f2/logs/screen-g-reg.txt.gz Full logs: http://logs.openstack.org/28/114528/1/check/check-tempest-dsvm- full/176f0f2/ To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1357428/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1833009] Re: openstack image create fails with [Errno 32] Broken pipe for openstack rocky and stein
This can probably be closed then :) ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1833009 Title: openstack image create fails with [Errno 32] Broken pipe for openstack rocky and stein Status in Ceph: New Status in Glance: Invalid Bug description: I've deployed openstack base bundle rocky and stein version (attached below). but when I create image I get below error: ``` openstack image create --public --min-disk 3 --container-format bare \ > --disk-format qcow2 --property architecture=x86_64 \ > --property hw_disk_bus=virtio --property hw_vif_model=virtio \ > --file bionic-server-cloudimg-amd64.img \ > "bionic x86_64" Error finding address for http://192.168.30.103:9292/v2/images/17cc2de6-432f-4d1b-860f-ecb070a60a43/file: [Errno 32] Broken pipe ``` knowing that all openstack unit are in active state. is it a bug or some missing configuration. To manage notifications about this bug go to: https://bugs.launchpad.net/ceph/+bug/1833009/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1919993] Re: test_image_web_download_import_with_bad_url failing within nova-ceph-multistore on stable/victoria
** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1919993 Title: test_image_web_download_import_with_bad_url failing within nova-ceph- multistore on stable/victoria Status in Glance: Fix Released Bug description: https://536c35b8827b8b580224-106821bd54633d9ce36b8ab43069ea80.ssl.cf2.rackcdn.com/773443/1/gate/nova- ceph-multistore/7c92011/testr_results.html 2021-03-18 04:01:56,230 102018 INFO [tempest.lib.common.rest_client] Request (ImportImagesNegativeTest:test_image_web_download_import_with_bad_url): 202 POST https://199.204.45.116/image/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f/import 0.066s 2021-03-18 04:01:56,230 102018 DEBUG[tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'X-Auth-Token': ''} Body: {"method": {"name": "web-download", "uri": "http://does-not.exist/no/possible/way"}, "stores": ["cheap"]} Response - Headers: {'date': 'Thu, 18 Mar 2021 04:01:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-type': 'text/html; charset=UTF-8', 'content-length': '0', 'x-openstack-request-id': 'req-35969d62-34d9-4fc6-a9f4-deeff7e0b142', 'connection': 'close', 'status': '202', 'content-location': 'https://199.204.45.116/image/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f/import'} Body: b'' [..] 2021-03-18 04:06:56,108 102018 INFO [tempest.lib.common.rest_client] Request (ImportImagesNegativeTest:test_image_web_download_import_with_bad_url): 200 GET https://199.204.45.116/image/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f 0.137s 2021-03-18 04:06:56,108 102018 DEBUG[tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': ''} Body: None Response - Headers: {'date': 'Thu, 18 Mar 2021 04:06:56 GMT', 'server': 'Apache/2.4.41 (Ubuntu)', 'content-length': '701', 'content-type': 'application/json', 'x-openstack-request-id': 'req-ba7d93bd-4f2e-4dfb-913f-6e82405f4591', 'connection': 'close', 'status': '200', 'content-location': 'https://199.204.45.116/image/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f'} Body: b'{"os_glance_failed_import": "", "os_glance_importing_to_stores": "cheap", "name": "test", "disk_format": "raw", "container_format": "bare", "visibility": "shared", "size": null, "virtual_size": null, "status": "queued", "checksum": null, "protected": false, "min_ram": 0, "min_disk": 0, "owner": "de094f49898048a9baa9fafcc74658cb", "os_hidden": false, "os_hash_algo": null, "os_hash_value": null, "id": "7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f", "created_at": "2021-03-18T04:01:56Z", "updated_at": "2021-03-18T04:01:56Z", "locations": [], "tags": [], "self": "/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f", "file": "/v2/images/7ef5bb22-17b7-4ebc-9d2f-e77e763ce88f/file", "schema": "/v2/schemas/image"}' }}} [..] Traceback (most recent call last): File "/opt/stack/tempest/tempest/api/image/v2/test_images_negative.py", line 220, in test_image_web_download_import_with_bad_url self.fail('Image never reported failed store') File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/unittest2/case.py", line 690, in fail raise self.failureException(msg) AssertionError: Image never reported failed store https://zuul.opendev.org/t/openstack/build/7c920114e97d423fb226985323939b54/log/controller/logs/screen-g-api.txt#10580 Mar 18 04:01:56.393057 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: ERROR glance.async_.flows._internal_plugins.web_download [-] Task 7f38e9e0-6bdb-4bb1-af3c-07c4ede01995 failed with exception : urllib.error.URLError: Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: WARNING glance.async_.taskflow_executor [-] Task 'api_image_import-WebDownload-7f38e9e0-6bdb-4bb1-af3c-07c4ede01995' (14a04079-502c-4823-971d-865df9fc9c47) transitioned into state 'FAILURE' from state 'RUNNING' Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: 4 predecessors (most recent first): Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: Flow 'api_image_import' Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: |__Atom 'api_image_import-ImageLock-7f38e9e0-6bdb-4bb1-af3c-07c4ede01995' {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {}, 'provides': None} Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: |__Atom 'api_image_import_retry' {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {}, 'provides': [(None, {})]} Mar 18 04:01:56.397031 ubuntu-focal-vexxhost-ca-ymq-1-0023551666 glance-api[96125]: |__Flow 'api_image_import': urllib.error.URLError:
[Yahoo-eng-team] [Bug 1828966] Re: tox doesn't catch invalid interpreter
$ tox -epy23 py23 create: /home/cyril/openstack/glance/.tox/py23 SKIPPED: InterpreterNotFound: python2.3 $ echo $? 0 Nothing is created in .tox/. I'm closing this bug. ** Changed in: glance Status: New => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1828966 Title: tox doesn't catch invalid interpreter Status in Cinder: New Status in Glance: Invalid Status in OpenStack Compute (nova): Invalid Bug description: When you pass invalid interpreter to tox command it installs dependencies, requirements in virtual environment and exits without running any tests. Actually it should throw error, Interpreter Not Found. tox -e py23 py23 create: /opt/stack/glance/.tox/py23 py23 installdeps: -r/opt/stack/glance/test-requirements.txt py23 develop-inst: /opt/stack/glance py23 installed: alabaster==0.7.12,alembic==1.0.10,amqp==2.4.2,appdirs==1.4.3,asn1crypto==0.24.0,automaton==1.16.0,Babel==2.6.0,cachetools==3.1.0,castellan==1.2.2,certifi==2019.3.9,cffi==1.12.3,chardet==3.0.4,cliff==2.14.1,cmd2==0.8.9,coverage==4.5.3,cryptography==2.6.1,cursive==0.2.2,ddt==1.2.1,debtcollector==1.21.0,decorator==4.4.0,defusedxml==0.6.0,dnspython==1.15.0,doc8==0.8.0,docutils==0.14,dogpile.cache==0.7.1,eventlet==0.24.1,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.5.5,future==0.17.1,futurist==1.8.1,-e git+https://git.openstack.org/openstack/glance.git@18e71c8e759aa4031da6258bff519ae206145fe6#egg=glance,glance-store==0.28.0,greenlet==0.4.15,hacking==0.12.0,httplib2==0.12.3,idna==2.8,imagesize==1.1.0,iso8601==0.1.12,Jinja2==2.10.1,jmespath==0.9.4,jsonpatch==1.23,jsonpointer==2.0,jsonschema==2.6.0,keystoneauth1==3.14.0,keystonemiddleware==6.0.0,kombu==4.5.0,linecache2==1.0.0,Mako==1.0.9,MarkupSafe==1.1.1,mccabe==0.2.1,mock==3.0.4,monotonic==1.5,mox3==0.27.0,msgpack==0.6.1,munch==2.3.2,netaddr==0.7.19,netifaces==0.10.9,networkx==2.3,openstacksdk==0.27.0,os-client-config==1.32.0,os-service-types==1.7.0,os-win==4.2.0,oslo.cache==1.34.0,oslo.concurrency==3.29.1,oslo.config==6.9.0,oslo.context==2.22.1,oslo.db==4.46.0,oslo.i18n==3.23.1,oslo.log==3.43.0,oslo.messaging==9.6.0,oslo.middleware==3.38.0,oslo.policy==2.2.0,oslo.serialization==2.29.0,oslo.service==1.38.0,oslo.upgradecheck==0.2.1,oslo.utils==3.41.0,oslotest==3.7.1,osprofiler==2.7.0,packaging==19.0,Paste==3.0.8,PasteDeploy==2.0.1,pbr==5.2.0,pep8==1.5.7,prettytable==0.7.2,psutil==5.6.2,psycopg2==2.8.2,pycadf==2.9.0,pycparser==2.19,pydot==1.4.1,pyflakes==0.8.1,Pygments==2.4.0,pyinotify==0.9.6,PyMySQL==0.9.3,pyOpenSSL==19.0.0,pyparsing==2.4.0,pyperclip==1.7.0,pysendfile==2.0.1,python-barbicanclient==4.8.1,python-dateutil==2.8.0,python-editor==1.0.4,python-keystoneclient==3.19.0,python-mimeparse==1.6.0,python-subunit==1.3.0,python-swiftclient==3.7.0,pytz==2019.1,PyYAML==5.1,repoze.lru==0.7,requests==2.21.0,requestsexceptions==1.4.0,restructuredtext-lint==1.3.0,retrying==1.3.3,rfc3986==1.3.1,Routes==2.4.1,simplegeneric==0.8.1,six==1.12.0,snowballstemmer==1.2.1,Sphinx==2.0.1,sphinxcontrib-applehelp==1.0.1,sphinxcontrib-devhelp==1.0.1,sphinxcontrib-htmlhelp==1.0.2,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.2,sphinxcontrib-serializinghtml==1.1.3,SQLAlchemy==1.2.18,sqlalchemy-migrate==0.12.0,sqlparse==0.3.0,statsd==3.3.0,stestr==2.3.1,stevedore==1.30.1,taskflow==3.4.0,Tempita==0.5.2,tenacity==5.0.4,testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,testtools==2.3.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.24.3,vine==1.3.0,voluptuous==0.11.5,wcwidth==0.1.7,WebOb==1.8.5,wrapt==1.11.1,WSME==0.9.3,xattr==0.9.6,yappi==1.0 py23 run-test-pre: PYTHONHASHSEED='1359514857' py23 runtests: commands[0] | find . -type f -name '*.pyc' -delete summary _ py23: commands succeeded congratulations :) To manage notifications about this bug go to: https://bugs.launchpad.net/cinder/+bug/1828966/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1821306] Re: Using or importing the ABCs from 'collections' is deprecated
** Changed in: glance Status: New => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1821306 Title: Using or importing the ABCs from 'collections' is deprecated Status in Glance: Fix Released Status in os-brick: Confirmed Bug description: Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/location.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and> Mar 22 09:09:30 controller-02 glance-api[23536]: class StoreLocations(collections.MutableSequence): Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/api/common.py:115: DeprecationWarning: invalid escape sequence \d Mar 22 09:09:30 controller-02 glance-api[23536]: pattern = re.compile('^(\d+)((K|M|G|T)?B)?$') Mar 22 09:09:30 controller-02 glance-api[23536]: /usr/local/lib/python3.7/site- packages/os_brick/initiator/linuxrbd.py:24: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'col> (Today version) py: Python 3.7.2 To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1821306/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp