-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
None
I send a PUT request several times:
http://10.0.0.2:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F9%2F0
with data:
{
"interface": [
]
}
"enabled" is once "true" then "false".
I send it from web GUI or robot test or from terminal using curl - the result is always the same: after sending this PUT request secereal times, honeycomb stops answering.
a relevant part of Honeycomb log:
2016-04-22 13:20:39,754 | INFO | qtp99236224-556 | InterfaceCustomizer | 244 - io.fd.honeycomb.v3po.2vpp - 1.0.0.SNAPSHOT | Updating interface GigabitEthernet0/9/0, type: EthernetCsmacd
2016-04-22 13:20:41,339 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id t9e1crxayncu1n2yb0229rhn6
2016-04-22 13:22:41,331 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id a75guic09nvn1p5ze6b0tsnxh
2016-04-22 13:23:11,333 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id a5y23xhwzwg11wc1woj4uv3ho
2016-04-22 13:23:41,337 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id a593cpfkjjhkfx02x6htfdrq
2016-04-22 13:23:41,337 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id 16hig6o8ndo6h14ujw220hlsxg
2016-04-22 13:23:41,337 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id cj2whnr56cv81tc4tl3ftudte
2016-04-22 13:25:11,340 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id 1m645w97hlvszu8dkmmw6thjr
2016-04-22 13:25:11,340 | WARN | ssionScavenger-3 | teInvalidatingHashSessionManager | 179 - org.ops4j.pax.web.pax-web-jetty - 3.1.4 | Timing out for 1 session(s) with id 6yqs6wom9gtw11e6ghqh6xj06
output from curl:
curl -v -u admin:admin -X PUT -d '{"interface":[
{"name":"GigabitEthernet0/8/0","enabled":"true","type":"iana-if-type:ethernetCsmacd"}]}' -H 'Content-Type: application/json' http://10.0.0.2:8181/restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0
- Trying 10.0.0.2...
- Connected to 10.0.0.2 (10.0.0.2) port 8181 (#0)
- Server auth using Basic with user 'admin'
> PUT /restconf/config/ietf-interfaces:interfaces/interface/GigabitEthernet0%2F8%2F0 HTTP/1.1
> Host: 10.0.0.2:8181
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.42.1
> Accept: /
> Content-Type: application/json
> Content-Length: 101
> - upload completely sent off: 101 out of 101 bytes
^C
... and then I must kill it.
- is blocked by
-
HONEYCOMB-10 vpp-japi refactoring
-
- Complete
-