Issue Details (XML | Word | Printable)

Key: ABICLOUD-354
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Enric Ruiz
Reporter: Diego Parrilla
Votes: 0
Watchers: 0
Operations

Email this issue
Send issue summary in email
If you were logged in you would be able to see more operations.
Abiquo

Bundle fails and stays in unstable state

Created: 01/Dec/09 11:24 AM   Updated: 10/Jun/10 11:08 AM   Resolved: 02/Dec/09 12:55 PM
Component/s: Bundle
Affects Version/s: abicloud-1.0.0-RC1
Fix Version/s: abicloud-1.0.0-RC2

Time Tracking:
Not Specified


 Description  « Hide
If you have a virtual app with two virtual machines. A virtual machine is running and the other virtual machine has been orderly shutdown because it has changes. Then you try to bundle and update the configuration of the virtual app, and the virtual machine with changes is the only one to take part in the bundling. The bundle fails, the status of the running virtual machine does not change though it has been shutdown by the hypervisor, and the other virtual image has been bundle. The progress report disappears but no information about the error is reported, tough the status does not change and we get this trace in the log:

10:13:32.790 [pool-3-thread-8] INFO c.a.v.v.i.VirtualapplianceresourceDeployer
- Checking the virtual Machine: 5254269e-be63-4a91-a88a-2932762cb5f3
10:13:32.791 [pool-3-thread-8] INFO c.a.v.model.AbsVirtualMachine - Changing th
e state to : POWER_OFF
10:13:39.619 [pool-3-thread-8] INFO c.a.v.machine.impl.VmwareMachine - [POWER_O
FF]5254269e-be63-4a91-a88a-2932762c
10:13:41.818 [pool-3-thread-8] INFO c.a.v.machine.impl.VmwareMachine - [POWER_O
FF] successfuly for VM [5254269e-be63-4a91-a88a-2932762c]
10:13:41.930 [pool-3-thread-8] INFO c.a.v.model.AbsVirtualMachine - State chang
ed succsfully to :PowerOff
10:13:41.930 [pool-3-thread-8] INFO c.a.v.v.i.VirtualapplianceresourceDeployer
- Checking the virtual Machine: 9c9b0a98-f41b-472f-8315-32f2b9c2e89d
10:13:41.930 [pool-3-thread-8] INFO c.a.v.model.AbsVirtualMachine - Changing th
e state to : POWER_OFF
10:13:42.260 [pool-6-thread-1] INFO c.a.a.vsm.plugin.esxi.ESXiPoller - Notify e
vent: ALL on 5254269e-be63-4a91-a88a-2932762cb5f3
10:13:42.410 [pool-6-thread-1] INFO c.a.a.vsm.plugin.esxi.MonitorDemand - The e
vent sent <?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
  xmlns:mdo="http://schemas.wiseman.dev.java.net/metadata/messagetypes"
  xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex"
  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
  xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing"
  xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
  xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
  xmlns:wsmeta="http://schemas.dmtf.org/wbem/wsman/1/wsman/version1.0.0.a/defaul
t-addressing-model.xsd"
  xmlns:wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer" xmlns:xs="http://ww
w.w3.org/2001/XMLSchema">
  <env:Header>
    <wsa:Action env:mustUnderstand="true"
      xmlns:ns11="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xs
d" xmlns:ns12="http://abiquo.com/abicloud/vsm/event.xsd">http://schemas.dmtf.org
/wbem/wsman/1/wsman/Event</wsa:Action>
    <wsa:To env:mustUnderstand="true"
      xmlns:ns11="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xs
d" xmlns:ns12="http://abiquo.com/abicloud/vsm/event.xsd">http://abicloudserver:8
080/server/EventSink</wsa:To>
    <wsa:MessageID env:mustUnderstand="true"
      xmlns:ns11="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xs
d" xmlns:ns12="http://abiquo.com/abicloud/vsm/event.xsd">urn:uuid:d0b19370-fb22-
4d53-b81c-a1b7b83f636a</wsa:MessageID>
  </env:Header>
  <env:Body>
    <ns12:Event eventType="PoweredOff"
      virtualSystemAddress="http://ESXiAddress"
      virtualSystemID="5254269e-be63-4a91-a88a-2932762cb5f3"
      virtualSystemType="vmx-04"
      xmlns:ns11="http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xs
d" xmlns:ns12="http://abiquo.com/abicloud/vsm/event.xsd"/>
  </env:Body>
</env:Envelope>

10:13:42.414 INFO c.a.abiserver.eventing.EventSink - An event was received: eve
nType:PoweredOff virtualSystemAddres: http://ESXiAddress virtualSystemType:vmx-0
4 virtualSystemID5254269e-be63-4a91-a88a-2932762cb5f3
RECEIVED MESSAGE: Severity[INFO], Event[VM_POWEROFF], Component[VIRTUAL_MACHINE]
, Timestamp[1259680422443], Description[], User[SYSTEM]
10:13:48.678 [pool-3-thread-8] INFO c.a.v.machine.impl.VmwareMachine - [POWER_O
FF]9c9b0a98-f41b-472f-8315-32f2b9c2
10:13:50.807 [pool-3-thread-8] INFO c.a.v.machine.impl.VmwareMachine - [POWER_O
FF] successfuly for VM [9c9b0a98-f41b-472f-8315-32f2b9c2]
10:13:50.917 [pool-3-thread-8] INFO c.a.v.model.AbsVirtualMachine - State chang
ed succsfully to :PowerOff
10:13:50.918 [pool-3-thread-8] INFO c.a.v.v.i.VirtualapplianceresourceDeployer
- Updating the machines list
Dec 1, 2009 10:13:51 AM com.sun.ws.management.server.servlet.WSManServlet doPost
WARNING: null
java.lang.NullPointerException
        at com.sun.ws.management.server.servlet.WSManServlet.sendResponse(WSManS
ervlet.java:589)
        at com.sun.ws.management.server.servlet.WSManServlet.sendResponse(WSManS
ervlet.java:580)
        at com.sun.ws.management.server.servlet.WSManServlet.handle(WSManServlet
.java:566)
        at com.sun.ws.management.server.servlet.WSManServlet.doPost(WSManServlet
.java:234)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
        at java.lang.Thread.run(Thread.java:619)
Dec 1, 2009 10:13:51 AM com.sun.ws.management.transport.HttpClient readResponse
INFO: Response discarded: <html><head><title>Apache Tomcat/6.0.18 - Error report
</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;backgroun
d-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:w
hite;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans
-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:T
ahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahom
a,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,
Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}
A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP St
atus 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><
p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an i
nternal error () that prevented it from fulfilling this request.</u></p><HR size
="1" noshade="noshade"><h3>Apache Tomcat/6.0.18</h3></body></html>


Enric Ruiz added a comment - 02/Dec/09 12:55 PM
Fixed in the revision: 1359