[jira] [Commented] (CLOUDSTACK-6915) Deleting dynamically added OS results in NPE for existing instances using that os type

2014-06-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14032999#comment-14032999
 ] 

ASF subversion and git services commented on CLOUDSTACK-6915:
-

Commit de04881da177b28d7cb3efc09adb2d8069f0fdd3 in cloudstack's branch 
refs/heads/4.4-forward from [~amogh.vasekar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=de04881 ]

CLOUDSTACK-6915: Include searching deleted OS entries


> Deleting dynamically added OS results in NPE for existing instances using 
> that os type
> --
>
> Key: CLOUDSTACK-6915
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6915
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller
>Affects Versions: 4.4.0
> Environment: XenServer host 
> Cloudstack 4.4 
>Reporter: Pavan Kumar Bandarupally
>Assignee: Amogh Vasekar
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: management-server.log
>
>
> A guest OS is dynamically added and an instance is deployed successfully 
> using that os type (ISO used to deploy instance was of that OS type). The 
> custom os added was deleted using removeGuestOS. After this the instance is 
> stopped and started again.
> This start operation resulted in Null Pointer Exception.
> 2014-06-16 06:50:33,350 ERROR [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Failed to 
> start instance VM[User|i-2-12-VM]
> java.lang.NullPointerException
> at com.cloud.hypervisor.XenServerGuru.implement(XenServerGuru.java:93)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:995)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
> at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 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:744)
> 2014-06-16 06:50:33,359 DEBUG [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Cleaning up 
> resources for the vm VM[User|i-2-12-VM] in Starting state
> PFA MS log.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6915) Deleting dynamically added OS results in NPE for existing instances using that os type

2014-06-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033478#comment-14033478
 ] 

ASF subversion and git services commented on CLOUDSTACK-6915:
-

Commit f8fe4c8795f3ca33cd954577cfd5fbfc4de17373 in cloudstack's branch 
refs/heads/4.4 from [~amogh.vasekar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f8fe4c8 ]

CLOUDSTACK-6915: Include searching deleted OS entries

(cherry picked from commit de04881da177b28d7cb3efc09adb2d8069f0fdd3)


> Deleting dynamically added OS results in NPE for existing instances using 
> that os type
> --
>
> Key: CLOUDSTACK-6915
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6915
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller
>Affects Versions: 4.4.0
> Environment: XenServer host 
> Cloudstack 4.4 
>Reporter: Pavan Kumar Bandarupally
>Assignee: Amogh Vasekar
>Priority: Critical
> Fix For: 4.4.0
>
> Attachments: management-server.log
>
>
> A guest OS is dynamically added and an instance is deployed successfully 
> using that os type (ISO used to deploy instance was of that OS type). The 
> custom os added was deleted using removeGuestOS. After this the instance is 
> stopped and started again.
> This start operation resulted in Null Pointer Exception.
> 2014-06-16 06:50:33,350 ERROR [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Failed to 
> start instance VM[User|i-2-12-VM]
> java.lang.NullPointerException
> at com.cloud.hypervisor.XenServerGuru.implement(XenServerGuru.java:93)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:995)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
> at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 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:744)
> 2014-06-16 06:50:33,359 DEBUG [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Cleaning up 
> resources for the vm VM[User|i-2-12-VM] in Starting state
> PFA MS log.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6915) Deleting dynamically added OS results in NPE for existing instances using that os type

2014-10-31 Thread Amogh Vasekar (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192668#comment-14192668
 ] 

Amogh Vasekar commented on CLOUDSTACK-6915:
---

Pushed to master and 4.5 via commits : efc9632c1b64a953a95943a1bbfa68fa1a8fdd6d 
and 0c153966e6269249fa38ab7859ab8352747e73f4 respectively.

> Deleting dynamically added OS results in NPE for existing instances using 
> that os type
> --
>
> Key: CLOUDSTACK-6915
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6915
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller
>Affects Versions: 4.4.0, 4.5.0
> Environment: XenServer host 
> Cloudstack 4.4 , VmWare host , CloudStack 4.5
>Reporter: Pavan Kumar Bandarupally
>Assignee: Amogh Vasekar
>Priority: Critical
> Fix For: 4.4.0, 4.5.0
>
> Attachments: VmWareMSLog.log, management-server.log
>
>
> A guest OS is dynamically added and an instance is deployed successfully 
> using that os type (ISO used to deploy instance was of that OS type). The 
> custom os added was deleted using removeGuestOS. After this the instance is 
> stopped and started again.
> This start operation resulted in Null Pointer Exception.
> 2014-06-16 06:50:33,350 ERROR [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Failed to 
> start instance VM[User|i-2-12-VM]
> java.lang.NullPointerException
> at com.cloud.hypervisor.XenServerGuru.implement(XenServerGuru.java:93)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:995)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
> at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 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:744)
> 2014-06-16 06:50:33,359 DEBUG [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Cleaning up 
> resources for the vm VM[User|i-2-12-VM] in Starting state
> PFA MS log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CLOUDSTACK-6915) Deleting dynamically added OS results in NPE for existing instances using that os type

2014-10-31 Thread Amogh Vasekar (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192681#comment-14192681
 ] 

Amogh Vasekar commented on CLOUDSTACK-6915:
---

Issue : Deleting guest OS after an instance is launched off it, would make 
restarting the instance to fal

RCA : Guest OS search did not include removed OS IDs

Solution : Search including removed when searching by guest OS id.

> Deleting dynamically added OS results in NPE for existing instances using 
> that os type
> --
>
> Key: CLOUDSTACK-6915
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6915
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller
>Affects Versions: 4.4.0, 4.5.0
> Environment: XenServer host 
> Cloudstack 4.4 , VmWare host , CloudStack 4.5
>Reporter: Pavan Kumar Bandarupally
>Assignee: Amogh Vasekar
>Priority: Critical
> Fix For: 4.4.0, 4.5.0
>
> Attachments: VmWareMSLog.log, management-server.log
>
>
> A guest OS is dynamically added and an instance is deployed successfully 
> using that os type (ISO used to deploy instance was of that OS type). The 
> custom os added was deleted using removeGuestOS. After this the instance is 
> stopped and started again.
> This start operation resulted in Null Pointer Exception.
> 2014-06-16 06:50:33,350 ERROR [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Failed to 
> start instance VM[User|i-2-12-VM]
> java.lang.NullPointerException
> at com.cloud.hypervisor.XenServerGuru.implement(XenServerGuru.java:93)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:995)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:5180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at 
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at 
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5325)
> at 
> com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> at 
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> at 
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
> at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> 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:744)
> 2014-06-16 06:50:33,359 DEBUG [c.c.v.VirtualMachineManagerImpl] 
> (Work-Job-Executor-35:ctx-dd77fc16 job-86/job-87 ctx-331dc1d9) Cleaning up 
> resources for the vm VM[User|i-2-12-VM] in Starting state
> PFA MS log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)