The built-in unicode no longer exists under python 3, so using it causes
pylint to report an undefined name. Use six.text_type instead.
Change-Id: I0b015bb56893e6683a6c36a63cb28aead07cc47c
Story: 2003240
Task: 26766
- Leverages monsaca devstack and uses new devstack plugin model
to setup ceilosca.
- Also some refactoring in directory structure
Change-Id: I097c86f92e1ec09ceeb3d0d4831ff8c51c3aa1a3
oslo.messaging made a few changes to notifier
in 3.0.1 that will require change to simulator,
Also installing oslo.messaging will get
3.0.1, which fails the simulator,
so adding a version cap of 3.0.0 to continue
working until a fix is released.
see: https://bugs.launchpad.net/oslo.messaging/+bug/1526037
see: https://review.openstack.org/#/c/254604/
The above patch is needed in a release to make
our simulator work with corresponding changes.
Change-Id: I94f34e2a58e0f3e69c27ec67056b6eab9f5f1397
When the value in the simulator is set to zero it is converted to
a null in the publisher. Recently Monasca API has added a check
for the null values and it is rejecting the measurement.
This fixes the issue.
Note: Srinivas already submtted this patch but it does not show
up in github nor can be fetched (public key error)
Change-Id: Ic8e8d73f15c8f3790f7cf127c0bc14dfb816903b
The simulator has a bug since it is not passing all the necessary
parameters.
This patch fixes it.
Change-Id: I5e1d1c80f19d13228886b5ba71b9f116b21179ec
The Public cloud load has a 20K iteration for each tenant and metric.
This is wrong and it will generate 30M messages.
The correct value is 5K and it will generate the expected 7.5M.
Also added documentation reflecting the changes in the code to
suppor tenant_id, resource_id and date.
Added documentation on how to set the system to deal with high load.
Change-Id: I9ca24cb46828b2a225bb61f720e54b55edb65571
This code has been customized from the oslo.messaging simulator.
The message loader sends messages to notifications.info and it
simulates the instance creation/delete for nova, the volume
create and delete from cinder and image update and delete.
The Private/Public shell scripts are running some plausible
test cases for a "scale" down simulation of a private/public
cloud environment with tenants and resources distribution.
Change-Id: I391ecef8267db628cd1601475f44c8821c325fd1
co-author: Steven Irvin <steven.irvin@gmail.com>