Building from tar will have missing files

Bug #1707019 reported by Albert Mikaelyan
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

If trying to build from release tar, such as the current latest tar:

It will have missing json files, such as defaults.json, schema.json and so on.

This was found upon trying to move to tar releases as per and setting the PBR_VERSION env variable.

After completing the build, you end up with missing json files.

The workaround is to continue to build from git package, and git tag.

The result of this, is that openstack cli can't work at all, and report the following error:
Could not read clouds.yaml configuration file
[Errno 2] No such file or directory: '/usr/lib/python3.6/site-packages/os_client_config/defaults.json'

This is problematic, as we can't have proper build process with hash checking.

Revision history for this message
Felix Yan (felixonmars) wrote :

I added this line to setup.cfg for now:

package_data = os_client_config = *.json */*.json

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers