Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ matrix:
config_elements:
- antiddos
- antiddos_skip_bad_type
- aomv1
- aomv2
- as
- as_skip_v1
- bms
Expand Down Expand Up @@ -245,6 +247,8 @@ matrix:
config_elements:
- antiddos
- antiddos_skip_bad_type
- aomv1
- aomv2
- as
- as_skip_v1
- bms
Expand Down
10 changes: 10 additions & 0 deletions epmon/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ elements:
antiddos_skip_bad_type:
service_type: AntiDDoS
urls: []
aomv1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add these elements also in

https://github.com/opentelekomcloud-infra/stackmon-config/blob/sd-fix/config.yaml
in each env you want to see them available

service_type: aomv1
sdk_proxy: aomv1
urls:
- /inv/servicediscoveryrules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still this api is broken

>>> conn.aomv1.get('/inv/servicediscoveryrules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v1/31f1045e2a2a440c8db154707e7f9e32/inv/servicediscoveryrules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [500] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:40:34 GMT Server: api-gateway Set-Cookie: ingress-apm-apm-inventory-8150=78a4c4f7c1617c0bdba44190e46036d0; Path=/; Secure; HttpOnly Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: cda9fed331bf7da46de1fa1a24686edd X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_code":"APM.00000500","error_msg":"Internal Server Error","trace_id":""}
<Response [500]>

aomv2:
service_type: aomv2
sdk_proxy: aomv2
urls:
- /alarm-rules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this api has wrong header required

>>> conn.aomv2.get('/alarm-rules')
REQ: curl -g -i --insecure -X GET https://aom.eu-de.otc.t-systems.com/v2/31f1045e2a2a440c8db154707e7f9e32/alarm-rules -H "User-Agent: openstacksdk/4.1.0 keystoneauth1/5.8.0 python-requests/2.32.3 CPython/3.10.12" -H "X-Auth-Token: {SHA256}a8930284e3de803c61c36bcae4536222a7fdf1d49c223fb4fb18fc917bdc0390"
RESP: [400] Connection: keep-alive Content-Type: application/json Date: Mon, 02 Dec 2024 07:41:21 GMT Server: api-gateway Strict-Transport-Security: max-age=31536000; includeSubdomains; Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Download-Options: noopen X-Frame-Options: SAMEORIGIN X-Request-Id: 8636f961a6b49e8c938676a6058dd429 X-XSS-Protection: 1; mode=block;
RESP BODY: {"error_msg":"Orchestration error: Invalid header parameter: Content-Type, required","error_code":"APIGW.0106","request_id":"8636f961a6b49e8c938676a6058dd429"}

<Response [400]>

as:
service_type: as
sdk_proxy: auto_scaling
Expand Down