Bug 884558
Summary: | RFE: Add Hyper-V support to beaker | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Ladislav Jozsa <ljozsa> | ||||
Component: | lab controller | Assignee: | Dan Callaghan <dcallagh> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 0.10 | CC: | asaha, benl, dakini, dcallagh, dkovalsk, fskola, llim, qwan, rglasz, rmancy, xjia | ||||
Target Milestone: | 0.13 | Keywords: | FutureFeature, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | Provisioning | ||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-06-25 06:25:39 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ladislav Jozsa
2012-12-06 10:35:55 UTC
I did some research and found out that it should be possible to control Hyper-V guests via openwsman. The situation is complicated by bug in openwsman-python (bz #824277). So only option how to achieve it (since I haven't heard from legal concerning powershell ssh server) would be through wsmancli. However this will take some time to get it working. Good news, the research is over. I have been successfully able to start up and shutdown virtual guest, I will shortly provide standalone fence script. Even more good news. The hyper-v power script is in place in Beaker and I can happily announce that it works. :-) Stefanie, thanks for your support while making this happen. Great to hear that this is running in production. I am re-opening this bug since we would like to ship this script with Beaker for the benefit of other sites. Created attachment 662697 [details]
Hyper-V power control script based on WS-MAN
OK, see the script attached.
Verify: Could find hyper-v script on beaker-lab. [root@lab-devel-03 ~]# rpm -qa | grep beaker |xargs rpm -ql | grep hyper-v /usr/lib/python2.6/site-packages/bkr/labcontroller/power-scripts/hyper-v Version: beaker-lab-controller-0.12.1-1.git.133.6c74a92.el6.noarch Beaker 0.13.1 has been released. |