RE: hyper-v agent building on cloudstack 4.3
Thanks Tejas for the info. -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, February 6, 2014 9:52 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi , Thanks for the replay Yerserday i was trying to install hyper-v agent on hyper-v host. (Windows Server 2012 R2 ) This time i have chosen different VLAN (with DNS and DHCP running) but has same domain. I have tried to installed hyper v agent after assigning static ip to the system and created entry in router. In first attempt service got install successfully. logs are as below, 2014-02-05 17:30:19,302 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-02-05 17:30:19,411 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-02-05 17:30:20,963 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-02-05 17:30:21,612 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-02-05 17:30:22,648 [1] DEBUG CloudStack.Plugin.AgentShell.AgentService [(null)] - Controller HypervResourceController is available Regards, Tejas On Mon, Feb 3, 2014 at 7:16 PM, Rajesh Battala rajesh.batt...@citrix.comwrote: I guess so, for static ip manually dns entry should be created on router. -Original Message- From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: Monday, February 3, 2014 6:40 PM To: users@cloudstack.apache.org Subject: RE: hyper-v agent building on cloudstack 4.3 I suspect when using DHCP the IP was being added to DNS, when using a static IP, it was not... Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.an...@shapeblue.com -Original Message- From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] Sent: 03 February 2014 12:28 To: users@cloudstack.apache.org Subject: RE: hyper-v agent building on cloudstack 4.3 Sure , Thanks for the update. send out more details/issues when you come across on Hyper-V management with cloudstack. Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Monday, February 3, 2014 5:33 PM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Rajesh, I have physical hyper-v host with static ip. but When agent was giving *Error 1053: The service did not respond to the start or control request in a timely fashion . *I give though to play with registry, hence replicate similar setup in virtual machine with DHCP assigned IP. In Virtual hyper-v setup agent got install in first attempt, It doesn't make any sense to me. Setup is in same domain and in same VLAN as my physical host was. Only difference was IP assignment via DHCP. I have re-install agent many time, It was working fine. Then I have assigned static IP to Virtual hyper-v setup and agent was giving same Error what I was facing on physical host. Then I assigned IP to my physical host via DHCP and service worked on it as well. I suspect, there may be problem with Windows system also. I am using windows Server 2012 R2 Datacanter. right now I am updating windows and will try again once update is completed. I was also planning to post this issue,Thanks for asking the question. Regards, Tejas On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala rajesh.batt...@citrix.com wrote: Hi Tejas, Good to know agent is running now. What you have fixed to run the agent? Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 30, 2014 8:57 PM To: Anshul Gangwar; users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying
RE: hyper-v agent building on cloudstack 4.3
Sure , Thanks for the update. send out more details/issues when you come across on Hyper-V management with cloudstack. Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Monday, February 3, 2014 5:33 PM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Rajesh, I have physical hyper-v host with static ip. but When agent was giving *Error 1053: The service did not respond to the start or control request in a timely fashion . *I give though to play with registry, hence replicate similar setup in virtual machine with DHCP assigned IP. In Virtual hyper-v setup agent got install in first attempt, It doesn't make any sense to me. Setup is in same domain and in same VLAN as my physical host was. Only difference was IP assignment via DHCP. I have re-install agent many time, It was working fine. Then I have assigned static IP to Virtual hyper-v setup and agent was giving same Error what I was facing on physical host. Then I assigned IP to my physical host via DHCP and service worked on it as well. I suspect, there may be problem with Windows system also. I am using windows Server 2012 R2 Datacanter. right now I am updating windows and will try again once update is completed. I was also planning to post this issue,Thanks for asking the question. Regards, Tejas On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala rajesh.batt...@citrix.comwrote: Hi Tejas, Good to know agent is running now. What you have fixed to run the agent? Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 30, 2014 8:57 PM To: Anshul Gangwar; users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/ %3 ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook .c om%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang...@citrix.com wrote: Have you disabled firewall? If not try that or open up the 8250 port and check if service comes up now. *From:* Anshul Gangwar *Sent:* Wednesday, January 29, 2014 4:13 PM *To:* 'Tejas Gadaria' *Subject:* RE: hyper-v agent building on cloudstack 4.3 Can you verify whether the user has log on as service rights? *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Wednesday, January 29, 2014 3:33 PM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, DNS Suffix is already set on the host. I re-installed Hyperv Agent with Domain\Administrator
RE: hyper-v agent building on cloudstack 4.3
I suspect when using DHCP the IP was being added to DNS, when using a static IP, it was not... Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.an...@shapeblue.com -Original Message- From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] Sent: 03 February 2014 12:28 To: users@cloudstack.apache.org Subject: RE: hyper-v agent building on cloudstack 4.3 Sure , Thanks for the update. send out more details/issues when you come across on Hyper-V management with cloudstack. Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Monday, February 3, 2014 5:33 PM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Rajesh, I have physical hyper-v host with static ip. but When agent was giving *Error 1053: The service did not respond to the start or control request in a timely fashion . *I give though to play with registry, hence replicate similar setup in virtual machine with DHCP assigned IP. In Virtual hyper-v setup agent got install in first attempt, It doesn't make any sense to me. Setup is in same domain and in same VLAN as my physical host was. Only difference was IP assignment via DHCP. I have re-install agent many time, It was working fine. Then I have assigned static IP to Virtual hyper-v setup and agent was giving same Error what I was facing on physical host. Then I assigned IP to my physical host via DHCP and service worked on it as well. I suspect, there may be problem with Windows system also. I am using windows Server 2012 R2 Datacanter. right now I am updating windows and will try again once update is completed. I was also planning to post this issue,Thanks for asking the question. Regards, Tejas On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala rajesh.batt...@citrix.comwrote: Hi Tejas, Good to know agent is running now. What you have fixed to run the agent? Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 30, 2014 8:57 PM To: Anshul Gangwar; users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/ %3 ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook .c om%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang...@citrix.com wrote: Have you disabled firewall? If not try that or open up the 8250 port and check if service comes up now. *From:* Anshul Gangwar *Sent:* Wednesday, January 29, 2014 4:13 PM *To:* 'Tejas Gadaria' *Subject:* RE: hyper-v agent building on cloudstack 4.3
RE: hyper-v agent building on cloudstack 4.3
I guess so, for static ip manually dns entry should be created on router. -Original Message- From: Paul Angus [mailto:paul.an...@shapeblue.com] Sent: Monday, February 3, 2014 6:40 PM To: users@cloudstack.apache.org Subject: RE: hyper-v agent building on cloudstack 4.3 I suspect when using DHCP the IP was being added to DNS, when using a static IP, it was not... Regards, Paul Angus Cloud Architect S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus paul.an...@shapeblue.com -Original Message- From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] Sent: 03 February 2014 12:28 To: users@cloudstack.apache.org Subject: RE: hyper-v agent building on cloudstack 4.3 Sure , Thanks for the update. send out more details/issues when you come across on Hyper-V management with cloudstack. Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Monday, February 3, 2014 5:33 PM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Rajesh, I have physical hyper-v host with static ip. but When agent was giving *Error 1053: The service did not respond to the start or control request in a timely fashion . *I give though to play with registry, hence replicate similar setup in virtual machine with DHCP assigned IP. In Virtual hyper-v setup agent got install in first attempt, It doesn't make any sense to me. Setup is in same domain and in same VLAN as my physical host was. Only difference was IP assignment via DHCP. I have re-install agent many time, It was working fine. Then I have assigned static IP to Virtual hyper-v setup and agent was giving same Error what I was facing on physical host. Then I assigned IP to my physical host via DHCP and service worked on it as well. I suspect, there may be problem with Windows system also. I am using windows Server 2012 R2 Datacanter. right now I am updating windows and will try again once update is completed. I was also planning to post this issue,Thanks for asking the question. Regards, Tejas On Mon, Feb 3, 2014 at 8:44 AM, Rajesh Battala rajesh.batt...@citrix.comwrote: Hi Tejas, Good to know agent is running now. What you have fixed to run the agent? Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 30, 2014 8:57 PM To: Anshul Gangwar; users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/ %3 ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook .c om%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang
RE: hyper-v agent building on cloudstack 4.3
Hi Tejas, Good to know agent is running now. What you have fixed to run the agent? Thanks Rajesh Battala -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Thursday, January 30, 2014 8:57 PM To: Anshul Gangwar; users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/%3 ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook.c om%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang...@citrix.com wrote: Have you disabled firewall? If not try that or open up the 8250 port and check if service comes up now. *From:* Anshul Gangwar *Sent:* Wednesday, January 29, 2014 4:13 PM *To:* 'Tejas Gadaria' *Subject:* RE: hyper-v agent building on cloudstack 4.3 Can you verify whether the user has log on as service rights? *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Wednesday, January 29, 2014 3:33 PM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, DNS Suffix is already set on the host. I re-installed Hyperv Agent with Domain\Administrator Privileges. I think Agent has installed, but service is not started. In services.msc , I got service called CloudStack Hyper-V Agent, service type=Automatic, Service Status = Stop When I tried to start service by clicking on 'start' button, I received Error 1053: The service did not respond to the start or control request in a timely fashion Logs for hyperv agent are as below, 2014-01-29 14:36:42,264 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-29 14:36:42,373 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-29 14:36:43,467 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-29 14:36:43,686 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-29 14:36:59,356 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Regards, Tejas On Wed, Jan 29, 2014 at 10:28 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi Tejas, Can you verify weather dns suffix is set on host? You can use ipconfig to verify that. If it is blank you can use below command to set the dns suffix netdom computername hostname.domain.com /add:newhostname.newdomain.comnetdom computername hostname.domain.com /makeprimary:newhostname.newdomain.com then uninstall the Agent AgentShell.exe --uninstall And then reinstall the agent. Regards, Anshul
Re: hyper-v agent building on cloudstack 4.3
Hi, Thanks for support. Hyper-V agent is working now.! Regards, Tejas On Thu, Jan 30, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/%3ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook.com%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang...@citrix.com wrote: Have you disabled firewall? If not try that or open up the 8250 port and check if service comes up now. *From:* Anshul Gangwar *Sent:* Wednesday, January 29, 2014 4:13 PM *To:* 'Tejas Gadaria' *Subject:* RE: hyper-v agent building on cloudstack 4.3 Can you verify whether the user has log on as service rights? *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Wednesday, January 29, 2014 3:33 PM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, DNS Suffix is already set on the host. I re-installed Hyperv Agent with Domain\Administrator Privileges. I think Agent has installed, but service is not started. In services.msc , I got service called CloudStack Hyper-V Agent, service type=Automatic, Service Status = Stop When I tried to start service by clicking on 'start' button, I received Error 1053: The service did not respond to the start or control request in a timely fashion Logs for hyperv agent are as below, 2014-01-29 14:36:42,264 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-29 14:36:42,373 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-29 14:36:43,467 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-29 14:36:43,686 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-29 14:36:59,356 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Regards, Tejas On Wed, Jan 29, 2014 at 10:28 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi Tejas, Can you verify weather dns suffix is set on host? You can use ipconfig to verify that. If it is blank you can use below command to set the dns suffix netdom computername hostname.domain.com /add:newhostname.newdomain.comnetdom computername hostname.domain.com /makeprimary:newhostname.newdomain.com then uninstall the Agent AgentShell.exe --uninstall And then reinstall the agent. Regards, Anshul -Original Message- From: Anshul Gangwar Sent: Wednesday, January 29, 2014 10:08 AM To: Ram Ganesh; users@cloudstack.apache.org Cc: Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 Hi Tejas, Can you look into following mail threads and see if that resolves your problem https://www.mail-archive.com/dev
Re: hyper-v agent building on cloudstack 4.3
Hi Ram Ganesh, I have created a user in AD with Domain Admin and Administrator privileges, Also it is Hyper-V Administrator and and local Administrator group. As I am working with one host I have not checked for inherit rights for migrating VM till now . Regards, Tejas On Tue, Jan 28, 2014 at 11:02 PM, Ram Ganesh ram.gan...@citrix.com wrote: -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 28 January 2014 21:29 To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both, but didn't work this time. [RamG] I think the user should be a domain admin and also belong to HyperV-Admin group as well to inherit rights around migrating a VM from one host to another. Can you check on that? Regards, Tejas On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat ing+and+installing+self+signed+certificate+for+CloudStack+Management+ Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyp erv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
Re: hyper-v agent building on cloudstack 4.3
DNS Suffix is already set on the host. I have firewall disabled and log on as service right available. I re-installed Hyperv Agent with Domain\Administrator Privileges. I think Agent has installed, but service is not started. In services.msc , I got service called CloudStack Hyper-V Agent, service type=Automatic, Service Status = Stop When I tried to start service by clicking on 'start' button, I received Error 1053: The service did not respond to the start or control request in a timely fashion Logs for hyperv agent are as below, 2014-01-29 14:36:42,264 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-29 14:36:42,373 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-29 14:36:43,467 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-29 14:36:43,686 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-29 14:36:59,356 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Regards, Tejas On Thu, Jan 30, 2014 at 11:24 AM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anshul, DNS Suffix is already set on the host. I have firewall disabled and log on as service right available. I re-installed Hyperv Agent with Domain\Administrator Privileges. I think Agent has installed, but service is not started. In services.msc , I got service called CloudStack Hyper-V Agent, service type=Automatic, Service Status = Stop When I tried to start service by clicking on 'start' button, I received Error 1053: The service did not respond to the start or control request in a timely fashion Logs for hyperv agent are as below, 2014-01-29 14:36:42,264 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-29 14:36:42,373 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-29 14:36:43,467 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-29 14:36:43,686 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-29 14:36:59,356 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Regards, Tejas On Wed, Jan 29, 2014 at 10:28 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi Tejas, Can you verify weather dns suffix is set on host? You can use ipconfig to verify that. If it is blank you can use below command to set the dns suffix netdom computername hostname.domain.com /add:newhostname.newdomain.comnetdom computername hostname.domain.com /makeprimary:newhostname.newdomain.com then uninstall the Agent AgentShell.exe --uninstall And then reinstall the agent. Regards, Anshul -Original Message- From: Anshul Gangwar Sent: Wednesday, January 29, 2014 10:08 AM To: Ram Ganesh; users@cloudstack.apache.org Cc: Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 Hi Tejas, Can you look into following mail threads and see if that resolves your problem https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html PS : Its Anshul not Anush Regards, Anshul -Original Message- From: Ram Ganesh Sent: Tuesday, January 28, 2014 11:02 PM To: users@cloudstack.apache.org Cc: Anshul Gangwar; Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 28 January 2014 21:29 To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both
Re: hyper-v agent building on cloudstack 4.3
Hi, Recent log are as below, 2014-01-30 11:33:01,691 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-30 11:33:01,833 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-30 11:33:03,511 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-30 11:33:03,741 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-30 11:33:19,437 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. As describe in earlier mail, service is visible in services.msc , but its service status = Stop. When I am trying to start service by manually it says Error 1053: The service did not respond to the start or control request in a timely fashion . I found below link, I am facing same issues except that my system is in domain so my primay dns suffix is set, Also I am getting similar pop-up as mentioned in url http://imgur.com/NMan0S2 http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/%3ccebd9db60ab9492aa023b5aa9d074...@amxpr07mb117.eurprd07.prod.outlook.com%3E Regards, Tejas On Thu, Jan 30, 2014 at 11:27 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Hi, Are you able to resolve your issue? If not can you look into cloudstack-agent log. That will be present in same folder as agentshell.exe Regards, Anshul *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Thursday, January 30, 2014 11:23 AM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I didn't notice that I am replying to your personal id. Sorry for that and thanks for reply. Regards, Tejas On Wed, Jan 29, 2014 at 5:44 PM, Tejas Gadaria refond.g...@gmail.com wrote: Hi Anshul, Sorry for late reply, Firewall completely disabled and I have log on as service rights available. Regards, Tejas On Wed, Jan 29, 2014 at 4:20 PM, Anshul Gangwar anshul.gang...@citrix.com wrote: Have you disabled firewall? If not try that or open up the 8250 port and check if service comes up now. *From:* Anshul Gangwar *Sent:* Wednesday, January 29, 2014 4:13 PM *To:* 'Tejas Gadaria' *Subject:* RE: hyper-v agent building on cloudstack 4.3 Can you verify whether the user has log on as service rights? *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] *Sent:* Wednesday, January 29, 2014 3:33 PM *To:* Anshul Gangwar *Subject:* Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, DNS Suffix is already set on the host. I re-installed Hyperv Agent with Domain\Administrator Privileges. I think Agent has installed, but service is not started. In services.msc , I got service called CloudStack Hyper-V Agent, service type=Automatic, Service Status = Stop When I tried to start service by clicking on 'start' button, I received Error 1053: The service did not respond to the start or control request in a timely fashion Logs for hyperv agent are as below, 2014-01-29 14:36:42,264 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-29 14:36:42,373 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-29 14:36:43,467 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent running as Windows Service 2014-01-29 14:36:43,686 [1] INFO CloudStack.Plugin.AgentShell.AgentService [(null)] - Starting CloudStack agent 2014-01-29 14:36:59,356 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. Regards, Tejas On Wed, Jan 29, 2014 at 10:28 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Hi Tejas, Can you verify weather dns suffix is set on host? You can use ipconfig to verify that. If it is blank you can use below command to set the dns suffix netdom computername hostname.domain.com /add:newhostname.newdomain.comnetdom computername hostname.domain.com /makeprimary:newhostname.newdomain.com then uninstall the Agent AgentShell.exe --uninstall And then reinstall the agent. Regards, Anshul -Original Message- From: Anshul Gangwar Sent: Wednesday, January 29, 2014 10:08 AM To: Ram Ganesh; users@cloudstack.apache.org Cc: Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 Hi Tejas, Can you look into following mail threads and see if that resolves your problem https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html PS : Its Anshul not Anush Regards, Anshul -Original Message- From: Ram
Re: hyper-v agent building on cloudstack 4.3
Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both, but didn't work this time. Regards, Tejas On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creating+and+installing+self+signed+certificate+for+CloudStack+Management+Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
RE: hyper-v agent building on cloudstack 4.3
-Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 28 January 2014 21:29 To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both, but didn't work this time. [RamG] I think the user should be a domain admin and also belong to HyperV-Admin group as well to inherit rights around migrating a VM from one host to another. Can you check on that? Regards, Tejas On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat ing+and+installing+self+signed+certificate+for+CloudStack+Management+ Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyp erv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
RE: hyper-v agent building on cloudstack 4.3
Hi Tejas, Can you look into following mail threads and see if that resolves your problem https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html PS : Its Anshul not Anush Regards, Anshul -Original Message- From: Ram Ganesh Sent: Tuesday, January 28, 2014 11:02 PM To: users@cloudstack.apache.org Cc: Anshul Gangwar; Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 28 January 2014 21:29 To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both, but didn't work this time. [RamG] I think the user should be a domain admin and also belong to HyperV-Admin group as well to inherit rights around migrating a VM from one host to another. Can you check on that? Regards, Tejas On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat ing+and+installing+self+signed+certificate+for+CloudStack+Management+ Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyp erv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
RE: hyper-v agent building on cloudstack 4.3
Hi Tejas, Can you verify weather dns suffix is set on host? You can use ipconfig to verify that. If it is blank you can use below command to set the dns suffix netdom computername hostname.domain.com /add:newhostname.newdomain.com netdom computername hostname.domain.com /makeprimary:newhostname.newdomain.com then uninstall the Agent AgentShell.exe --uninstall And then reinstall the agent. Regards, Anshul -Original Message- From: Anshul Gangwar Sent: Wednesday, January 29, 2014 10:08 AM To: Ram Ganesh; users@cloudstack.apache.org Cc: Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 Hi Tejas, Can you look into following mail threads and see if that resolves your problem https://www.mail-archive.com/dev@cloudstack.apache.org/msg21392.html https://www.mail-archive.com/dev@cloudstack.apache.org/msg20556.html PS : Its Anshul not Anush Regards, Anshul -Original Message- From: Ram Ganesh Sent: Tuesday, January 28, 2014 11:02 PM To: users@cloudstack.apache.org Cc: Anshul Gangwar; Devdeep Singh; Rajesh Battala Subject: RE: hyper-v agent building on cloudstack 4.3 -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: 28 January 2014 21:29 To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anush, I was trying to add hyper-v host to the Zone, and log was indicating agent is not running on hyper-v host. I checked on hyper-v host but I could not find any service running in *services.msc* named Cloudstack Agent. Execution of AgentShell.exe is not logged in *Windows Event log*. Also I tried to re-install the Agent, and indicates, 2014-01-28 18:43:05,288 [1] DEBUG CloudStack.Plugin.AgentShell.Program [(null)] - CloudStack Hyper-V Agent arg is 2014-01-28 18:43:05,427 [1] INFO CloudStack.Plugin.AgentShell.Program [(null)] - Installing and running CloudStack Hyper-V Agent 2014-01-28 18:43:05,519 [1] ERROR CloudStack.Plugin.AgentShell.Program [(null)] - Error occured in starting service Cannot start service CloudStack Hyper-V Agent on computer '.'. AgentShell.exe --install -u username -p password I have tried executed this command where username is domainuser and localadministrator both, but didn't work this time. [RamG] I think the user should be a domain admin and also belong to HyperV-Admin group as well to inherit rights around migrating a VM from one host to another. Can you check on that? Regards, Tejas On Tue, Jan 28, 2014 at 12:14 PM, Tejas Gadaria refond.g...@gmail.comwrote: Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.com wrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creat ing+and+installing+self+signed+certificate+for+CloudStack+Management+ Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK
RE: hyper-v agent building on cloudstack 4.3
Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
Re: hyper-v agent building on cloudstack 4.3
Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
RE: hyper-v agent building on cloudstack 4.3
Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creating+and+installing+self+signed+certificate+for+CloudStack+Management+Server+communication+with+Hyper-V+agent. You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas
Re: hyper-v agent building on cloudstack 4.3
Hi Anush, Thanks It worked for me, I have installed Certificate also. Log file indicates Cloudstack hyper v agent is running on windows system. Regards, Tejas On Tue, Jan 28, 2014 at 11:22 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Yes that exe will install everything except the certificate. To install the ssl certificate you can follow the link https://cwiki.apache.org/confluence/display/CLOUDSTACK/Manually+Creating+and+installing+self+signed+certificate+for+CloudStack+Management+Server+communication+with+Hyper-V+agent . You have to execute AgentShell.exe as follows *AgentShell.exe --install -u username -p password where username is of form domain\username or username for example Administrator or blr\Administrator This user should be part of local Administrators and Hyper-V Administrators group on the host I have updated the wiki with above details Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:49 AM To: users@cloudstack.apache.org Subject: Re: hyper-v agent building on cloudstack 4.3 Hi Anshul, I had not clone repo from git, So I don't have buildagent.sh available. I am going to follow this now, by the way this Jenkins job hyper v agent lokks like polished form of agent for hyper v , Will it install everything from .exe ? Regards, Tejas On Tue, Jan 28, 2014 at 10:30 AM, Anshul Gangwar anshul.gang...@citrix.comwrote: Have you cloned the asf cloudstack git repo https://git-wip-us.apache.org/repos/asf/cloudstack.git ?. The (cloudstack src folder) is pointing to root of the git repo. Have you tried giving executable permissions(chmod +x buildagent.sh) to buildagent.sh if file is already there? If you want you can build the agent zip using Jenkins job http://jenkins.buildacloud.org/view/4.3/job/HyperVAgent4.3/ . Regards, Anshul -Original Message- From: Tejas Gadaria [mailto:refond.g...@gmail.com] Sent: Tuesday, January 28, 2014 10:11 AM To: users@cloudstack.apache.org Subject: hyper-v agent building on cloudstack 4.3 I am trying to build hyper-v agent and following below link, https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv +Agent+Installer I have executed mozroots --import --ask-remove successfully now i am trying to execute buildagent.sh script through Cygwin, but link says script is located on (cloudstack src folder)/plugins/hypervisors/hyperv/ but I could not find this path on Cygwin or on Management server. I don't understand where I am missing. Regards, Tejas