Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Merak Network: delete subnet got error from alcor and didn't return proper message back to scenario #90

Open
cj-chung opened this issue Aug 31, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cj-chung
Copy link
Contributor

Merack network component got error when scenario manager issue DELETE network.
Network got error:

2022/08/31 18:03:08 returnMessage {"subnet":{"id":"48c8e6dc-3a36-4ad1-ac38-4ec53096fc14","project_id":"123456789","tenant_id":"123456789","name":"YM_sample_subnet","description":null,"network_id":"a87c95cc-8ad7-444f-bb72-70471dcab184","cidr":"10.0.1.0/20","availability_zone":null,"gateway_ip":"10.0.0.1","gatewayPortId":"bdf133a1-af9d-44b2-afe6-bdcedb7854ce","gateway_port_detail":{"gateway_macAddress":"aa:bb:cc:98:6d:a4","gateway_port_id":"bdf133a1-af9d-44b2-afe6-bdcedb7854ce"},"attached_router_id":null,"port_detail":null,"enable_dhcp":true,"primary_dns":null,"secondary_dns":null,"dns_list":null,"ip_version":4,"ipV4_rangeId":"9effc294-726c-444b-b535-f9a62ece4c9c","ipV6_rangeId":null,"ipv6_address_mode":null,"ipv6_ra_mode":null,"revision_number":1,"segment_id":null,"shared":null,"sort_dir":null,"sort_key":null,"subnetpool_id":null,"dns_publish_fixed_ip":false,"tags":[],"tags-any":null,"not-tags":null,"not-tags-any":null,"fields":null,"dns_nameservers":[],"allocation_pools":[{"start":"10.0.0.1","end":"10.0.15.254"}],"host_routes":[],"prefixlen":null,"use_default_subnet_pool":false,"service_types":[],"created_at":"2022-08-31 17:39:27","updated_at":"2022-08-31 17:39:27"}}
2022/08/31 18:03:08 returnJson : {{48c8e6dc-3a36-4ad1-ac38-4ec53096fc14 123456789 123456789 YM_sample_subnet <nil> a87c95cc-8ad7-444f-bb72-70471dcab184 10.0.1.0/20 <nil> 10.0.0.1 bdf133a1-af9d-44b2-afe6-bdcedb7854ce {aa:bb:cc:98:6d:a4 bdf133a1-af9d-44b2-afe6-bdcedb7854ce}  <nil> %!s(bool=true) <nil> <nil> <nil> %!s(int=4) 9effc294-726c-444b-b535-f9a62ece4c9c <nil> <nil> <nil> %!s(int=1) <nil> <nil> <nil> <nil> <nil> %!s(bool=false) [] <nil> <nil> <nil> <nil> [] [{10.0.0.1 10.0.15.254}] [] <nil> %!s(bool=false) [] 2022-08-31 17:39:27 2022-08-31 17:39:27}}
2022/08/31 18:03:08 getSubnetRouter done
2022/08/31 18:03:08 deleteSubnet
2022/08/31 18:03:08 body ""
2022/08/31 18:03:18 RequestCall Fail  500 {"timestamp":"2022-08-31T18:03:18.292+0000","status":500,"error":"Internal Server Error","message":"I/O error on DELETE request for \"http://routemanager-service.default.svc.cluster.local:9003/project/123456789/subnets/48c8e6dc-3a36-4ad1-ac38-4ec53096fc14/routetable\": timeout; nested exception is java.net.SocketTimeoutException: timeout","path":"/project/123456789/subnets/48c8e6dc-3a36-4ad1-ac38-4ec53096fc14"}
2022/08/31 18:03:18 returnErr {"timestamp":"2022-08-31T18:03:18.292+0000","status":500,"error":"Internal Server Error","message":"I/O error on DELETE request for \"http://routemanager-service.default.svc.cluster.local:9003/project/123456789/subnets/48c8e6dc-3a36-4ad1-ac38-4ec53096fc14/routetable\": timeout; nested exception is java.net.SocketTimeoutException: timeout","path":"/project/123456789/subnets/48c8e6dc-3a36-4ad1-ac38-4ec53096fc14"}
2022/08/31 18:03:18 deleteVpc
2022/08/31 18:03:18 body ""
2022/08/31 18:03:18 returnMessage {"id":"a87c95cc-8ad7-444f-bb72-70471dcab184"}
2022/08/31 18:03:18 deleteVpc done
2022/08/31 18:03:18 deleteSg
2022/08/31 18:03:18 body ""
2022/08/31 18:03:18 returnMessage
2022/08/31 18:03:18 deleteVpc done
2022/08/31 18:03:18 returnMessage return_message:"returnNetworkMessage Finished" vpcs:{vpc_id:"a87c95cc-8ad7-444f-bb72-70471dcab184" tenant_id:"123456789" project_id:"123456789" subnets:{subnet_id:"48c8e6dc-3a36-4ad1-ac38-4ec53096fc14" subnet_cidr:"10.0.1.0/20" subnet_gw:"10.0.1.1" number_vms:100}} security_group_ids:"b2cb0a7a2fe94fad8674d5adb862fb3b"

The merak network didn't return proper message back to scenario. It makes scenario keep waiting for the return message from merak network.

@cj-chung cj-chung added the bug Something isn't working label Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants