Thank you very much dear Thanassis for the professional support provided! I will follow your advise and work with API only. Below link points to the latest official manual.
http://docs.openstack.org/cli-reference/content/ Dionisis (Dennis) Drakopoulos OMP MP SW Engineer/SyVe/Maintenance/SL MBB OMP MP R&D 14 GR ____________________________ -----Original Message----- From: EXT Thanassis Parathyras [mailto:[email protected]] Sent: Tuesday, December 01, 2015 5:17 PM To: [email protected] Subject: Re: [Openstack] Modify instance by use of libvirt XML Hi Dionysis, The only recommended way to change resources managed by OpenStack services is through the services API. In your case you should explore the Nova API to find the operation that provides the change you are looking for to apply. Best, Thanassis Thanassis Parathyras StackMasters - The European OpenStack Integration Company www.stackmasters.eu On 30/11/2015 3:04 μμ, Drakopoulos, Dionisis (Nokia - GR/Athens) wrote: > Good afternoon to all! > As I have read, NOVA interacts with QEMU/KVM through libvirt virtualization > API. Virtual Machine instances are defined in libvirt by the use of an XML > file which lives in /etc/libvirt/qemu/ path of each compute node. > > Based on the following Launchpad bug (link below), starting from OpenStack > Nova 2013.1 release, let me quote: " There's no reason to ever use the the > XML files stored in the instances directory; it is there for operational > purposes only." and "This will undo any one-off/by-hand changes in favor of > absolute consistency with the database, which is preferred.". > > https://bugs.launchpad.net/nova/+bug/1081373 > > So, the question is simple. What operation to follow in order to permanently > change instance metadata by editing this XML file? Or else, edit Nova > database records? > > Thank you in advance! > > Dionisis (Dennis) Drakopoulos > OMP MP SW Engineer/SyVe/Maintenance/SL > MBB OMP MP R&D 14 GR > ____________________________ > > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : [email protected] > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
