RE: Host Disconnected after upgrade to ACS 4.9.2

2017-03-19 Thread Ghaith Bannoura
Hello Simon,

I don't have any load balancer , but after update the host password using 
updatehostpassword api , the hosts is up and running but unfortunately there is 
no any vm, system vm or virtual router can be started (when try to start any vm 
the virtual router created and after finish booting its destroyed 
automatically) , below sample from the log  the log 


2017-03-19 10:23:39,761 DEBUG [c.c.a.t.Request] (DirectAgent-185:ctx-2689b47b) 
(logid:0e5bb9fa) Seq 6-5388275479172087905: Processing:  { Ans: , MgmtId: 
233845173047295, via: 6(JOHQHOST02), Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.StartAnswer":{"vm":{"id":733,"name":"r-733-VM","bootloader":"PyGrub","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian
 GNU/Linux 7(64-bit)","platformEmulator":"Debian Wheezy 7.0 
(64-bit)","bootArgs":" template=domP name=r-733-VM eth0ip=192.168.104.157 
eth0mask=255.255.252.0 gateway=192.168.104.1 domain=cs1cloud.internal 
cidrsize=22 dhcprange=192.168.104.1 eth1ip=169.254.1.74 eth1mask=255.255.0.0 
type=dhcpsrvr disable_rp_filter=true dns1=192.168.30.2 dns2= ip6dns1= ip6dns2= 
baremetalnotificationsecuritykey=IwUZ+UPiYew8AFsVM8fo8CZ7IIMFWftmmcmzBqQPPBCq8sWHrcrvTpz4qOiWTNzScqDNpAlQBs3BwFKNKoE1LFBgiSkGt1rFEKq6z88zyydXsz6+YwwAL1inwxVMdgkG
 
baremetalnotificationapikey=I94EoET6AnrIuy3mo6Fv2zEhSBrPIuWdNxt2jnTTxTkX33c9z4ByGo7Tz8KJTcc7es6oB38zjZr8LonxU8fKzQ
 host=192.168.104.2 
port=8080","enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"qfXB2RD5Y4gLWbaFVlEi8A","params":{},"uuid":"3bd402ee-564e-46bf-a6b5-edb08094c0ec","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"009c6bf0-fb71-43c8-ad99-092aafe1984e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7864d43b-b0a4-d479-3119-710fd9f0d4fd","id":2,"poolType":"LVM","host":"192.168.104.11","path":"lvm","port":0,"url":"LVM://192.168.104.11/lvm/?ROLE=Primary&STOREUUID=7864d43b-b0a4-d479-3119-710fd9f0d4fd"}},"name":"ROOT-733","size":3145728000,"path":"0d7285d3-3f48-4541-86b6-38020d9d59bd","volumeId":734,"vmName":"r-733-VM","accountId":1,"format":"VHD","provisioningType":"THIN","id":734,"deviceId":0,"bytesReadRate":0,"bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"0d7285d3-3f48-4541-86b6-38020d9d59bd","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"192.168.104.11","volumeSize":"3145728000"}}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"pxeDisable":true,"nicUuid":"c8f551f0-73c3-429b-8404-f4ca40dc98be","uuid":"53dd9246-ceb5-4484-b8f8-6f214466c67d","ip":"192.168.104.157","netmask":"255.255.252.0","gateway":"192.168.104.1","mac":"06:c8:dc:00:00:6c","dns1":"192.168.30.2","dns2":"","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isSecurityGroupEnabled":true},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"nicUuid":"0344754e-292a-407a-8d8d-578303e418b9","uuid":"1196bf19-1bae-4beb-a511-68cc310fd1db","ip":"169.254.1.74","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01:4a","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"_iqnToPath":{},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"result":false,"details":"GetDomRVersionCmd
 failed","wait":0}}] }
2017-03-19 10:23:39,768 WARN  [o.a.c.alerts] (Work-Job-Executor-4:ctx-00f8fec4 
job-7501/job-7504 ctx-152e4b4e) (logid:0e5bb9fa)  alertType:: 9 // 
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command: 
com.cloud.agent.api.GetDomRVersionCommand failed while starting virtual router
2017-03-19 10:23:39,774 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e) 
(logid:0e5bb9fa) GetDomRVersionCmd failed
2017-03-19 10:23:39,774 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e) 
(logid:0e5bb9fa) Command: com.cloud.agent.api.GetDomRVersionCommand failed 
while starting virtual router
2017-03-19 10:23:41,499 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-13:ctx-5a19ecc3 ctx-04aa7c8a) (logid:e427c85a) Received unknown 
parameters for command queryAsyncJobResult. Unknown parameters : projectid
2017-03-19 10:23:44,500 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-10:ctx-86278f34 ctx-259dbd1b) (logid:da522034) Received unknown 
parameters for command queryAsyncJobResult. Unknown parameters : projectid
2017-03-19 10:23:46,033 ERROR [c.c.v.VirtualMachineManagerImpl] 
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e) 
(logid:0e5bb9fa) Failed to start instance VM[DomainRouter|r-733-VM]
com.cloud.utils.exception.ExecutionException: Unable to start  
VM:3bd402ee-564e-46bf-a6b5-edb08094c

Re: Host Disconnected after upgrade to ACS 4.9.2

2017-03-19 Thread Gabriel Beims Bräscher

Hi Ghaith,

I had a similar problem due to Dom0 out of disk space.

XenServer 6.5 Dom0 has a limited disk space (4.0 GB). You can check if 
the Dom0 is out of disk space with "df -h".

If that is the case, just have to clean some old log files.

Cheers,
Gabriel.

Em 19/03/2017 05:38, Ghaith Bannoura escreveu:

Hello Simon,

I don't have any load balancer , but after update the host password using 
updatehostpassword api , the hosts is up and running but unfortunately there is 
no any vm, system vm or virtual router can be started (when try to start any vm 
the virtual router created and after finish booting its destroyed 
automatically) , below sample from the log  the log


2017-03-19 10:23:39,761 DEBUG [c.c.a.t.Request] (DirectAgent-185:ctx-2689b47b) (logid:0e5bb9fa) Seq 6-5388275479172087905: Processing:  { Ans: , MgmtId: 233845173047295, via: 6(JOHQHOST02), Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":733,"name":"r-733-VM","bootloader":"PyGrub","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"maxRam":268435456,"arch":"x86_64","os":"Debian GNU/Linux 7(64-bit)","platformEmulator":"Debian Wheezy 7.0 (64-bit)","bootArgs":" template=domP name=r-733-VM eth0ip=192.168.104.157 eth0mask=255.255.252.0 gateway=192.168.104.1 domain=cs1cloud.internal cidrsize=22 dhcprange=192.168.104.1 eth1ip=169.254.1.74 eth1mask=255.255.0.0 type=dhcpsrvr disable_rp_filter=true dns1=192.168.30.2 dns2= ip6dns1= ip6dns2= baremetalnotificationsecuritykey=IwUZ+UPiYew8AFsVM8fo8CZ7IIMFWftmmcmzBqQPPBCq8sWHrcrvTpz4qOiWTNzScqDNpAlQBs3BwFKNKoE1LFBgiSkGt1rFEKq6z88zyydXsz6+YwwAL1inwxVMdgkG baremetalnotificationapikey=I94EoET6AnrIuy3mo6Fv2zEhSBrPIuWdNxt2jnTTxTkX33c9z4ByGo7Tz8KJTcc7es6oB38zjZr8LonxU8fKzQ host=192.168.104.2 
port=8080","enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"qfXB2RD5Y4gLWbaFVlEi8A","params":{},"uuid":"3bd402ee-564e-46bf-a6b5-edb08094c0ec","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"009c6bf0-fb71-43c8-ad99-092aafe1984e","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7864d43b-b0a4-d479-3119-710fd9f0d4fd","id":2,"poolType":"LVM","host":"192.168.104.11","path":"lvm","port":0,"url":"LVM://192.168.104.11/lvm/?ROLE=Primary&STOREUUID=7864d43b-b0a4-d479-3119-710fd9f0d4fd"}},"name":"ROOT-733","size":3145728000,"path":"0d7285d3-3f48-4541-86b6-38020d9d59bd","volumeId":734,"vmName":"r-733-VM","accountId":1,"format":"VHD","provisioningType":"THIN","id":734,"deviceId":0,"bytesReadRate":0,"bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"0d7285d3-3f48-4541-86b6-38020d9d59bd","type":"ROOT","_details":{"managed":"false","storagePort":"0","storageHost":"192.168.104.11","volumeSize":"3145728000"}}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"pxeDisable":true,"nicUuid":"c8f551f0-73c3-429b-8404-f4ca40dc98be","uuid":"53dd9246-ceb5-4484-b8f8-6f214466c67d","ip":"192.168.104.157","netmask":"255.255.252.0","gateway":"192.168.104.1","mac":"06:c8:dc:00:00:6c","dns1":"192.168.30.2","dns2":"","broadcastType":"Native","type":"Guest","broadcastUri":"vlan://untagged","isSecurityGroupEnabled":true},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"nicUuid":"0344754e-292a-407a-8d8d-578303e418b9","uuid":"1196bf19-1bae-4beb-a511-68cc310fd1db","ip":"169.254.1.74","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:01:4a","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false}]},"_iqnToPath":{},"result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSshAnswer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetDomRVersionAnswer":{"result":false,"details":"GetDomRVersionCmd
 failed","wait":0}}] }
2017-03-19 10:23:39,768 WARN  [o.a.c.alerts] (Work-Job-Executor-4:ctx-00f8fec4 
job-7501/job-7504 ctx-152e4b4e) (logid:0e5bb9fa)  alertType:: 9 // 
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command: 
com.cloud.agent.api.GetDomRVersionCommand failed while starting virtual router
2017-03-19 10:23:39,774 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e) 
(logid:0e5bb9fa) GetDomRVersionCmd failed
2017-03-19 10:23:39,774 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e) 
(logid:0e5bb9fa) Command: com.cloud.agent.api.GetDomRVersionCommand failed 
while starting virtual router
2017-03-19 10:23:41,499 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-13:ctx-5a19ecc3 ctx-04aa7c8a) (logid:e427c85a) Received unknown 
parameters for command queryAsyncJobResult. Unknown parameters : projectid
2017-03-19 10:23:44,500 WARN  [c.c.a.d.ParamGenericValidationWorker] 
(catalina-exec-10:ctx-86278f34 ctx-259dbd1b) (logid:da522034) Received unknown 
parameters for command queryAsyncJobResult. Unknown parameters : projectid

Re: Host Disconnected after upgrade to ACS 4.9.2

2017-03-19 Thread Prakash Sharma
Well, If that works out then its fine.

But I think, issue is management is not able to pull correct status of VR.
Or VR is not getting setup correctly.

2017-03-19 10:23:39,768 WARN  [o.a.c.alerts] (Work-Job-Executor-4:ctx-00f8fec4
job-7501/job-7504 ctx-152e4b4e) (logid:0e5bb9fa)  alertType:: 9 //
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command:
com.cloud.agent.api.GetDomRVersionCommand failed while starting virtual
router
2017-03-19 10:23:39,774 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e)
(logid:0e5bb9fa) GetDomRVersionCmd failed
2017-03-19 10:23:39,774 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e)
(logid:0e5bb9fa) Command: com.cloud.agent.api.GetDomRVersionCommand failed
while starting virtual router

On Sun, Mar 19, 2017 at 8:40 PM, Gabriel Beims Bräscher <
gabr...@autonomiccs.com.br> wrote:

> Hi Ghaith,
>
> I had a similar problem due to Dom0 out of disk space.
>
> XenServer 6.5 Dom0 has a limited disk space (4.0 GB). You can check if the
> Dom0 is out of disk space with "df -h".
> If that is the case, just have to clean some old log files.
>
> Cheers,
> Gabriel.
>
>
> Em 19/03/2017 05:38, Ghaith Bannoura escreveu:
>
>> Hello Simon,
>>
>> I don't have any load balancer , but after update the host password using
>> updatehostpassword api , the hosts is up and running but unfortunately
>> there is no any vm, system vm or virtual router can be started (when try to
>> start any vm the virtual router created and after finish booting its
>> destroyed automatically) , below sample from the log  the log
>>
>>
>> 2017-03-19 10:23:39,761 DEBUG [c.c.a.t.Request]
>> (DirectAgent-185:ctx-2689b47b) (logid:0e5bb9fa) Seq 6-5388275479172087905:
>> Processing:  { Ans: , MgmtId: 233845173047295, via: 6(JOHQHOST02), Ver: v1,
>> Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":733,"name":"
>> r-733-VM","bootloader":"PyGrub","type":"DomainRouter",
>> "cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"
>> maxRam":268435456,"arch":"x86_64","os":"Debian GNU/Linux
>> 7(64-bit)","platformEmulator":"Debian Wheezy 7.0 (64-bit)","bootArgs":"
>> template=domP name=r-733-VM eth0ip=192.168.104.157 eth0mask=255.255.252.0
>> gateway=192.168.104.1 domain=cs1cloud.internal cidrsize=22
>> dhcprange=192.168.104.1 eth1ip=169.254.1.74 eth1mask=255.255.0.0
>> type=dhcpsrvr disable_rp_filter=true dns1=192.168.30.2 dns2= ip6dns1=
>> ip6dns2= baremetalnotificationsecuritykey=IwUZ+UPiYew8AFsVM8fo8CZ7IIM
>> FWftmmcmzBqQPPBCq8sWHrcrvTpz4qOiWTNzScqDNpAlQBs3BwFKNKoE1LFB
>> giSkGt1rFEKq6z88zyydXsz6+YwwAL1inwxVMdgkG baremetalnotificationapikey=I9
>> 4EoET6AnrIuy3mo6Fv2zEhSBrPIuWdNxt2jnTTxTkX33c9z4ByGo7Tz8KJTcc7es6oB38zjZr8LonxU8fKzQ
>> host=192.168.104.2 port=8080","enableHA":true,"li
>> mitCpuUse":false,"enableDynamicallyScaleVm":false,"
>> vncPassword":"qfXB2RD5Y4gLWbaFVlEi8A","params":{},"uuid":"
>> 3bd402ee-564e-46bf-a6b5-edb08094c0ec","disks":[{"data":{"org.apache.
>> cloudstack.storage.to.VolumeObjectTO":{"uuid":"009c6bf0-fb71-43c8-
>> ad99-092aafe1984e","volumeType":"ROOT","dataStore":{"org.
>> apache.cloudstack.storage.to.PrimaryDataStoreTO"
>> :{"uuid":"7864d43b-b0a4-d479-3119-710fd9f0d4fd","id":2,"poo
>> lType":"LVM","host":"192.168.104.11","path":"lvm","port":0,"url":"LVM://
>> 192.168.104.11/lvm/?ROLE=Primary&STOREUUID=7864d43b-b0a4-d479-3119-
>> 710fd9f0d4fd"}},"name":"ROOT-733","size":3145728000,"path":
>> "0d7285d3-3f48-4541-86b6-38020d9d59bd","volumeId":734,"
>> vmName":"r-733-VM","accountId":1,"format":"VHD","provisionin
>> gType":"THIN","id":734,"deviceId":0,"bytesReadRate":0,
>> "bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hyper
>> visorType":"XenServer"}},"diskSeq":0,"path":"0d7285d3-3f
>> 48-4541-86b6-38020d9d59bd","type":"ROOT","_details":{"manage
>> d":"false","storagePort":"0","storageHost":"192.168.104.11",
>> "volumeSize":"3145728000"}}],"nics":[{"deviceId":0,"
>> networkRateMbps":200,"defaultNic":true,"pxeDisable":
>> true,"nicUuid":"c8f551f0-73c3-429b-8404-f4ca40dc98be","uuid"
>> :"53dd9246-ceb5-4484-b8f8-6f214466c67d","ip":"192.168.104.
>> 157","netmask":"255.255.252.0","gateway":"192.168.104.1","
>> mac":"06:c8:dc:00:00:6c","dns1":"192.168.30.2","dns2":"","
>> broadcastType":"Native","type":"Guest","broadcastUri":"vlan:
>> //untagged","isSecurityGroupEnabled":true},{"deviceId":1,"ne
>> tworkRateMbps":-1,"defaultNic":false,"pxeDisable":true,"
>> nicUuid":"0344754e-292a-407a-8d8d-578303e418b9","uuid":"
>> 1196bf19-1bae-4beb-a511-68cc310fd1db","ip":"169.254.1.
>> 74","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"
>> 0e:00:a9:fe:01:4a","broadcastType":"LinkLocal","type":"
>> Control","isSecurityGroupEnabled":false}]},"_iqnToPath":{},"
>> result":true,"wait":0}},{"com.cloud.agent.api.check.CheckSsh
>> Answer":{"result":true,"wait":0}},{"com.cloud.agent.api.GetD
>> omRVersionAnswer":{"result":false,"details":"GetDomRVersionCmd

Re: Welcoming Wido as the new ACS VP

2017-03-19 Thread Wido den Hollander
Thank you Will and all!

I'll be present at CCC in Miami this year for a 'official' initiation as VP of 
the CloudStack project :)

Wido 

> Op 16 maart 2017 om 18:00 schreef Will Stevens :
> 
> 
> Hello Everyone,
> It has been a pleasure working with you as the ACS VP over the past year.
> I would like to say Thank You to everyone who has supported me in this role
> and have supported the project as a whole.
> 
> It is my pleasure to announce that Wido den Hollander has been voted in to
> replace me as the Apache Cloudstack VP in our annual VP rotation.  Wido has
> a long history with the project and we are happy welcome him into this new
> role.
> 
> Be sure to join us at CCC in Miami [1] so we can initiate him correctly
> over many beers.  :)
> 
> Cheers,
> 
> *Will Stevens*
> 
> ​[1] http://us.cloudstackcollab.org/​


Re: VM Data and root VHD missing after storage migration

2017-03-19 Thread Tejas Sheth
Thanks Prakash,

   Let me check the SM.log.



On Fri, Mar 17, 2017 at 4:41 AM, Prakash Sharma 
wrote:

> I faintly remember that XS 6.2 had a bug where if the destination SR is
> full, volume migration used to fail and that used to keep volume in very
> vulnerable situation, where garbage collector will kick in and remove those
> volumes.
>
> You can go through SM.log in xenserver and verify what might have happened.
>
>
> On 17 Mar 2017 05:39, "Makrand"  wrote:
>
> > Hi Tejas,
> >
> > You may want to read this email thread that I initiated in past around
> same
> > problem. I mainly moved the volumes with VMs running.
> >
> > https://mail-archive.com/users@cloudstack.apache.org/msg20650.html
> >
> > What is path parameter value under volume table for  the missing volumes?
> > That value represents the vdi id while the volume was on old storage.
> >
> >
> >
> > --
> > Makrand
> >
> >
> > On Thu, Mar 16, 2017 at 11:30 PM, Yiping Zhang 
> wrote:
> >
> > > How did you migrate your VM?  Did you do VM live migration with storage
> > > migration, or stop VM, migrate disks, then start VM on new storage?
> > >
> > > My situation was the first case, the VM was running during migration,
> so
> > > we knew the disks were available on the new storage. The problem was if
> > we
> > > stop those migrated VM, they could not be restarted due to DB
> corruption,
> > > thus the need to fix DB to point to correct volumes.
> > >
> > > If you migrated your VM like in the second case, then your volume
> > > migration step failed.  You should find relevant log entries about
> volume
> > > migration, hopefully it gives you more info there.
> > >
> > >
> > > On 3/16/17, 1:31 AM, "Tejas Sheth"  wrote:
> > >
> > > Hi,
> > >
> > >I searched for few documents but in all documents they are
> > > mentioning
> > > that VHD will be available on destination storage (but database
> will
> > > point
> > > to source storage)
> > >
> > >   In our case VHD file is missing from source and destination
> > storage.
> > >
> > >
> > >
> >
>


RE: Host Disconnected after upgrade to ACS 4.9.2

2017-03-19 Thread Ghaith Bannoura
The Dom0 in all servers around 80-85% full , is there anything else should I 
check ? 

Best Regards,
EtQ, Inc.
Ghaith Bannoura
Senior System Administrator
MCT, MCSE (Messaging, Server Infrastructure)
MCSA (Windows Server 2008, 2012), MCP 

   Phone: +9626-537-0923 Ext. 376
P  gbanno...@etq.com 
G   http://www.etq.com

-Original Message-
From: Prakash Sharma [mailto:sharmapraka...@gmail.com] 
Sent: Sunday, March 19, 2017 5:34 PM
To: users@cloudstack.apache.org
Subject: Re: Host Disconnected after upgrade to ACS 4.9.2

Well, If that works out then its fine.

But I think, issue is management is not able to pull correct status of VR.
Or VR is not getting setup correctly.

2017-03-19 10:23:39,768 WARN  [o.a.c.alerts] (Work-Job-Executor-4:ctx-00f8fec4
job-7501/job-7504 ctx-152e4b4e) (logid:0e5bb9fa)  alertType:: 9 //
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Command:
com.cloud.agent.api.GetDomRVersionCommand failed while starting virtual router
2017-03-19 10:23:39,774 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e)
(logid:0e5bb9fa) GetDomRVersionCmd failed
2017-03-19 10:23:39,774 WARN  [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Work-Job-Executor-4:ctx-00f8fec4 job-7501/job-7504 ctx-152e4b4e)
(logid:0e5bb9fa) Command: com.cloud.agent.api.GetDomRVersionCommand failed 
while starting virtual router

On Sun, Mar 19, 2017 at 8:40 PM, Gabriel Beims Bräscher < 
gabr...@autonomiccs.com.br> wrote:

> Hi Ghaith,
>
> I had a similar problem due to Dom0 out of disk space.
>
> XenServer 6.5 Dom0 has a limited disk space (4.0 GB). You can check if 
> the
> Dom0 is out of disk space with "df -h".
> If that is the case, just have to clean some old log files.
>
> Cheers,
> Gabriel.
>
>
> Em 19/03/2017 05:38, Ghaith Bannoura escreveu:
>
>> Hello Simon,
>>
>> I don't have any load balancer , but after update the host password 
>> using updatehostpassword api , the hosts is up and running but 
>> unfortunately there is no any vm, system vm or virtual router can be 
>> started (when try to start any vm the virtual router created and 
>> after finish booting its destroyed automatically) , below sample from 
>> the log  the log
>>
>>
>> 2017-03-19 10:23:39,761 DEBUG [c.c.a.t.Request]
>> (DirectAgent-185:ctx-2689b47b) (logid:0e5bb9fa) Seq 6-5388275479172087905:
>> Processing:  { Ans: , MgmtId: 233845173047295, via: 6(JOHQHOST02), 
>> Ver: v1,
>> Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":733,"name":"
>> r-733-VM","bootloader":"PyGrub","type":"DomainRouter",
>> "cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":268435456,"
>> maxRam":268435456,"arch":"x86_64","os":"Debian GNU/Linux 
>> 7(64-bit)","platformEmulator":"Debian Wheezy 7.0 (64-bit)","bootArgs":"
>> template=domP name=r-733-VM eth0ip=192.168.104.157 
>> eth0mask=255.255.252.0
>> gateway=192.168.104.1 domain=cs1cloud.internal cidrsize=22
>> dhcprange=192.168.104.1 eth1ip=169.254.1.74 eth1mask=255.255.0.0 
>> type=dhcpsrvr disable_rp_filter=true dns1=192.168.30.2 dns2= ip6dns1= 
>> ip6dns2= baremetalnotificationsecuritykey=IwUZ+UPiYew8AFsVM8fo8CZ7IIM
>> FWftmmcmzBqQPPBCq8sWHrcrvTpz4qOiWTNzScqDNpAlQBs3BwFKNKoE1LFB
>> giSkGt1rFEKq6z88zyydXsz6+YwwAL1inwxVMdgkG 
>> giSkGt1rFEKq6z88zyydXsz6+baremetalnotificationapikey=I9
>> 4EoET6AnrIuy3mo6Fv2zEhSBrPIuWdNxt2jnTTxTkX33c9z4ByGo7Tz8KJTcc7es6oB38
>> zjZr8LonxU8fKzQ
>> host=192.168.104.2 port=8080","enableHA":true,"li 
>> mitCpuUse":false,"enableDynamicallyScaleVm":false,"
>> vncPassword":"qfXB2RD5Y4gLWbaFVlEi8A","params":{},"uuid":"
>> 3bd402ee-564e-46bf-a6b5-edb08094c0ec","disks":[{"data":{"org.apache.
>> cloudstack.storage.to.VolumeObjectTO":{"uuid":"009c6bf0-fb71-43c8-
>> ad99-092aafe1984e","volumeType":"ROOT","dataStore":{"org.
>> apache.cloudstack.storage.to.PrimaryDataStoreTO"
>> :{"uuid":"7864d43b-b0a4-d479-3119-710fd9f0d4fd","id":2,"poo
>> lType":"LVM","host":"192.168.104.11","path":"lvm","port":0,"url":"LVM
>> ://
>> 192.168.104.11/lvm/?ROLE=Primary&STOREUUID=7864d43b-b0a4-d479-3119-
>> 710fd9f0d4fd"}},"name":"ROOT-733","size":3145728000,"path":
>> "0d7285d3-3f48-4541-86b6-38020d9d59bd","volumeId":734,"
>> vmName":"r-733-VM","accountId":1,"format":"VHD","provisionin
>> gType":"THIN","id":734,"deviceId":0,"bytesReadRate":0,
>> "bytesWriteRate":0,"iopsReadRate":0,"iopsWriteRate":0,"hyper
>> visorType":"XenServer"}},"diskSeq":0,"path":"0d7285d3-3f
>> 48-4541-86b6-38020d9d59bd","type":"ROOT","_details":{"manage
>> d":"false","storagePort":"0","storageHost":"192.168.104.11",
>> "volumeSize":"3145728000"}}],"nics":[{"deviceId":0,"
>> networkRateMbps":200,"defaultNic":true,"pxeDisable":
>> true,"nicUuid":"c8f551f0-73c3-429b-8404-f4ca40dc98be","uuid"
>> :"53dd9246-ceb5-4484-b8f8-6f214466c67d","ip":"192.168.104.
>> 157","netmask":"255.255.252.0","gateway":"192.168.104.1","
>> mac":"06:c8:dc:00:00:6c","dns1":"192.168.30.2","dns2":"","
>> broadcastType":"Native","type":"Guest","broadcastUri":"vlan:
>> //untagged","isSecurityGr