The cosmic package worked for me to. Version info below:

python3-glance-store:
  Installed: 0.26.1-0ubuntu2.1
  Candidate: 0.26.1-0ubuntu2.1
  Version table:
 *** 0.26.1-0ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     0.26.1-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu cosmic/universe amd64 
Packages


Test output:

$ juju run --unit glance/0 "apt-cache policy python3-glance-store"
python3-glance-store:
  Installed: 0.26.1-0ubuntu2
  Candidate: 0.26.1-0ubuntu2
  Version table:
 *** 0.26.1-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu cosmic/universe amd64 
Packages
        100 /var/lib/dpkg/status

$ openstack image create --public --file 
/home/ubuntu/images/bionic-server-cloudimg-amd64.img bionic-test
500 Internal Server Error: The server has either erred or is incapable of 
performing the requested operation. (HTTP 500)

* Enable proposed, upgrade python3-glance-store and restart glance-api
service

$ juju run --unit glance/0 "apt-cache policy python3-glance-store"
python3-glance-store:
  Installed: 0.26.1-0ubuntu2.1
  Candidate: 0.26.1-0ubuntu2.1
  Version table:
 *** 0.26.1-0ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu cosmic-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     0.26.1-0ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu cosmic/universe amd64 
Packages

$ openstack image create --public --file 
/home/ubuntu/images/bionic-server-cloudimg-amd64.img bionic-test
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field            | Value                                                      
                                                                                
                                                |
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum         | c8994590c7d61dc68922e461686ef936                           
                                                                                
                                                |
| container_format | bare                                                       
                                                                                
                                                |
| created_at       | 2019-05-22T07:10:26Z                                       
                                                                                
                                                |
| disk_format      | raw                                                        
                                                                                
                                                |
| file             | /v2/images/eca7aeb5-4c16-4bb2-ad9a-53acfb3c18ca/file       
                                                                                
                                                |
| id               | eca7aeb5-4c16-4bb2-ad9a-53acfb3c18ca                       
                                                                                
                                                |
| min_disk         | 0                                                          
                                                                                
                                                |
| min_ram          | 0                                                          
                                                                                
                                                |
| name             | bionic-test                                                
                                                                                
                                                |
| owner            | 6c8b914f26bc40d9aae58729b818e398                           
                                                                                
                                                |
| properties       | os_hash_algo='sha512', 
os_hash_value='be4993640deb7eb99b07667213b1fe3a9145df2c0ed5c72cf786a621fe64e93fb543cbb3fafa9a130988b684da432d2a55493c50e77a9dfe336e7ed996be92d9',
 os_hidden='False' |
| protected        | False                                                      
                                                                                
                                                |
| schema           | /v2/schemas/image                                          
                                                                                
                                                |
| size             | 348127232                                                  
                                                                                
                                                |
| status           | active                                                     
                                                                                
                                                |
| tags             |                                                            
                                                                                
                                                |
| updated_at       | 2019-05-22T07:10:44Z                                       
                                                                                
                                                |
| virtual_size     | None                                                       
                                                                                
                                                |
| visibility       | public                                                     
                                                                                
                                                |
+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 


** Tags removed: verification-needed-cosmic
** Tags added: verification-done-cosmic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1805332

Title:
  [Swift backend] Upload image hit error: Unicode-objects must be
  encoded before hashing

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1805332/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to