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
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
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
In the rare event that a VM is queried for CPU utilization before its
first boot, the entitled cycles may be 0. This resulted in a divide by
zero error. This change detects that scenario and removes the divide by
zero possibility.
Change-Id: If37422e7b501c60ad2b1cb610b8c7802e6543942
Closes-Bug: 1492831
The babel.cfg file identifies which files should be used for
translation. This change set adds the file and identifies that only the
python files should be considered.
Change-Id: If578b625a82229d61d75f7c551c970edd04e1373
In PowerVM, when a VM is migrated, the 'metrics come with it'. That
means that the metrics are cumulative and you can be assured that when
it is on a new host, its metrics are still valid.
This presents some complications. The metrics are pulled from the host.
To determine rates, we ask the host for the previous sample and the
current. Previously we had assumed that if the previous sample was
None, it must be a new VM so all the traffic from the current is 'new'.
With live migration taken into account, we can not do that. There may
be months of CPU, Network and Storage data in that VMs metrics. This
really skews the metrics in undesirable ways.
This change set will skip instances (for a given inspection cycle) that
are in the current sample but not the previous. This does lose a sample
cycle, but ensures that we maintain accurracy (which is more important).
Change-Id: Iba7f1287b3433acd8517947e01cbfa14fe93413c
This change set provides base support for the PowerVM compute inspector
to collect the storage devices.
Since PowerVM monitors storage metrics on the 'buses' (rather than a per
device) the metrics are reported based on the bus. This may be a
virtual SCSI bus or a virtual Fibre Channel bus.
Change-Id: I704c7e79e825b7d5f0f8924c28d502ccbfb9330d
- Add a version.py file to allow querying of the pbr version for the package
which is pulled from the git tags
- Use this when doing the sphinx docs generation
Change-Id: Ic892b131c9be2cc65a2b468c9cdb2ff23d1d8743
- 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
The cpu_sink as defined in the default pipeline.yaml does not apply to
PowerVM. This is because the PowerVM compute inspector has a CPU
Utilization inspector built in.
This change provides an updated default pipeline.yaml that is applicable
for operators wishing to make use of the powervm compute inspector.
This change also removes the network sink as that was also an issue as
network metrics came back.
Change-Id: I4e7cae715fc77c5e399bd3c6d33afdc8fa02d890
Closes-Bug: 1475362
This change set implements the network stats for the PowerVM hypervisor.
It provides both rate based and absolute stats.
Partially Implements: bp/powervm-compute-inspector
Change-Id: I7c07691e61c8f5a6d5cb28185c90cdecb5b47bf6
Helpers are a utility within the pypowervm adapter that help with edge
scenarios that can occur when interacting with the API. This change set
adds two of the more common helpers to the ceilometer-powervm adapter
creation.
The first is the log helper. In the event of error scenarios, this
helper will log the error. The second is the helper for the vio busy.
In the case of a Virtual I/O Server being busy, this will retry the
requests after a short period of time.
Change-Id: I65634f394416714c452fbd9fdc48db87b9c8ed61
This change set implements (and adds unit tests) for the PowerVM CPU
stats. The stats included are the CPUStats and the CPUUtilStats.
Partially Implements: bp/powervm-compute-inspector
Change-Id: I050ad3af38171bd9fb990264a921b013e2791a93
The entry point for the PowerVM Compute Inspector was ill formed. This
change set fixes the format in the setup.cfg so that the agent can
install properly.
Change-Id: Iae71b85b8f59f38a7017ed6c5bba9a68fe649eb9
Closes-Bug: 1475017
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
Added base framework for agents and tests
Added base docs infratstructure for Sphinx with links back to
readme and contributing files
Change-Id: I8ed56fb60e73456bc8c44fef4bd6089e1793a520
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
After renaming from ceilometer-powervm to ceilometer_powervm some
instances in setup.cfg were incorrectly changed to
ceilometer_powervm. This changeset fixes those instances.
Change-Id: Id495869c37678525a25e74758991edd58adf703e
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