-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFS Turbo apimon #101
SFS Turbo apimon #101
Conversation
playbooks/scenario46_sfsturbo.yaml
Outdated
|
||
- name: Set Availability Zone | ||
set_fact: | ||
az: "{{ azs.availability_zones.0.name }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you want to explicitly test this in single zone or rather use random functionality and store custom metric to have metrics from all AZs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to randomize the AZ selection
playbooks/scenario46_sfsturbo.yaml
Outdated
- name: Get VPC Info | ||
opentelekomcloud.cloud.vpc_info: | ||
name_or_id: "{{ test_router_name }}" | ||
register: vpc_info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not registering during the Create VPC task?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
- name: Get SecurityGroup info | ||
openstack.cloud.security_group_info: | ||
name: "{{ test_security_group_name }}" | ||
register: security |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not registering during Create Security group task?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according the documentation:
https://galaxy.ansible.com/ui/repo/published/opentelekomcloud/cloud/content/module/security_group/
there are no return values and to get the sec group ID it needs to be obtained from opentelekomcloud.cloud.security_group_info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really?
TASK [Create SecurityGroup] ***************************************************************************************************************************************************************************************
"security_group": {
"created_at": "2024-11-19T10:48:44",
"description": "Test Security group created by APImon",
"id": "14da2ddb-8b07-4ac3-8af5-2f1c96fcac7b",
"name": "scenario19-ee51602a499c0ad6d023aec261edb2f8-sg",
"project_id": "****",
"revision_number": null,
"security_group_rules": [
{
"created_at": "2024-11-19T10:48:44",
"description": null,
"direction": "egress",
"ethertype": "IPv4",
"id": "519a7054-34e8-4b91-925e-e79dcdb95cbd",
"port_range_max": null,
"port_range_min": null,
"project_id": "***",
"protocol": null,
"remote_address_group_id": null,
"remote_group_id": null,
"remote_ip_prefix": null,
"security_group_id": "14da2ddb-8b07-4ac3-8af5-2f1c96fcac7b",
"tenant_id": "****",
"updated_at": "2024-11-19T10:48:44"
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
|
||
- name: Pause for 60 seconds | ||
pause: | ||
seconds: 60 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please create issue on opentelekomcloud ansible-collection repo to introduce waiting for deletion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- name: Get SecurityGroup info | ||
openstack.cloud.security_group_info: | ||
name: "{{ test_security_group_name }}" | ||
register: security |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really?
TASK [Create SecurityGroup] ***************************************************************************************************************************************************************************************
"security_group": {
"created_at": "2024-11-19T10:48:44",
"description": "Test Security group created by APImon",
"id": "14da2ddb-8b07-4ac3-8af5-2f1c96fcac7b",
"name": "scenario19-ee51602a499c0ad6d023aec261edb2f8-sg",
"project_id": "****",
"revision_number": null,
"security_group_rules": [
{
"created_at": "2024-11-19T10:48:44",
"description": null,
"direction": "egress",
"ethertype": "IPv4",
"id": "519a7054-34e8-4b91-925e-e79dcdb95cbd",
"port_range_max": null,
"port_range_min": null,
"project_id": "***",
"protocol": null,
"remote_address_group_id": null,
"remote_group_id": null,
"remote_ip_prefix": null,
"security_group_id": "14da2ddb-8b07-4ac3-8af5-2f1c96fcac7b",
"tenant_id": "****",
"updated_at": "2024-11-19T10:48:44"
},
Build succeeded. ✔️ otc-tox-linters SUCCESS in 4m 08s |
Apimon playbook for SFS Turbo