cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5115) [baremetal] upgrade 4.2.0 ->4.2.1. Unable to start baremetal instance due to Cannot prepare pxe server
Date Mon, 11 Nov 2013 22:50:17 GMT

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

angeline shen commented on CLOUDSTACK-5115:
-------------------------------------------

Verified  build   CloudPlatform-4.2.1-46-rhel6.4.tar.gz 

> [baremetal] upgrade 4.2.0 ->4.2.1. Unable to start baremetal instance due to Cannot
prepare pxe server
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5115
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5115
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Baremetal
>    Affects Versions: 4.2.1
>         Environment: MS    10.223.50.3       rhel 6.4   
>  upgrade  CloudPlatform-4.2.0-2-rhel6.4.tar.gz  ->  
>                 CloudPlatform-4.2.1-41-rhel6.4.tar.gz
> baremetal host1    
>                  host2
>            Reporter: angeline shen
>            Assignee: frank zhang
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> 1. MS   installed  with   CloudPlatform-4.2.0-2-rhel6.4.tar.gz
>     BM DHCP VM installed with  CloudPlatform-4.2.0-2-rhel6.4.tar.gz
>      Deploy  BM zone. create BM  cluster, add host1, register template
>      Deploy  BM  instance.  Verify  BM instance installed correctly.
> 2. MS:   upgrade to  CloudPlatform-4.2.1-41-rhel6.4.tar.gz    
>              ./install.sh    > U
>     BM DHCP VM:  upgrade to  CloudPlatform-4.2.1-41-rhel6.4.tar.gz
>              ./install.sh    > U
>              cloudstack-setup-baremetal
> 3. MS:   service cloudstack-management start
>          In  BM  cluster, add host2, register template2
>          Deploy  BM  instance  FAIL:
> Error: Unable to start baremetal instance due to Cannot prepare pxe server
> 2013-11-08 16:50:45,975 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-1:job-17
= [ 36497193-c912-4a4c-b171-7f5c181a73e3 ]) release cpu from host: 4, old used: 100,reserved:
0, actual total: 2600, total with 
>  overprovisioning: 2600; new used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse

> 2013-11-08 16:50:45,975 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-1:job-17
= [ 36497193-c912-4a4c-b171-7f5c181a73e3 ]) release mem from host: 4, old used: 536870912,reserved:
0, total: 17179869184; new  
> used: 0,reserved:0; movedfromreserved: false,moveToReserveredfalse 
> 2013-11-08 16:50:46,077 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-1:job-17 = [
36497193-c912-4a4c-b171-7f5c181a73e3 ]) Destroying vm VM[User|z1bm63V5] as it failed to create
on Host with Id:null 
> 2013-11-08 16:50:46,185 DEBUG [baremetal.manager.BaremetalManagerImpl] (Job-Executor-1:job-17
= [ 36497193-c912-4a4c-b171-7f5c181a73e3 ]) Skip oldState Stopped to newState Error transimtion

> 2013-11-08 16:50:46,186 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-1:job-17
= [ 36497193-c912-4a4c-b171-7f5c181a73e3 ]) VM state transitted from :Stopped to Error with
event: OperationFailedToErrorvm's original host id: null new host id: null host id before
state transition: null 
> 2013-11-08 16:50:46,342 WARN  [apache.cloudstack.alerts] (Job-Executor-1:job-17 = [ 36497193-c912-4a4c-b171-7f5c181a73e3
])  alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Failed
to deploy Vm with Id: 2, on Host with Id: null 
> 2013-11-08 16:50:46,619 WARN  [user.vm.DeployVMCmd] (Job-Executor-1:job-17 = [ 36497193-c912-4a4c-b171-7f5c181a73e3
]) Exception:  
> com.cloud.exception.AgentUnavailableException: Resource [Host:4] is unreachable: Host
4: Unable to start instance due to Cannot prepare pxe server
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:999)
>         at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:577)
>         at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:237)
>         at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209)
>         at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3440)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3000)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2986)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:420)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>        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:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:722)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: Cannot prepare pxe server

>         at com.cloud.baremetal.networkservice.BaremetalPxeElement.prepare(BaremetalPxeElement.java:133)

>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)

>         at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:2066)

>         at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2200)

>         at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2136)

>         at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:886)

>         ... 20 more 
> 2013-11-08 16:50:46,622 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-1:job-17
= [ 36497193-c912-4a4c-b171-7f5c181a73e3 ]) Complete async job-17 = [ 36497193-c912-4a4c-b171-7f5c181a73e3
], jobStatus: 2, resultCode: 530, result: Error Code: 534 Error text: Resource [Host:4] is
unreachable: Host 4: Unable to start instance due to Cannot prepare pxe server 
> 2013-11-08 16:50:48,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===START===
 10.215.3.21 -- GET  command=queryAsyncJobResult&jobId=36497193-c912-4a4c-b171-7f5c181a73e3&response=json&sessionkey=JzyNHIGdHHIFbUnarYzjMQ%2BvWYA%3D&_=1383958329030

> 2013-11-08 16:50:48,048 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-8:null)
Async job-17 = [ 36497193-c912-4a4c-b171-7f5c181a73e3 ] completed 
> 2013-11-08 16:50:48,056 DEBUG [cloud.api.ApiServlet] (catalina-exec-8:null) ===END===
 10.215.3.21 -- GET  command=queryAsyncJobResult&jobId=36497193-c912-4a4c-b171-7f5c181a73e3&response=json&sessionkey=JzyNHIGdHHIFbUnarYzjMQ%2BvWYA%3D&_=1383958329030

> 2013-11-08 16:50:48,119 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) ===START===
 10.215.3.21 -- GET  command=listVirtualMachines&id=e0b52bf8-30ea-4746-b777-ae54b738a0dd&response=json&sessionkey=JzyNHIGdHHIFbUnarYzjMQ%2BvWYA%3D&_=1383958329116




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message