[ovirt-users] Users Digest, Vol 52, Issue 106 " Gracefully GUEST shutown via ovirt"

Jean-Pierre Ribeauville jpribeauville at axway.com
Wed Jan 20 08:01:51 UTC 2016


Hi, 

I install acpid on this Guest , then  vm.shutdown() leads to a graceful shutdown.

Thx a lot.

Regards,

J.P.

-----Message d'origine-----
De : users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] De la part de users-request at ovirt.org
Envoyé : mardi 19 janvier 2016 18:00
À : users at ovirt.org
Objet : Users Digest, Vol 52, Issue 106

Send Users mailing list submissions to
	users at ovirt.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.ovirt.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	users-request at ovirt.org

You can reach the person managing the list at
	users-owner at ovirt.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..."


Today's Topics:

   1. Re:  ovirt appliance for he on master? (Yedidyah Bar David)
   2.  Sysprep and Ovirt Python SDK (Robert Parker)
   3. Re:  Gracefully GUEST shutown via ovirt Python-SDK
      (Juan Hern?ndez)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Jan 2016 17:59:50 +0200
From: Yedidyah Bar David <didi at redhat.com>
To: Gianluca Cecchi <gianluca.cecchi at gmail.com>
Cc: users <users at ovirt.org>
Subject: Re: [ovirt-users] ovirt appliance for he on master?
Message-ID:
	<CAHRwYXsA94wZjHmqZrNymm4pzM=ONaqKLFerGfA_nkdWLSZLvg at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Jan 19, 2016 at 5:54 PM, Gianluca Cecchi <gianluca.cecchi at gmail.com> wrote:
>
> On Tue, Jan 19, 2016 at 3:48 PM, Simone Tiraboschi 
> <stirabos at redhat.com>
> wrote:
>>
>>
>>>
>>> >> >>
>>> >> Thanks, but i see 4.0 inside the name of the rpm file ...
>>> >
>>> >
>>> > Master is already targeting to 4.0 If you need 3.6 go here:
>>> >
>>> > http://jenkins.ovirt.org/job/ovirt-appliance_ovirt-3.6_build-artif
>>> > acts-el7-x86_64/
>>> >
>>> >> Is it usable as 3.6.x?
>>> >
>>> >
>>> > It should but I cannot ensure since master is a development branch 
>>> > and something could be broken or new or simply different.
>>>
>>> OK, is there any chance that Italian is inserted in any 3.6.x or not?
>>> So you are saying that today if I set repo as master I would go with 
>>> future 4.0 and not 3.6.yrc?
>>
>> We are absolutely out of time to add it to 3.6 so it will be in 4.0.
>> Thanks for all your effort on that topic.
>
>
>
> No problem.
> Contributing to translation is a complimentary way to learn oVirt 
> internals... ;-)
>
> The question was because now I'm a bit confused:
> we have RC for 3.6.2 as described here:
> http://lists.ovirt.org/pipermail/users/2016-January/037237.html
>
> I suppose that we will have other 3.6.x or is 3.6.2 the terminal one?
> I see some days ago that 4.0 is still in planning phase without 
> schedule
> defined:
> http://lists.ovirt.org/pipermail/users/2016-January/037194.html
>
> But you are saying that master is already targeting 4.0.
> So if one wants to test 3.6 development between 3.6.2 and 3.6.3 but 
> before any RC is released yet for 3.6.3 which repo should he/she use?

There is 3.6 nightly snapshot:

http://www.ovirt.org/Install_nightly_snapshot

>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



--
Didi


------------------------------

Message: 2
Date: Tue, 19 Jan 2016 16:42:02 +0000
From: Robert Parker <robert_parker at volusion.com>
To: "users at ovirt.org" <users at ovirt.org>
Subject: [ovirt-users] Sysprep and Ovirt Python SDK
Message-ID:
	<DM2PR0401MB129567E1B8B2CB3E6F4A8177F2C10 at DM2PR0401MB1295.namprd04.prod.outlook.com>
	
Content-Type: text/plain; charset="us-ascii"

I understand how to set an OS hostname in CloudInit for a Linux VM using the Python SDK like below, but how would I do the same thing for setting an OS hostname in a Windows VM using Sysprep?  I can't find any examples of this anywhere.

[...]
                   action = params.Action(
                       vm=params.VM(
                           initialization=params.Initialization(
                               cloud_init=params.CloudInit(
                                   host=params.Host(address="rheltest001.example.com")

                                   )
                               )
                   vm.start( action )
[...]

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160119/873ac008/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 19 Jan 2016 17:59:19 +0100
From: Juan Hern?ndez <jhernand at redhat.com>
To: Jean-Pierre Ribeauville <jpribeauville at axway.com>,	Simon Hallam
	<sha at pml.ac.uk>
Cc: "users at ovirt.org" <users at ovirt.org>
Subject: Re: [ovirt-users] Gracefully GUEST shutown via ovirt
	Python-SDK
Message-ID: <569E6B67.6090804 at redhat.com>
Content-Type: text/plain; charset=windows-1252

On 01/19/2016 11:57 AM, Jean-Pierre Ribeauville wrote:
> Hi,
> 
>  
> 
> By using vm.shutdown()  instead of vm.stop() , for a Windows guest then
> I got a graceful shutdown but not on my Linux Guest .
> 
>  
> 
> Strange isn?t ?
> 

Depending on the Linux variant that you have installed you may need to
have the acpid daemon installed and running in order to process
correctly the shutdown IRQ.

>  
> 
> Regards,
> 
>  
> 
> J.P.
> 
>  
> 
> *De :*Simon Hallam [mailto:sha at pml.ac.uk]
> *Envoy? :* mardi 19 janvier 2016 11:38
> *? :* Jean-Pierre Ribeauville
> *Cc :* users at ovirt.org
> *Objet :* RE: [ovirt-users] Gracefully GUEST shutown via ovirt Python-SDK
> 
>  
> 
> Try using vm.shutdown()
> 
>  
> 
> *From:*users-bounces at ovirt.org <mailto:users-bounces at ovirt.org>
> [mailto:users-bounces at ovirt.org] *On Behalf Of *Jean-Pierre Ribeauville
> *Sent:* 19 January 2016 10:30
> *To:* users at ovirt.org <mailto:users at ovirt.org>
> *Subject:* [ovirt-users] Gracefully GUEST shutown via ovirt Python-SDK
> 
>  
> 
> Hi,
> 
>  
> 
> When using shutdown from ovirt manager GUI  , then  on a Linux Guest , I
> get this massage :
> 
>  
> 
> /System Administrator has initiated shutdown of this Virtual Machine.
> Virtual Machine is shutting down."/
> 
> /The system is going down for power-off at Tue 2016-01-19 10:32:19 CET!/
> 
>  
> 
> When , via ovirt Python SDK , I use this  :
> 
>  
> 
> /api = API(url=URL, username=USERNAME, password=PASSWORD, ca_file=CA_FILE)/
> 
> /   vm = api.vms.get(name=VM_NAME)/
> 
> /      print 'Stopping this VM'/
> 
> /      vm.stop()
> 
> /Then the Guest is stopped in a ?non ?gracefully ? way.
> Is it a way to achieve same behavior as via GUI shutdown ?
> 
> Thx for help.
> 
>  
> 
> Regards,
> 
>  
> 
>  
> 
>  
> 
> *J.P. Ribeauville*
> 
>  
> 
> P: +33.(0).1.47.17.20.49
> 
> .
> 
> Puteaux 3 Etage 5  Bureau 4
> 
>  
> 
> jpribeauville at axway.com <mailto:jpribeauville at axway.com>
> http://www.axway.com <http://www.axway.com/>
> 
>  
> 
>  
> 
> P Pensez ? l?environnement avant d?imprimer.
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Please visit our new website at www.pml.ac.uk <http://www.pml.ac.uk> and
> follow us on Twitter  @PlymouthMarine
> 
>  
> 
> Winner of the Environment & Conservation category, the Charity Awards 2014.
> 
>  
> 
> Plymouth Marine Laboratory (PML) is a company limited by guarantee
> registered in England & Wales, company number 4178503. Registered
> Charity No. 1091222. Registered Office: Prospect Place, The Hoe,
> Plymouth  PL1 3DH, UK.
> 
>  
> 
> This message is private and confidential. If you have received this
> message in error, please notify the sender and remove it from your
> system. You are reminded that e-mail communications are not secure and
> may contain viruses; PML accepts no liability for any loss or damage
> which may be caused by viruses.
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


-- 
Direcci?n Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3?D, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid ? C.I.F. B82657941 - Red Hat S.L.


------------------------------

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


End of Users Digest, Vol 52, Issue 106
**************************************



More information about the Users mailing list