Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setuptool RPM build requires a setup.cfg file #1107

Open
jgruber opened this issue Nov 29, 2017 · 0 comments
Open

setuptool RPM build requires a setup.cfg file #1107

jgruber opened this issue Nov 29, 2017 · 0 comments
Assignees
Labels

Comments

@jgruber
Copy link
Contributor

jgruber commented Nov 29, 2017

Agent Version

9.4.0 / 10.1.0

Operating System

CentOS 7

OpenStack Release

Mitaka / Newton

Description

The rpm build script runs setup tools for module bdist_rpm. That modules looks for setup.cfg in the root of the project. RPM builds fail without it.

Adding the a setup.cfg file to the root of the project with:

[bdist_rpm]
requires =  f5-sdk == 2.3.3

resolves the issue.

Deployment

Clone the repo on a machine with git and docker properly installed. Change into the repo directory and change to the mitaka or stable/newton branches. Run:

sudo ./f5-openstack-agent-dist/scripts/package_agent.sh "redhat" "7"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant