Remove ties to panko
in order to remove and retire panko. Change-Id: I8bc2981f01a4b068272cddfa2026860c97a3355e
This commit is contained in:
parent
b4bd27c736
commit
ca2bf36fb9
@ -4,7 +4,7 @@ Telemetry Tempest Plugin
|
|||||||
|
|
||||||
Tempest plugin for Telemetry Project.
|
Tempest plugin for Telemetry Project.
|
||||||
|
|
||||||
It contains tempest tests for Aodh, Ceilometer, Gnocchi and Panko Projects.
|
It contains tempest tests for Aodh, Ceilometer, and Gnocchi Projects.
|
||||||
|
|
||||||
* Free software: Apache license
|
* Free software: Apache license
|
||||||
* Documentation: https://docs.openstack.org/ceilometer/latest/
|
* Documentation: https://docs.openstack.org/ceilometer/latest/
|
||||||
|
@ -20,10 +20,6 @@ service_option = [cfg.BoolOpt('ceilometer',
|
|||||||
default=True,
|
default=True,
|
||||||
help="Whether or not Ceilometer is expected to"
|
help="Whether or not Ceilometer is expected to"
|
||||||
"be available"),
|
"be available"),
|
||||||
cfg.BoolOpt('panko',
|
|
||||||
default=True,
|
|
||||||
help="Whether or not Panko is expected to be"
|
|
||||||
"available"),
|
|
||||||
cfg.BoolOpt("aodh",
|
cfg.BoolOpt("aodh",
|
||||||
default=True,
|
default=True,
|
||||||
help="Whether or not Aodh is expected to be"
|
help="Whether or not Aodh is expected to be"
|
||||||
|
@ -67,30 +67,6 @@ tests:
|
|||||||
response_json_paths:
|
response_json_paths:
|
||||||
$.`len`: 2
|
$.`len`: 2
|
||||||
|
|
||||||
- name: check event
|
|
||||||
desc: Check panko for new instance.create.end event
|
|
||||||
url: $ENVIRON['PANKO_SERVICE_URL']/v2/events
|
|
||||||
method: GET
|
|
||||||
request_headers:
|
|
||||||
content-type: application/json
|
|
||||||
data:
|
|
||||||
q:
|
|
||||||
- field: event_type
|
|
||||||
op: eq
|
|
||||||
type: string
|
|
||||||
value: compute.instance.create.end
|
|
||||||
- field: resource_id
|
|
||||||
op: eq
|
|
||||||
type: string
|
|
||||||
value: $HISTORY['list servers grow'].$RESPONSE['$.servers[0].id']
|
|
||||||
poll:
|
|
||||||
count: 30
|
|
||||||
delay: 1
|
|
||||||
response_json_paths:
|
|
||||||
$.`len`: 1
|
|
||||||
$[0].event_type: compute.instance.create.end
|
|
||||||
$[0].traits[?(@.name='resource_id')].value: $HISTORY['list servers grow'].$RESPONSE['$.servers[0].id']
|
|
||||||
|
|
||||||
- name: check alarm
|
- name: check alarm
|
||||||
desc: Check the aodh alarm and its state
|
desc: Check the aodh alarm and its state
|
||||||
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
|
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
|
||||||
|
@ -31,7 +31,7 @@ class TestTelemetryIntegration(manager.ScenarioTest):
|
|||||||
def skip_checks(cls):
|
def skip_checks(cls):
|
||||||
super(TestTelemetryIntegration, cls).skip_checks()
|
super(TestTelemetryIntegration, cls).skip_checks()
|
||||||
for name in ["aodh", "gnocchi", "nova", "heat",
|
for name in ["aodh", "gnocchi", "nova", "heat",
|
||||||
"panko", "ceilometer", "glance"]:
|
"ceilometer", "glance"]:
|
||||||
cls._check_service(name)
|
cls._check_service(name)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -91,7 +91,6 @@ class TestTelemetryIntegration(manager.ScenarioTest):
|
|||||||
"AODH_GRANULARITY": str(config.CONF.telemetry.alarm_granularity),
|
"AODH_GRANULARITY": str(config.CONF.telemetry.alarm_granularity),
|
||||||
"AODH_SERVICE_URL": self._get_endpoint(auth, "alarming_plugin"),
|
"AODH_SERVICE_URL": self._get_endpoint(auth, "alarming_plugin"),
|
||||||
"GNOCCHI_SERVICE_URL": self._get_endpoint(auth, "metric"),
|
"GNOCCHI_SERVICE_URL": self._get_endpoint(auth, "metric"),
|
||||||
"PANKO_SERVICE_URL": self._get_endpoint(auth, "event"),
|
|
||||||
"HEAT_SERVICE_URL": self._get_endpoint(auth, "heat_plugin"),
|
"HEAT_SERVICE_URL": self._get_endpoint(auth, "heat_plugin"),
|
||||||
"NOVA_SERVICE_URL": self._get_endpoint(auth, "compute"),
|
"NOVA_SERVICE_URL": self._get_endpoint(auth, "compute"),
|
||||||
"GLANCE_SERVICE_URL": self._get_endpoint(auth, "image"),
|
"GLANCE_SERVICE_URL": self._get_endpoint(auth, "image"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user