mrlpm / ovirtvmbackup Goto Github PK
View Code? Open in Web Editor NEWScripts for backup VM with oVirt API
License: GNU Lesser General Public License v3.0
Scripts for backup VM with oVirt API
License: GNU Lesser General Public License v3.0
Para evitar que se quede un proceso incompleto al cancelar el script !
option force in params for export and override virtual machine export doesn't work
FIX: use function clean_export_domain for find all matched virtual machine name eg.: vm and vm-SNAP
view commit "f4ade8b988c07ab857b2f77516bfea1ceb35af55" I apply encoding to xml parser object, need test in environment where error is generate
Activating Export Domain LabExport1 |
Different Export Attached |
waiting for maintenance Storage... |Detach OK |
Traceback (most recent call last): |
File "backup.py", line 99, in |
main() |
File "backup.py", line 95, in main |
description=description, export_domain=export_domain |
File "backup.py", line 55, in export |
conn.active_export(vm=vm_name, export_name=export_domain) |
File "/opt/OvirtVMBackup/ovirtvmbackup/ovirtbackup.py", line 227, in active_export |
self.attach_export(dc.id, export_name) |
File "/opt/OvirtVMBackup/ovirtvmbackup/ovirtbackup.py", line 203, in attach_export |
if self.api.datacenters.get(id=dc_id).storagedomains.add(self.api.storagedomains.get(export_ok)): |
File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py", line 10372, in add |
body=ParseHelper.toXml(storagedomain), |
File "/usr/lib/python2.7/site-packages/ovirtsdk/utils/parsehelper.py", line 48, in toXml |
"XML document." % entity_type.name |
Exception: The entity type "NoneType" can't be converted to XML because according to the XML schema it hasn't a top level element definition, thus it can't be used as the root of a valid XML|
document.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.