Comments (8)
Thanks, First let's figure out the maximal allowed name size by oVirt.
Maybe you have some time and can get these information's?
from ovirtbackup.
You can use your preferred search engine + read through the oVirt Documentation and oVirt SDK Documentation. Guessing is also a way but very imprecise because someone have coded the name limit anywhere. If its not documented anywhere It must be anywhere in the code, its also OpenSource.
UPDATE: Its also important to know if it is the snapshot-name-length or vm-name-length
from ovirtbackup.
UPDATED
MaxVmNameLengthNonWindows - Max VM name length for non-Windows OS = 64
MaxVmNameLengthWindows - Max VM name length in Windows = 15
from ovirtbackup.
Hopefully its possible to get the type with the oVirt SDK.
I will code this tomorrow.
from ovirtbackup.
If you dive deeply in code, let me know if exists posibility to set MaxVmNameLengthWindows longer then 16 in any cfg file without impacting current oVirt DB structure, pls.
UPDATE
https://access.redhat.com/solutions/643373
from ovirtbackup.
SOLUTION
[root@ovirt backup]# engine-config --get=MaxVmNameLengthWindows --cver=general
15
[root@ovirt backup]# engine-config --set MaxVmNameLengthWindows=36 --cver=general
[root@ovirt backup]# engine-config --get=MaxVmNameLengthWindows --cver=general
36
Well , this is fixed now, but would you generate human number format suffix ( 1501212245 eg:? ), pls.,
regs. Pavel
from ovirtbackup.
I added a separate config for this, your solution is good but its a workaround and didn't catch or solve the problem ;-). Besides its a little bit strange that for windows vm's only 15 characters are allowed.
For the suffix i will create a separate issue, for documentation purpose.
from ovirtbackup.
Thank a lot for your solutions! It looks like OK!
from ovirtbackup.
Related Issues (20)
- Backup fails completely if VM missing HOT 1
- Create VM from snapshot HOT 2
- oVirtBackup stop working after update to oVirt 4.2.7 HOT 1
- API version 4 required (v3 support dropped with oVirt engine 4.3) HOT 4
- !!! No snapshot found !!! HOT 5
- Cyrillic symbol in name of snapshot HOT 1
- Error in VM nameresolution on delete cloned-vm HOT 13
- Imported VM deleted in backup rotation HOT 2
- !!! Got unexpected exception: The 'search' parameter should be of type 'str', but it is of type 'unicode'.
- Branch 4.3 no cleanup before or after backup
- Please test branch 4.3 with oVirt 4.4 HOT 4
- The script does not delete the cloned VM HOT 3
- Selecting a disk for backup HOT 2
- TypeError: The 'search' parameter should be of type 'str', but it is of type 'unicode'. HOT 2
- [feature] Support for not incremental backup API
- [feature] Support incremental backup API
- [feature] Support User Interface interface plugin
- [deprication] Export storage domain is depricated HOT 1
- Add back the option to backup vms by vm_names
- Master branch failed with : 'Config' object has no attribute 'get_disks_id_exclude' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovirtbackup.