XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Kptainflintt
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 8
    • Groups 0

    Kptainflintt

    @Kptainflintt

    1
    Reputation
    2
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Kptainflintt Unfollow Follow

    Best posts made by Kptainflintt

    • RE: Cloning Windows 11 with vTPM

      No reply to this topic but just seen same thing.

      And same "workaround" : disabling vTPM at VM creation from template to avoid crashing.

      I can confirm that XOA want to add a second vTPM, any fix ?

      posted in Management
      K
      Kptainflintt

    Latest posts made by Kptainflintt

    • RE: Some weird Alt Gr issue

      @olivierlambert thank you for your response.

      Just tested with another laptop : no more issue...

      Well, we will inform our future users and wait for v6 !

      posted in Xen Orchestra
      K
      Kptainflintt
    • Some weird Alt Gr issue

      Re: VM console borks with "Alt Gr" key

      This topic was opened in 2020 and five years later, this issue is still here.

      Weird thing : yesterday, working all the day with my Ubuntu laptop : no issue.
      This morning : working with my Win11 PC : issue is here.

      Will test with laptop later this day

      And yes, no more issue on v6 version.

      posted in Xen Orchestra
      K
      Kptainflintt
    • RE: Cloning Windows 11 with vTPM

      No reply to this topic but just seen same thing.

      And same "workaround" : disabling vTPM at VM creation from template to avoid crashing.

      I can confirm that XOA want to add a second vTPM, any fix ?

      posted in Management
      K
      Kptainflintt
    • RE: User self-service creation automation

      Thanx !

      I will check out with your team at the start of the new year for subscription, maybe we will discuss about it.

      @olivierlambert said in User self-service creation automation:

      I don't think it's possible to treat that "automatically" as it's a very specific use case. However, it should be possible to script that using our API.

      I don't think so. It's definetivly not an hypervisor must-have feature, but cloud yes. If you are a cloud provider and providing compute to customers, you will want to build "plans" for subscritpion and assign it automatically when user create his account and choose is plan.

      It is the same thing here, instead of not having bilings and several plans.

      Have a nice Christmas !

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: User self-service creation automation

      Yes, all students will have a self-service with same quotas, templates, etc.
      And all teacher will have also their own "template" for self-service.

      And yes, there is some webhook in LemonLDAP, I don't know if it's the best solution for me now. I started to build a user dashboard with homer (because computing will not be the only service), with a button used by the user to create their self-service space in order to track it and send ticket if it fails.

      I will try to script it with a flask API triggered by clicking the button, I don't know something like :

      class Config:
          XO_API_URL = os.getenv('XO_API_URL', 'https://xo.domain.com/api/')
          XO_ADMIN_USER = os.getenv('XO_ADMIN_USER')
          XO_ADMIN_PASSWORD = os.getenv('XO_ADMIN_PASSWORD')
          JWT_SECRET = os.getenv('JWT_SECRET')
          POOL_NAME = "AMI"
          NETWORK_COUNT = 5
          RESOURCES = {
              'cpus': 6,
              'memory': 16 * 1024 * 1024 * 1024,  
              'disk': 150 * 1024 * 1024 * 1024     
          }
      

      And then pass it to XOA API...

      I will try it and see if it work, in that case, I will post code here.

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: User self-service creation automation

      @olivierlambert

      OK, I will try to make it as clear as possible :

      Context : Group of schools or training center which want to have a private cloud infrastructure for eduational purpose
      Number of user : around 500, not at the same time
      Essentials need : each user can use a sandboxed space to run their own virtuals machines, with internal networks inside. They cannot acces to hypervisor stack, and they cannot access to other's spaces
      Optional need : if teachers wants, two or more student can work on a shared space. They cannot acces to hypervisor stack, and they cannot access to other's spaces
      Workflow : users will be created in an OpenLDAP server, upon it a LemonLDAP will bring user portal and SSO. XOA will use this SSO to allow access.

      So, satrting at this point, SSO connexion is not a problem, it's well handled by XOA.
      But as I said, when a new user comes, admin must create manually is self-service "pod"

      I'm starting to create a plugin who handles first user login and create a related self-service with quotas and internals network.

      EDIT : just found this : https://github.com/vatesfr/xen-orchestra/issues/768 exactly what I mean.

      julien-f created this issue in vatesfr/xen-orchestra

      closed Self service: resource-set templates #768

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: User self-service creation automation

      @olivierlambert Hi,

      Yes, but a group-wide self-service made all resources shared by group members right ?

      If no, OK, that's what I want to do. If yes.... NOK because I need an isolated space per student.

      In fact, I need both, but group wide is more simple for me because they wil be created on demand. User's space needs to be created on first login.

      I see that I've forgotten to mention that LemonLDAP will be implemented to use SSO.

      posted in Infrastructure as Code
      K
      Kptainflintt
    • User self-service creation automation

      Hi, I'm working with xcp and XOA in order to build a private cloud for several schools.

      I saw that I can work with a LDAP, OK.
      I saw that when user log in for the first time, is account is automatically created on XOA. OK
      BUT, with around 500 users, I cannot manually build their self-service accounts on by one after creation.

      So, what can I use to achieve this? API, CLI scripts, new plugin ?

      Any advice is welcome.

      Have a nice day !

      posted in Infrastructure as Code
      K
      Kptainflintt