-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
too long filename #6
Comments
Thanks, First let's figure out the maximal allowed name size by oVirt. |
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 |
UPDATED |
Hopefully its possible to get the type with the oVirt SDK. |
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. |
SOLUTION Well , this is fixed now, but would you generate human number format suffix ( 1501212245 eg:? ), pls., |
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. |
Thank a lot for your solutions! It looks like OK! |
Hello,
next issue with backup script
./backup.py -c config-TUTYSERVIS.cfg
Jan 21 20:28:30: Start backup for: TUTYSERVIS
Jan 21 20:28:53: Snapshot creation started ...
Jan 21 20:29:19: Snapshot created
Jan 21 20:29:21: Clone into VM started ...
Jan 21 20:29:22: !!! Got a RequestError:
status: 400
reason: Bad Request
detail: Cannot add VM. The given name is too long.
Jan 21 20:29:22: All backups done
Jan 21 20:29:22: Backup failured for:
Jan 21 20:29:22: TUTYSERVIS
Jan 21 20:29:22: Some errors occured during the backup, please check the log file
We have two posilbilities to solve this
running on
GUI - oVirt Engine Version: 3.5.2.1-1.el7.centos
ovirt-engine-sdk-python-3.5.5.0-1.el7.centos.noarch
python-2.7.5-18.el7_1.1.x86_64
regs. Pavel
The text was updated successfully, but these errors were encountered: