Building from tar will have missing files

Bug #1707019 reported by Albert Mikaelyan on 2017-07-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-client-config
New
Undecided
Unassigned

Bug Description

If trying to build from release tar, such as the current latest tar: https://github.com/openstack/os-client-config/archive/1.28.0.tar.gz

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 https://docs.openstack.org/pbr/latest/user/packagers.html 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.

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