Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

[IP mgr]? Ip address allocation not found. 404 error #666

Description

@yanmo96

When doing create-and-delete-ports_concurrent 50 times with 5 concurrent.
During delete_port will give the Ip address allocation not found error. But from IP Manager log do show it successfully deleted the port.
Rally report and log:

Below are the logs from IP Manager:


2021-07-12 20:02:34.009 DEBUG 1 --- [io-8080-exec-10] o.a.coyote.http11.Http11InputBuffer      : Received [DELETE /ips/c798c193-6902-48aa-aaf3-bdc92b7838f4/10.2.0.2 HTTP/1.1
Content-Length: 0
uber-trace-id: 18bd79477466bcbe:18bd79477466bcbe:0:1
Host: ipmanager-service.default.svc.cluster.local:9004
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/3.14.7

]
2021-07-12 20:02:34.010 DEBUG 1 --- [io-8080-exec-10] o.apache.catalina.valves.RemoteIpValve   : Incoming request /ips/c798c193-6902-48aa-aaf3-bdc92b7838f4/10.2.0.2 with originalRemoteAddr [172.16.247.211], originalRemoteHost=[172.16.247.211], originalSecure=[false], originalScheme=[http], originalServerName=[ipmanager-service.default.svc.cluster.local], originalServerPort=[9004] will be seen as newRemoteAddr=[172.16.247.211], newRemoteHost=[172.16.247.211], newSecure=[false], newScheme=[http], newServerName=[ipmanager-service.default.svc.cluster.local], newServerPort=[9004]
2021-07-12 20:02:34.010 DEBUG 1 --- [io-8080-exec-10] o.a.c.authenticator.AuthenticatorBase    : Security checking request DELETE /ips/c798c193-6902-48aa-aaf3-bdc92b7838f4/10.2.0.2
2021-07-12 20:02:34.010 DEBUG 1 --- [io-8080-exec-10] org.apache.catalina.realm.RealmBase      :   No applicable constraints defined
2021-07-12 20:02:34.010 DEBUG 1 --- [io-8080-exec-10] o.a.c.authenticator.AuthenticatorBase    : Not subject to any constraint
2021-07-12 20:02:34.011 DEBUG 1 --- [io-8080-exec-10] org.apache.tomcat.util.http.Parameters   : Set encoding to UTF-8
2021-07-12 20:02:34.011 DEBUG 1 --- [io-8080-exec-10] o.s.web.servlet.DispatcherServlet        : DELETE "/ips/c798c193-6902-48aa-aaf3-bdc92b7838f4/10.2.0.2", parameters={}
2021-07-12 20:02:34.011 DEBUG 1 --- [io-8080-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.futurewei.alcor.privateipmanager.controller.IpAddrController#releaseIpAddr(String, String)
2021-07-12 20:02:34.012 DEBUG 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : Calculating duration of com.futurewei.alcor.privateipmanager.controller.IpAddrController.releaseIpAddr()...
2021-07-12 20:02:34.012 DEBUG 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : Calculating duration of com.futurewei.alcor.privateipmanager.service.implement.IpAddrServiceImpl.releaseIpAddr()...
2021-07-12 20:02:34.012 DEBUG 1 --- [io-8080-exec-10] c.f.a.p.s.implement.IpAddrServiceImpl    : Release ip address, ipAddr: 10.2.0.2
2021-07-12 20:02:34.012 DEBUG 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : Calculating duration of com.futurewei.alcor.privateipmanager.repo.IpAddrRangeRepo.releaseIpAddr()...
2021-07-12 20:02:34.015  INFO 1 --- [io-8080-exec-10] global                                   : Cache IpAddrCache-c798c193-6902-48aa-aaf3-bdc92b7838f4 AtomicityMode is ATOMIC
2021-07-12 20:02:34.020  INFO 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : com.futurewei.alcor.privateipmanager.repo.IpAddrRangeRepo.releaseIpAddr() startTime: 28497960647584041ns, endTime: 28497960655657626ns, duration: 8ms
2021-07-12 20:02:34.020  INFO 1 --- [io-8080-exec-10] c.f.a.p.s.implement.IpAddrServiceImpl    : Release ip address success, result: 10.2.0.2
2021-07-12 20:02:34.020  INFO 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : com.futurewei.alcor.privateipmanager.service.implement.IpAddrServiceImpl.releaseIpAddr() startTime: 28497960647485912ns, endTime: 28497960655756924ns, duration: 8ms
2021-07-12 20:02:34.020  INFO 1 --- [io-8080-exec-10] c.f.alcor.common.stats.StatisticsAspect  : com.futurewei.alcor.privateipmanager.controller.IpAddrController.releaseIpAddr() startTime: 28497960647331643ns, endTime: 28497960655784227ns, duration: 8ms
2021-07-12 20:02:34.021 DEBUG 1 --- [io-8080-exec-10] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/json, application/*+json]
2021-07-12 20:02:34.021 DEBUG 1 --- [io-8080-exec-10] m.m.a.RequestResponseBodyMethodProcessor : Nothing to write: null body
2021-07-12 20:02:34.021 DEBUG 1 --- [io-8080-exec-10] o.s.web.servlet.DispatcherServlet        : Completed 200 OK


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions