Since ceilometer is introduced in upper-constraints.txt [1], tests are
failing, as ceilometer was installed via tox.ini directly from github,
but pip doesn't like that:
"Could not satisfy constraints for 'ceilometer': installation from path
or url cannot be constrained to a version"
[1] https://review.openstack.org/#/c/601498
Change-Id: I9a018f625e6f252fe64ee2b8b93f5f2e0b464309
With the recent addition of pypowervm to upper-constraints, installs
of ceilometer-powervm are now by default enforcing the version set there.
Since the master branch of ceilometer-powervm depends on the develop
version of pypowervm, this causes installs to fail.
This changeset adds a wrapper script (tox_install.sh) that edits
the upper-constraints file and replaces the pypowervm version pin
then sets pypowervm to be installed from source instead.
Change-Id: Ib60ee84ecb168991439ac5d097ba07a62d2329a7
The package version file erroneously contained quotes here:
version_info = pbr.version.VersionInfo('__package__')
This caused docs builds using setuptools at or beyond 20.2 to fail with:
pkg_resources.RequirementParseError: Invalid requirement, parse error at
"'__packag'"
This change set remedies the line to refer to __package__ (a builtin
variable which resolves to the package name) rather than the literal
string '__package__':
version_info = pbr.version.VersionInfo(__package__)
...and updates the requirements file to use a setuptools version at or
beyond 16.0 to align with openstack's global requirements.
Change-Id: I9ba12bb256c5d3213eb07ddf13351178bf06114b
Closes-Bug: 1585027
- Removed yasfb from requirements (no longer needed, not py3 compat)
- Changed iops calculation to be compatible with py3 division changes
Change-Id: Ic8a53562be401deaa391d21b5ff6f92ffa7d07d3
- Add oslosphinx requirement
- Add base support for devref generation to the project
- Add basic level of documentation, with TODOs for future updates
Change-Id: I6798a4fdf380a56112c3b65350bf61dc410b32bd
Provides the initial structure for the inclusion of PowerVM as a plugin
based compute inspector. Also includes a fixture for upcoming unit
tests. Implementation of the inspector functions are to be included in
upcoming change sets.
Partially Implements: bp/powervm-compute-inspector
Change-Id: I613161f2fe368b926bd679685b9beeff27a52896
This change set supports bringing in the python powervm REST API
library for initial use within ceilometer-powervm.
This change also fixes pep8 issues, mainly around the copyright rules
that are needed (do not copyright empty files).
Also updates the tox file such that we run the new oslo concurrency
as ceilometer removed the integrated package.
Change-Id: I12739ca702e004cd048067ad25e9e07d1ef106e6
Initial work to enable the Ceilometer PowerVM project in git.
The work done here provides:
- .gitignore - Indicate which files not to track within Git.
- .gitreview - Input to the git-review command on how to send to
Gerrit.
- .testr.conf - Conf file input for the testr command (UT)
- CONTRIBUTING.rst - Information on how to contribute.
- HACKING.rst - Information on what needs to be done for updates.
- LICENSE - The license for the project
- README.rst - Information on what this project is. Currently this is
the blueprint.
- openstack-common.conf - Required openstack configuration for all
projects
- setup.cfg - Input to the setup.py on how to execute certain actions.
- setup.py - Used for build of the project.
- requirements.txt - Required packages (and levels) to run the code.
- test-requirements.txt - Required packages (and levels) in addition
to the requirements, that indicates what is
needed to run the UT.
- tox.ini - The input for the tox commands.
In addition, a base set of packages for the agent and unit tests were
loaded in.
Change-Id: I49f23751b8694f6e3595fe8b4f39822737e68f31