1) Install python-muranoclient from master (I use 1ac7558bb0642721c05f1f1dddf 60566a44dd7cb)
2) Import all packages from murano-apps and murano-app-incubator (at least 20 packages)
3) Run `package-list` command
4) You will get "HTTPMultipleChoices (HTTP 300) Requested version of Application Catalog API is not available." response from the client.
5) Remove some packages and let <=19 packages remain in DB.
6) Run client command again
7) It will run sucessfully.
It seems like the bug happens because of these lines:
https://github.com/stackforge/python-muranoclient/blob/master/muranoclient/v1/packages.py#L77
"next_marker" is not a full url, it is a parameter that API will use to paginate results. But it is used in client as full url and it causes the error.
https:/ /github. com/stackforge/ python- muranoclient/ blob/master/ muranoclient/ v1/packages. py#L77