Skip to content

setuptool RPM build requires a setup.cfg file  #1107

@jgruber

Description

@jgruber

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"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions