jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-422) NPE during VM creation
Date Fri, 10 Jan 2014 22:53:51 GMT

     [ https://issues.apache.org/jira/browse/JCLOUDS-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ignasi Barrera updated JCLOUDS-422:
-----------------------------------

    Labels: abiquo interoute  (was: )

> NPE during VM creation
> ----------------------
>
>                 Key: JCLOUDS-422
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-422
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 1.6.3
>            Reporter: Andrea
>              Labels: abiquo, interoute
>
> This could be potentially a non-deterministic bug as it doesn't happen always.
> Here's the stacktrace:
> DEBUG o.j.r.i.InvokeHttpMethod [scheduler thread 0]: >> invoking vm:getstate
> DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService [scheduler thread 0]: Sending request
-99585967: GET http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/virtualmachines/42944/state
HTTP/1.1
> DEBUG jclouds.headers [scheduler thread 0]: >> GET http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/virtualmachines/42944/state
HTTP/1.1
> DEBUG jclouds.headers [scheduler thread 0]: >> Authorization: Basic QzlmN2M1Njg0NmYzZmFiMDpmb2oxMHNvYw==
> DEBUG jclouds.headers [scheduler thread 0]: >> Accept: application/vnd.abiquo.virtualmachinestate+xml;version=2.3
> DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService [brooklyn-execmanager-XzkuL-1617303]:
Receiving response 996603415: HTTP/1.1 404 Not Found
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << HTTP/1.1 404 Not
Found
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Date: Mon, 06 Jan
2014 21:18:23 GMT
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Set-Cookie: JSESSIONID=19701E85F0336958B02F65105E9C1F91;
Path=/api
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Set-Cookie: auth=QzlmN2M1Njg0NmYzZmFiMDoxMzg5MDQ0OTA2MzU0OjlhYmM5NzEwNjJkNWFiZTI0M2FlNjgxMjAyNGUwMDJlOkFCSVFVTw;
Expires=Mon, 06-Jan-2014 21:48:26 GMT; Path=/api
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Connection: Keep-Alive
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << X-Powered-By: ASP.NET
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << X-Powered-By: ARR/2.5
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Server: Microsoft-IIS/7.5
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Content-Type: application/vnd.abiquo.error+xml;version=2.3
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617303]: << Content-Length:
167
> DEBUG jclouds.wire [brooklyn-execmanager-XzkuL-1617303]: << "<?xml version="1.0"
encoding="UTF-8" standalone="yes"?><errors><error><code>VM-1</code><message>The
requested virtual machine does not exist</message></error></errors>"
> DEBUG o.j.h.i.JavaUrlHttpCommandExecutorService [brooklyn-execmanager-XzkuL-1617292]:
Receiving response -1035796710: HTTP/1.1 200 OK
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << HTTP/1.1 200 OK
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Date: Mon, 06 Jan
2014 21:18:23 GMT
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Set-Cookie: JSESSIONID=836A978D2545C3E0F4FCCA3BB3D5417A;
Path=/api
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Set-Cookie: auth=QzlmN2M1Njg0NmYzZmFiMDoxMzg5MDQ0OTA2MzYzOjM0MzIxZDMzNjdmODE4MTUyMzQxNmQ2MDQ3NmMxNjBlOkFCSVFVTw;
Expires=Mon, 06-Jan-2014 21:48:26 GMT; Path=/api
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Connection: Keep-Alive
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << X-Powered-By: ASP.NET
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << X-Powered-By: ARR/2.5
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Server: Microsoft-IIS/7.5
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Content-Type: application/vnd.abiquo.virtualappliance+xml;version=2.3
> DEBUG jclouds.headers [brooklyn-execmanager-XzkuL-1617292]: << Content-Length:
1635
> DEBUG jclouds.wire [brooklyn-execmanager-XzkuL-1617292]: << "<?xml version="1.0"
encoding="UTF-8" standalone="yes"?><virtualAppliance><link rel="deploy" type="application/vnd.abiquo.acceptedrequest+xml"
href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/action/deploy"/><link
rel="edit" type="application/vnd.abiquo.virtualappliance+xml" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201"/><link
rel="enterprise" type="application/vnd.abiquo.enterprise+xml" href="http://vdcbridge.interoute.com/jclouds/api/admin/enterprises/872"/><link
rel="price" type="text/plain" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/action/price"/><link
rel="state" type="application/vnd.abiquo.virtualappliancestate+xml" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/state"/><link
rel="undeploy" type="application/vnd.abiquo.acceptedrequest+xml" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/action/undeploy"/><link
rel="virtualdatacenter" type="application/vnd.abiquo.virtualdatacenter+xml" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414"/><link
rel="virtualmachines" type="application/vnd.abiquo.virtualmachines+xml" href="http://vdcbridge.interoute.com/jclouds/api/cloud/virtualdatacenters/1414/virtualappliances/9201/virtualmachines"/><error>0</error><highDisponibility>0</highDisponibility><id>9201</id><name>br-pguh-ocrj-pos-zzgr</name><publicApp>0</publicApp><state>NOT_DEPLOYED</state></virtualAppliance>"
> ERROR b.l.jclouds.JcloudsLocation [brooklyn-execmanager-XzkuL-1617303]: Failed to start
VM for abiquo:http://vdcbridge.interoute.com/jclouds/api/@NginxControllerImpl{id=R2L5TbKK}:
null
> DEBUG b.l.jclouds.JcloudsLocation [brooklyn-execmanager-XzkuL-1617303]: java.lang.NullPointerException
>         at org.jclouds.http.functions.ParseXMLWithJAXB.apply(ParseXMLWithJAXB.java:67)
>         at org.jclouds.abiquo.domain.DomainWrapper.refresh(DomainWrapper.java:98)
>         at org.jclouds.abiquo.strategy.cloud.ListAttachedNics.execute(ListAttachedNics.java:64)
>         at org.jclouds.abiquo.domain.cloud.VirtualMachine.listAttachedNics(VirtualMachine.java:313)
>         at org.jclouds.abiquo.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:117)
>         at org.jclouds.abiquo.compute.functions.VirtualMachineToNodeMetadata.apply(VirtualMachineToNodeMetadata.java:54)
>         at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:210)
>         at com.google.common.collect.Iterators$8.transform(Iterators.java:860)
>         at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
>         at com.google.common.collect.Iterators$7.computeNext(Iterators.java:701)
>         at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
>         at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
>         at com.google.common.collect.Iterators.any(Iterators.java:736)
>         at com.google.common.collect.Iterables.any(Iterables.java:623)
>         at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.getNextNames(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:188)
>         at org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.execute(CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:122)
>         at org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:212)
>         at brooklyn.location.jclouds.JcloudsLocation.obtainOnce(JcloudsLocation.java:510)
>         at brooklyn.location.jclouds.JcloudsLocation.obtain(JcloudsLocation.java:440)
>         at brooklyn.location.jclouds.JcloudsLocation.obtain(JcloudsLocation.java:1)
>         at brooklyn.entity.software.MachineLifecycleEffectorTasks$5$1.call(MachineLifecycleEffectorTasks.java:211)
>         at brooklyn.entity.software.MachineLifecycleEffectorTasks$5$1.call(MachineLifecycleEffectorTasks.java:1)
>         at brooklyn.util.task.Tasks.withBlockingDetails(Tasks.java:68)
>         at brooklyn.entity.software.MachineLifecycleEffectorTasks$5.call(MachineLifecycleEffectorTasks.java:209)
>         at brooklyn.entity.software.MachineLifecycleEffectorTasks$5.call(MachineLifecycleEffectorTasks.java:1)
>         at brooklyn.util.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:166)
>         at brooklyn.util.task.BasicExecutionManager$3.call(BasicExecutionManager.java:336)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         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:724)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message