XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. vmpr
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 28
    • Best 4
    • Controversial 0
    • Groups 0

    vmpr

    @vmpr

    5
    Reputation
    148
    Profile views
    28
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    vmpr Unfollow Follow

    Best posts made by vmpr

    • RE: Hub Template Debian 11 cloud init network configuration

      @fohdeesha thanks for the information, I've added the following to my cloud-init template:

      runcmd:
        # disable dhcp for eth0
        - [ sh, -c, sed -e '/iface eth0 inet dhcp/s/^/#/g' -i /etc/network/interfaces ]
      

      at the end of the installation I have a reboot of the machine anyway so I don't restart the network in between:

      power_state:
       delay: "+2" # minutes
       mode: reboot
       message: rebooting system after cloud-init configurations are finished
       timeout: 120 # seconds
      

      cheers and keep up the good work!
      Ringo

      posted in Xen Orchestra
      V
      vmpr
    • RE: xoa token expire date - how can i set it to an later date?

      Thanks guys! Absolut Legends 👌

      posted in Xen Orchestra
      V
      vmpr
    • RE: XO reports wrong number of backups

      @julien-f that also fixed my issue, cheers!

      posted in Xen Orchestra
      V
      vmpr
    • RE: New Smart Backup failure

      great job guys on a saturday! I am just updating my xo but your response times are great, keep up the good work!

      posted in Xen Orchestra
      V
      vmpr

    Latest posts made by vmpr

    • RE: xoa api SR space usage

      @jedimarcus thank you i will have a look!

      posted in Xen Orchestra
      V
      vmpr
    • xoa api SR space usage

      hi team,

      we were wondering, is it possible to get the usage of the SRs of a pool from the xoa API so we could monitor it?
      also is there a list somewhere online of what information we can get from the xoa API at the moment? I don't want to bother you with my questions all the time, easier to check what's possible 🙂

      cheers, Ringo

      posted in Xen Orchestra
      V
      vmpr
    • RE: XOA REST API create snapshot

      @julien-f @olivierlambert thanks guys I will wait until the end of the month 🙂 you rock!

      posted in Xen Orchestra
      V
      vmpr
    • XOA REST API create snapshot

      hi team, thanks for your excellent work! we love xcp-ng and xoa 🙂
      I've written an ansible playbook to update our virtual machines and I would like to trigger a snapshot of the VM bevor I start the automatic update. is there a way to trigger that snapshot through the rest API? I've searched a bit in documentation and the forum but couldn't find something 😞
      cheers Ringo

      posted in Xen Orchestra
      V
      vmpr
    • RE: xoa token expire date - how can i set it to an later date?

      Thanks guys! Absolut Legends 👌

      posted in Xen Orchestra
      V
      vmpr
    • RE: xoa token expire date - how can i set it to an later date?

      @julien-f thanks for the answer! this will get overwritten with every xo source update right? how about a licensed xoa? cheers Ringo

      posted in Xen Orchestra
      V
      vmpr
    • xoa token expire date - how can i set it to an later date?

      Hi Team,
      i want to use the xoa api to monitor if i have old or too many snapshots connected to an VM, thank you for implementing the feature to your API that it is possible now. I check it via icinga and need an token which expires in 5 years or something and not after a month. when I try to create a user in the webfrontend admin user with a date 5 years or 11 month from now, it logs an error with:

      too high expiresIn duration: 1956120152841
      

      I also tried to create the user via cli:

      #create timestamp for 5 years from now:
      date +%s -d "5 year"
      1831359954
      
      #create user token
      xo-cli --createToken --allowUnauthorized --expiresIn 1831359954 localhost admin@admin.net
      
      Authentication token created
      
      7kkiyVwzgISlOTO2LozsjtVTDPHG71lvqHEtYeSRQf0
      

      but the expiration date of the token is only 30 days from now.

      I dont want to create a new token every 30 days and reconfigure our icinga monitoring system to work with a new token, so can you please tell me how I can create a tekoen with higher age and maybe put it into the documentation, i was able to find the "--expiresIn" parameter but no info what you should put in there 🙂

      cheers guys! Ringo

      posted in Xen Orchestra
      V
      vmpr
    • RE: search for snapshots sorted by creation date

      @Steve_Sibilia hey, what icinga check are you using for snapshots? do you have any xcp-ng related icinga checks running?

      posted in Xen Orchestra
      V
      vmpr
    • RE: XO reports wrong number of backups

      @julien-f that also fixed my issue, cheers!

      posted in Xen Orchestra
      V
      vmpr
    • search for snapshots sorted by creation date

      Hi everyone, I am looking for a way to find snapshots in my pool that are pretty old so I can remove them. finding the "type" snapshot is not complicated but seeing the creation date and sorting them by that is my actual problem, is there a way for that?
      cheers Ringo

      posted in Xen Orchestra
      V
      vmpr