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
In the Ocata release, there is a new conf variable that is passed
into the collector. This is generally used by the libvirt collector
at the moment. It is not needed by the PowerVM collector, but the
__init__ signature needs to be updated to take it in. This change
brings the PowerVM collector in line with the base requirements from
the core ceilometer project.
Change-Id: Ib5620f6830949f50939d07ba07be900a5451df56
This changes the tox command to use the upper constraints. This will
avoid known issues with newer versions of the library.
Change-Id: I85a03fc40356ca1493d6dcf550f63f0deba8dd84
Closes-Bug: 1637938
Change the default pypowervm branch installed by devstack from 'master'
to 'develop'. The master branch is not useful.
Change-Id: I38048dee34fb5a045b8aece756e9d3e2818ee0f2
The InterfaceStats API has been updated to include a new set of metrics.
PowerVM does not support all of the new drop/error types. However, it
does have a total drop packets count. Since we poll the client side
VEA, those are likely dropped on transmit. Therefore the dropped
packets counter works against the client side NIC, and counts all drops
as transmit drops.
Change-Id: Id75757d886df4b859e86da8a498b75d36c267e39
Closes-Bug: #1632710
The directory openstack/common was used to keep codes from oslo-incubator,
we have retired oslo-incubator, so don't use this directory any more.
Change-Id: I38abf7f3da42b36648535c2b63167a089c186e24
This change set updates ceilometer-powervm to be in alignment with the
current global-requirements
Change-Id: If56e584c04e513db0a1f13cd57b06f20d815f343
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
Add a specs directory structure for ceilometer-powervm and add in a
base spec template for creating new ceilometer-powervm specs
Change-Id: Ic07ebdf0dcdb26b4e6c76e1c45dc8bdb28d0d0ad
Change-Id 'Ib3616fbc2713329a174793634e680f7208049c86'
inadvertantly changed the file permissions from 644 to 755.
This fixes that problem.
Change-Id: I2cae47af11108a68d1aeb7078c5da50ec02839df
We have seen scenarios where users have rebooted their systems and the
ceilometer-powervm process has started before the backing PowerVM REST
server. This generally indicates a packaging issue (where the
ceilometer-powervm package should depend on the others). However,
there is the ability in the PowerVM Session to make multiple attempts.
This change set takes advantage of the multiple attempts provided by the
pypowervm session. That means that if the REST server is booting, the
ceilometer-powervm will wait up to 10 minutes for the REST server to
finish starting. The REST server should start much faster than that,
and this is just an upper limit timeout.
Change-Id: If9569eccbdb9107e5892f03a91a035e1d5943e5e
Closes-Bug: 1570404
There were 2 comments that referred to "PowerVM SEA agent" when they
should actually refer to "PowerVM ceilometer compute agent". Updated
them to be accurate.
Change-Id: Ib3c2ab6f142e5e40d9cf9ae3f5875216cec9f03f
The .idea is a workdir used by PyCharm IDE from JetBrains and
some files are created on this directory, but aren't necessary
for ceilometer-powervm project.
Change-Id: I0558c8e87058eeafab7a66f29c55c45abcdf0d66
nova-powervm has a bash script that uses the ostestr package to
format the output from tox in a 'pretty' format. It makes it
much more readable. pretty_tox.sh is pulled from Nova and
nova-powervm as-is and enabled in tox.ini.
Change-Id: I9e90c4d595b95ae02be244163f27d87409e3a078
Remove all the flake8 ignore rules. The core ceilometer project is no
longer ignoring any, and as such the ceilometer-powervm project should
not either.
Change-Id: Ibb10aa723a3a8700c28f58265480e7143d4969b8
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.
Change-Id: Ibdcfdf156f03588b152b86401809adcb433e4699
Closes-Bug: #1529836
Add a configurable option to choose to install pypowervm from source,
otherwise default to relying on it already being installed
Change-Id: Ie9a9da4caa81d971f11c4c134f3c12552e18dae3
Support running ceilometer-powervm devstack plugins in a multi-node
environment, add README link to examples
Change-Id: Id45fd1dd8974bdf282883866b6fb63b70411c24c
The master branch of ceilometer-powervm should be paired to the
'develop' branch of pypowervm.
Other stable branches (or release candidates) will eventually point to
version levels that are published to PyPi (or to stable branches).
Change-Id: I4ba962acb322851b982689bb50958769be21c53c
Add support for installing ceilometer powervm through the devstack
plugins infrastructure. This allows you to simply enable the plugin
in a devstack localrc, provide any non-default config, and run
stack.sh to configure/install it.
- Added plugin files
- Added README
- Added bashate to tox test environments for scripts
Change-Id: I4f95b710026a418bda07767f1e04ddb3fd855316
Since ceilometer-powervm is not in tree with ceilometer, it can't
use ceilometer's translation domain. This change introduces i18n.py
and the ceilometer-powervm domain.
Change-Id: If8825892d506a1e0344dce888b8357910e3b7da7
- Removed yasfb from requirements (no longer needed, not py3 compat)
- Changed iops calculation to be compatible with py3 division changes
Change-Id: Ic8a53562be401deaa391d21b5ff6f92ffa7d07d3