You have been subscribed to a public bug:

1. Deploy devstack from master branch
2. Try to execute command:
murano --debug --os-username admin --os-password admin --os-tenant-name admin 
--os-auth-url http://172.18.162.71:5000 --os-region-name RegionOne  
--murano-url http://127.0.0.1:8082 --murano-packages-service glare 
package-import /opt/stack/murano/meta/io.murano/io.murano.zip --is-public

Expected:
Package imported

Actual:
Error HTTPMultipleChoices (HTTP 300) Requested version of Application Catalog 
API is not available. occurred while installing package io.murano

Info:

Using PDB we got:

(Pdb) l
432                 if not glare_endpoint:
433                     # no glare_endpoint and we requested to store packages 
in glare
434                     # let's check keystone
435                     try:
436                         import pdb; pdb.set_trace()
437  ->                     glare_endpoint = keystone_auth.get_endpoint(
438                             keystone_session,
439                             service_type='artifact',
440                             interface=endpoint_type,
441                             region_name=args.os_region_name)
442                         logger.debug('GLARE!!!: {0}'.format(glare_endpoint))
(Pdb) glare_endpoint = keystone_auth.get_endpoint(keystone_session, 
service_type='artifact', interface=endpoint_type, 
region_name=args.os_region_name)
(Pdb) glare_endpoint
'http://127.0.0.1:8082'
(Pub)

This is incorrect endpoint for this request.

DEBUG LOG:

Importing package io.murano
curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 
'User-Agent: python-glanceclient' -H 'Connection: keep-alive' -H 'X-Auth-Token: 
{SHA1}2bac1de2bcaec42398547ff986780b5601d1da60' -H 'Content-Type: 
application/octet-stream' 
http://127.0.0.1:8082/v0.1/artifacts/murano/v1?&version=0.0.0&limit=20&name=io.murano&sort=name:asc
Starting new HTTP connection (1): 127.0.0.1
"GET 
/v0.1/artifacts/murano/v1?&version=0.0.0&limit=20&name=io.murano&sort=name:asc 
HTTP/1.1" 300 116

There is no such error, if murano-url parameter didn't exist in command.

** Affects: unity-webapps-linkedin (Ubuntu)
     Importance: High
     Assignee: Kirill Zaitsev (kzaitsev)
         Status: In Progress

-- 
It's impossible to import package if client authorized with --murano-url 
parameter and glare opts
https://bugs.launchpad.net/bugs/1595657
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to