R2.21.x build 29 vcenter as orch, plugin sync issue in scale setup

Bug #1571856 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.21.x
New
Undecided
Sachchidanand Vaidya
R3.0
New
Undecided
Andra Cismaru
Trunk
New
Undecided
Andra Cismaru

Bug Description

In scale setup, vcenter as orchestrator. There are many Vn’s on vcenter side, after setup_all when the plugin tried to sync the VN’s it stuck with below exception. I am using 2.21.2-29~vcenter plugin

2016-04-18 14:31:11,790 - ERROR [pool-1-thread-1:ApiConnectorImpl@176] - org.apache.http.ProtocolException: Not a valid protocol version: No instance-ip object found for id 3a608c03-8cae-42b4-81b8-da95aa34e3f3HTTP/1.1 200 OK
        at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:256)
        at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)
        at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
        at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)
        at net.juniper.contrail.api.ApiConnectorImpl.execute(ApiConnectorImpl.java:171)
        at net.juniper.contrail.api.ApiConnectorImpl.create(ApiConnectorImpl.java:231)
        at net.juniper.contrail.vcenter.VncDB.CreateVirtualNetwork(VncDB.java:1023)
        at net.juniper.contrail.vcenter.VCenterMonitorTask.syncVirtualNetworks(VCenterMonitorTask.java:260)
        at net.juniper.contrail.vcenter.VCenterMonitorTask.run(VCenterMonitorTask.java:588)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.http.ParseException: Not a valid protocol version: No instance-ip object found for id 3a608c03-8cae-42b4-81b8-da95aa34e3f3HTTP/1.1 200 OK
        at org.apache.http.message.BasicLineParser.parseProtocolVersion(BasicLineParser.java:158)
        at org.apache.http.message.BasicLineParser.parseStatusLine(BasicLineParser.java:402)
        at org.apache.http.impl.io.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:98)
        at org.apache.http.impl.io.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:59)
        at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
        ... 15 more

2016-04-18 14:31:11,790 - ERROR [pool-1-thread-1:VCenterMonitorTask@592] - Error while syncVirtualNetworks: java.lang.NullPointerException
2016-04-18 14:31:11,791 - ERROR [pool-1-thread-1:VCenterMonitorTask@593] - java.lang.NullPointerException

Tags: vmware
shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote : Re: [Bug 1571856] Re: R2.21.x build 29 vcenter as orch, plugin sync issue in scale setup

Main issue is following:
2016-04-18 14:54:26,683 - INFO [pool-1-thread-1:ApiConnectorImpl@162] -
>> Request: POST, /instance-ips,
>>{"instance-ip":{"instance_ip_secondary":false,"id_perms":{"enable":true,"
>>user_visible":false,"creator":"vcenter-plugin"},"display_name":"ip-testvn
>>1-33-VM-200-99","virtual_network_refs":[{"to":["default-domain","vCenter"
>>,"testvn1-33"],"attr":null,"href":null,"uuid":null}],"virtual_machine_int
>>erface_refs":[{"to":["default-domain","vCenter","7e0f2836-a992-429a-b1a1-
>>8298d6f72f28"],"attr":null,"href":null,"uuid":null}],"name":"801ce700-f0a
>>9-4224-8eca-c149bd34f4f6","uuid":"801ce700-f0a9-4224-8eca-c149bd34f4f6","
>>fq_name":["801ce700-f0a9-4224-8eca-c149bd34f4f6"]}}
2016-04-18 14:54:26,697 - INFO [pool-1-thread-1:ApiConnectorImpl@179] -
<< Response Status: HTTP/1.1 500 Internal Server Error
2016-04-18 14:54:26,697 - ERROR [pool-1-thread-1:ApiConnectorImpl@236] -
create api request failed: Internal Server Error
2016-04-18 14:54:26,697 - ERROR [pool-1-thread-1:ApiConnectorImpl@238] -
Failure message: Virtual-Network([u'default-domain', u'vCenter',
u'testvn1-33']) has exhausted subnet(all)
2016-04-18 14:54:26,697 - INFO [pool-1-thread-1:ApiConnectorImpl@165] -
>> Request: GET, /instance-ip/801ce700-f0a9-4224-8eca-c149bd34f4f6
2016-04-18 14:54:26,699 - INFO [pool-1-thread-1:ApiConnectorImpl@179] -
<< Response Status: HTTP/1.1 404 Not Found
2016-04-18 14:54:26,699 - WARN [pool-1-thread-1:ApiConnectorImpl@288] -
GET failed: Not Found

Plugin is up now.

33 times there was instance-ip creation error due to ip-address exhaustion.

testvn1-11 - 3
testvn1-12 - 3
testvn1-15 -2
testvn1-17 - 3
testvn1-19 - 3
testvn1-20 - 3
testvn1-22 - 3

testvn1-23
testvn1-27 - 3
testvn1-32 - 3
testvn1-33 - 3
testvn1-34 - 2
testvn1-99 - 1

-Sachin

Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Not sure if this problem exists on 3.0

Revision history for this message
Sachchidanand Vaidya (vaidyasd) wrote :

Not sure if this exists on trunk

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.