Error creating vm from cloud template



  • another try again with another new cloud template ubuntu 16.04 LTS

    Jun  5 12:30:21 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:21 GMT xen-api root@10.247.0.101: event.from        (...) [60s] ==> object
    Jun  5 12:30:21 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:21 GMT xen-api root@10.247.0.101: event.from        (...) [10ms] ==> object
    Jun  5 12:30:23 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:23 GMT xo:xapi Cloning VM Ubuntu Xenial Xeru        s 16.04 Cloud as docker-registry-2
    Jun  5 12:30:23 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:23 GMT xen-api root@10.247.0.101: event.from        (...) [2s] ==> object
    Jun  5 12:30:24 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:24 GMT xen-api root@10.247.0.101: event.from        (...) [410ms] ==> object
    Jun  5 12:30:25 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:25 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [4ms] ==> object
    Jun  5 12:30:30 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:30 GMT xen-api root@10.247.0.101: event.from        (...) [6s] ==> object
    Jun  5 12:30:31 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:31 GMT xen-api root@10.247.0.101: event.from        (...) [319ms] ==> object
    Jun  5 12:30:31 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:31 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [2ms] ==> object
    Jun  5 12:30:31 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:31 GMT xen-api root@10.247.0.101: event.from        (...) [201ms] ==> object
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: event.from        (...) [143ms] ==> object
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VM.clone(.        ..) [9s] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: event.from        (...) [49ms] ==> object
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VM.remove_        from_other_config(...) [6ms] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VM.provisi        on(...) [38ms] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VM.set_HVM        _boot_params(...) [8ms] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: event.from        (...) [34ms] ==> object
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VDI.set_na        me_description(...) [345ms] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: event.from        (...) [7ms] ==> object
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VDI.set_na        me_label(...) [403ms] ==> string
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xo:xapi Resizing VDI docker-registry-        2 from 17179869184 to 34359738368
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: VDI.resize        _online(...) [9ms] =!> XapiError: SR_OPERATION_NOT_SUPPORTED(OpaqueRef:2f11be27-f79e-ac63-d36a-cd4243a0bb80)
    Jun  5 12:30:32 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:32 GMT xen-api root@10.247.0.101: event.from        (...) [13ms] ==> object
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [3ms] ==> object
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: event.from        (...) [2s] ==> object
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VDI.resize        (...) [3s] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: event.from        (...) [15ms] ==> object
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VIF.destro        y(...) [16ms] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xo:xapi Creating VIF for VM docker-re        gistry-2 on network Pool-wide network associated with eth0
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VIF.create        (...) [8ms] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: event.from        (...) [21ms] ==> object
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xo:api admin@admin.net | vm.create(..        .) [12s] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VM.set_mem        ory_dynamic_min(...) [14ms] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VM.set_mem        ory_dynamic_max(...) [11ms] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: VM.set_nam        e_description(...) [5ms] ==> string
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xo:api admin@admin.net | vm.set(...)         [34ms] ==> boolean
    Jun  5 12:30:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:35 GMT xen-api root@10.247.0.101: event.from        (...) [14ms] ==> object
    Jun  5 12:30:41 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:41 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [2ms] ==> object
    Jun  5 12:30:45 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:45 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [2ms] ==> object
    Jun  5 12:30:51 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:51 GMT xo:api admin@admin.net | acl.getCurre        ntPermissions(...) [2ms] ==> object
    Jun  5 12:30:55 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:30:55 GMT xo:api admin@admin.net | ac                  l.getCurrentPermissions(...) [2ms] ==> object
    Jun  5 12:31:01 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:31:01 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [4ms] ==> object
    Jun  5 12:31:05 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:31:05 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [1ms] ==> object
    


  • As I said earlier, I don't see any error in the log. And again, I said:

    Could you explain more when you said "cannot create VMs from Cloudinit templates"? Which step fails exactly?

    Did you even read my posts?



  • @olivierlambert

    it just shows the annoying vm creation failed message thats all, thats all that failed
    are there anything else to see?

    the vm won't boot on creation except i manually start and obviously nothing happens cloudinit wise

    so no errors here?

    Jun  5 12:33:22 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:22 GMT xen-api root@10.247.0.101: event.from(...) [16s] ==> object
    Jun  5 12:33:22 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:22 GMT xen-api root@10.247.0.101: event.from(...) [8ms] ==> object
    Jun  5 12:33:25 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:25 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [2ms] ==> object
    Jun  5 12:33:25 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:25 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [1ms] ==> object
    Jun  5 12:33:30 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:30 GMT xo:xapi Cloning VM Ubuntu Xenial Xerus 16.04 Cloud as docker-registry-1
    Jun  5 12:33:30 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:30 GMT xen-api root@10.247.0.101: event.from(...) [8s] ==> object
    Jun  5 12:33:31 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:31 GMT xen-api root@10.247.0.101: event.from(...) [552ms] ==> object
    Jun  5 12:33:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:35 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [3ms] ==> object
    Jun  5 12:33:35 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:35 GMT xo:api admin@admin.net | acl.getCurrentPermissions(...) [2ms] ==> object
    Jun  5 12:33:38 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:38 GMT xen-api root@10.247.0.101: event.from(...) [7s] ==> object
    Jun  5 12:33:38 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:38 GMT xen-api root@10.247.0.101: event.from(...) [213ms] ==> object
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: event.from(...) [217ms] ==> object
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: event.from(...) [110ms] ==> object
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: VM.clone(...) [9s] ==> string
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: event.from(...) [50ms] ==> object
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xo:perf blocked for 28ms
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: VM.remove_from_other_config(...) [5ms] ==> strin
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: VM.provision(...) [35ms] ==> string
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: VM.set_HVM_boot_params(...) [9ms] ==> string
    Jun  5 12:33:39 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:39 GMT xen-api root@10.247.0.101: event.from(...) [35ms] ==> object
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VDI.set_name_label(...) [378ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: event.from(...) [7ms] ==> object
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VDI.set_name_description(...) [524ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VIF.destroy(...) [8ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xo:xapi Creating VIF for VM docker-registry-1 on network Pool-wide network ssociated with eth0
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VIF.create(...) [9ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: event.from(...) [19ms] ==> object
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xo:api admin@admin.net | vm.create(...) [10s] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VM.set_memory_dynamic_min(...) [11ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VM.set_memory_dynamic_max(...) [10ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: VM.set_name_description(...) [5ms] ==> string
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xo:api admin@admin.net | vm.set(...) [30ms] ==> boolean
    Jun  5 12:33:40 xen-orchestra xo-server[924]: Sun, 05 Jun 2016 16:33:40 GMT xen-api root@10.247.0.101: event.from(...) [15ms] ==> object
    


  • No I don't see anything special in the logs 😞

    I don't get it, never had those problems, I can't even reproduce it myself.

    We'll see if it's the same story with the coming 5.0

    On which browser are you?



  • google chrome
    does browser matter?

    i mean its so frustrating, i mean knowing the steps are pretty straight forward and then it just doesnt work



  • Do you have the same issue with XOA?

    edit: which version of Chrome?



  • @olivierlambert

    chrome Version 50.0.2661.102 m
    about to update to latest now and try again

    XOA free version cannot do cloudinit, so no way to test



  • @macaxenguy said:

    @olivierlambert

    XOA free version cannot do cloudinit, so no way to test

    Ask the trial and try it out.



  • @olivierlambert

    what is the path of templates on the server? here are templates stored?



  • Sorry I don't understand your question.



  • @olivierlambert
    where are templates that are created stored?



  • this may be the culprit

    0_1465159721958_Screen Shot 2016-06-05 at 4.46.27 PM.png

    but then this didn't happen to the 16.04 lts image and yet can't create vm from that either



  • Is the cloudinit disk is created despite the error? (does the VM as an extra disk?)



  • @macaxenguy said:

    @olivierlambert
    where are templates that are created stored?

    When you convert a VM into a template, it stays on the SR where your VM resides.



  • @olivierlambert said:

    @macaxenguy said:

    @olivierlambert
    where are templates that are created stored?

    When you convert a VM into a template, it stays on the SR where your VM resides.

    My question is where is the path to those images/hard disks?



  • @olivierlambert said:

    Is the cloudinit disk is created despite the error? (does the VM as an extra disk?)

    i am almost about to give up on cloudinit to be honest
    i wish it is one of those things that just works, but unfortunately its not

    i will just create regularly templates and just create vms from the template, i will be able to sleep more that way

    cloudinit is killing me slowly



  • @macaxenguy You should definitely take the time to learn how XenServer work 🙂

    The template info are stored in XAPI database. The files (disks) are VDIs, so they are stored like any other VDI (so depends of your SRs type, lvm, lvmoiscsi, nfs etc.)

    Also, you didn't answer my previous questions. If you want help, you need to read what other said, there is a reason for that. It's not very pleasant to spend time to help you and hile you don't try to answer simple questions.

    • Do you see the extra cloud config disk created in the VM?
    • Did you try to reproduce your issue on the XOA trial?


  • ok i have tried activating the free trial of premium version for XOA and its not working

    how do i do this?

    i click try it for free and takes me to update page and my XOA is up to date and i have registered it



  • Can you make a screenshot of your update page?



  • @olivierlambert said:

    Can you make a screenshot of your update page?

    i can email it to you privately, i already post too much stuff, trying to limit how much stuff i am putting publicly


Log in to reply