Git Product home page Git Product logo

Comments (8)

wefixit-AT avatar wefixit-AT commented on July 22, 2024

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.

wefixit-AT avatar wefixit-AT commented on July 22, 2024

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.

paf1 avatar paf1 commented on July 22, 2024

UPDATED
MaxVmNameLengthNonWindows - Max VM name length for non-Windows OS = 64
MaxVmNameLengthWindows - Max VM name length in Windows = 15

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Administration_Guide/Red_Hat_Enterprise_Virtualization_Manager_configuration_options_explanations_limitations_and_best_practices.html

from ovirtbackup.

wefixit-AT avatar wefixit-AT commented on July 22, 2024

Hopefully its possible to get the type with the oVirt SDK.
I will code this tomorrow.

from ovirtbackup.

paf1 avatar paf1 commented on July 22, 2024

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.

paf1 avatar paf1 commented on July 22, 2024

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.

wefixit-AT avatar wefixit-AT commented on July 22, 2024

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.

GusevVictor avatar GusevVictor commented on July 22, 2024

Thank a lot for your solutions! It looks like OK!

from ovirtbackup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.