XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng 8.1 Release Candidate now available!

    Scheduled Pinned Locked Moved News
    89 Posts 16 Posters 76.3k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jmccoy555
      last edited by

      Import (in XO and XCP-ng center) / restore from back up is broken. It works with 8.1 RC1 but with latest patches applied or prefinal 3 it fails.

      Think this is the relevant bit of the log,

      "message": "VM_BAD_POWER_STATE(Plugged VBD creation only allowed for suspended VM)",
      "name": "XapiError",
      "stack": "XapiError: VM_BAD_POWER_STATE(Plugged VBD creation only allowed for suspended VM)
        at Function.wrap (/home/node/xen-orchestra/packages/xen-api/src/_XapiError.js:16:12)
        at _default (/home/node/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:29)
        at Xapi._addRecordToCache (/home/node/xen-orchestra/packages/xen-api/src/index.js:831:24)
        at forEach (/home/node/xen-orchestra/packages/xen-api/src/index.js:852:14)
        at Array.forEach (<anonymous>)
        at Xapi._processEvents (/home/node/xen-orchestra/packages/xen-api/src/index.js:842:12)
        at /home/node/xen-orchestra/packages/xen-api/src/index.js:1003:14
        at Generator.next (<anonymous>)
        at asyncGeneratorStep (/home/node/xen-orchestra/packages/xen-api/dist/index.js:62:103)
        at _next (/home/node/xen-orchestra/packages/xen-api/dist/index.js:64:194)
        at tryCatcher (/home/node/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23)
        at Promise._settlePromiseFromHandler (/home/node/xen-orchestra/node_modules/bluebird/js/release/promise.js:547:31)
        at Promise._settlePromise (/home/node/xen-orchestra/node_modules/bluebird/js/release/promise.js:604:18)
        at Promise._settlePromise0 (/home/node/xen-orchestra/node_modules/bluebird/js/release/promise.js:649:10)
        at Promise._settlePromises (/home/node/xen-orchestra/node_modules/bluebird/js/release/promise.js:729:18)
        at _drainQueueStep (/home/node/xen-orchestra/node_modules/bluebird/js/release/async.js:93:12)
        at _drainQueue (/home/node/xen-orchestra/node_modules/bluebird/js/release/async.js:86:9)
        at Async._drainQueues (/home/node/xen-orchestra/node_modules/bluebird/js/release/async.js:102:5)
        at Immediate.Async.drainQueues [as _onImmediate] (/home/node/xen-orchestra/node_modules/bluebird/js/release/async.js:15:14)
        at processImmediate (internal/timers.js:456:21)"
      

      }

      DanpD BenjiReisB 2 Replies Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @jmccoy555
        last edited by

        @jmccoy555 Just tested a VM restore and it worked fine for me. <shrug>

        stormiS 1 Reply Last reply Reply Quote 0
        • stormiS Offline
          stormi Vates 🪐 XCP-ng Team @Danp
          last edited by

          @jmccoy555 @Danp what's your XAPI version?

          rpm -q xapi-core xapi-xe xapi-tests
          
          1 Reply Last reply Reply Quote 0
          • BenjiReisB Offline
            BenjiReis Vates 🪐 XCP-ng Team
            last edited by

            Also which version of XO are using? What kind of backup were you trying to restore?

            1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team
              last edited by

              # rpm -q xapi-core xapi-xe xapi-tests
              xapi-core-1.214.1-2.4.xcpng8.1.x86_64
              xapi-xe-1.214.1-2.4.xcpng8.1.x86_64
              xapi-tests-1.214.1-2.4.xcpng8.1.x86_64
              
              1 Reply Last reply Reply Quote 0
              • BenjiReisB Offline
                BenjiReis Vates 🪐 XCP-ng Team @jmccoy555
                last edited by

                @jmccoy555 Can we have the full XO log with the name of the action that created the error?
                Can we have the XCP-ng log as well corresponding to this error?

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jmccoy555
                  last edited by jmccoy555

                  2020-03-30T13_19_28.603Z - XO.log.txt [0_1585573773406_2020-03-30T13_19_28.603Z - XO.txt.log](Uploading 0%) @stormi

                  Works - Fresh RC1 install as a VM
                  xapi-core-1.214.1-2.2.xcpng8.1.x86_64
                  xapi-xe-1.214.1-2.2.xcpng8.1.x86_64
                  xapi-tests-1.214.1-2.2.xcpng8.1.x86_64

                  Fails - The above with patches applied
                  xapi-core-1.214.1-2.5.xcpng8.1.x86_64
                  xapi-xe-1.214.1-2.5.xcpng8.1.x86_64
                  xapi-tests-1.214.1-2.5.xcpng8.1.x86_64

                  I have tried a restore from a scheduled XO back up.

                  I also have exported the VM from XO as a .XVA and tried importing with XO and XCP-ng center, both fail but work with 8.1 RC1 before patches.

                  f0fc686e-074c-4aee-b904-50669675d462-image.png

                  xo-server 5.57.3
                  xo-web 5.57.1

                  dd4cf249-b799-45f6-aa47-a2501379707b-image.png

                  I'll have to dig the logs out later if still required.[0_1585573752708_2020-03-30T13_19_28.603Z - XO.log](Uploading 0%)

                  BenjiReisB DanpD 2 Replies Last reply Reply Quote 0
                  • BenjiReisB Offline
                    BenjiReis Vates 🪐 XCP-ng Team @jmccoy555
                    last edited by

                    @jmccoy555 Thanks for the info, can you precise what kind of backup you were using? Delta? continuous replication?

                    thanks

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jmccoy555 @BenjiReis
                      last edited by jmccoy555

                      @BenjiReis 'Backup' and 'Export' from the VM screen in XO.

                      1 Reply Last reply Reply Quote 0
                      • BenjiReisB Offline
                        BenjiReis Vates 🪐 XCP-ng Team
                        last edited by

                        Ok thanks!

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO Offline
                          olivierlambert Vates 🪐 Co-Founder CEO
                          last edited by

                          Good news! I'm able to reproduce the issue 👍

                          1 Reply Last reply Reply Quote 0
                          • DanpD Offline
                            Danp Pro Support Team @jmccoy555
                            last edited by

                            @jmccoy555 said in XCP-ng 8.1 Release Candidate now available!:

                            xapi-core-1.214.1-2.5.xcpng8.1.x86_64
                            xapi-xe-1.214.1-2.5.xcpng8.1.x86_64
                            xapi-tests-1.214.1-2.5.xcpng8.1.x86_64

                            My server is fully patched (no updates showing in XO). Can someone please explain why these updates aren't showing up for me?

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jmccoy555
                              last edited by jmccoy555

                              Don't suppose there's a quick way to rollback is there?

                              DanpD 1 Reply Last reply Reply Quote 0
                              • DanpD Offline
                                Danp Pro Support Team @jmccoy555
                                last edited by

                                @jmccoy555 You could try the following (untested!) --

                                yum downgrade xapi-core-1.214.1-2.4.xcpng8.1.x86_64 xapi-xe-1.214.1-2.4.xcpng8.1.x86_64 xapi-tests-1.214.1-2.4.xcpng8.1.x86_64

                                Not sure if there are other packages that would need rolled back as well.

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jmccoy555 @Danp
                                  last edited by jmccoy555

                                  @Danp

                                  rpm -q xapi-core xapi-xe xapi-tests
                                  xapi-core-1.214.1-2.4.xcpng8.1.x86_64
                                  xapi-xe-1.214.1-2.4.xcpng8.1.x86_64
                                  xapi-tests-1.214.1-2.4.xcpng8.1.x86_64
                                  

                                  on my other physical host and that is causing me issues. Guess I'll have to do a reinstall back to RC1.

                                  yum downgrade xapi-core-1.214.1-2.2.xcpng8.1.x86_64 xapi-xe-1.214.1-2.2.xcpng8.1.x86_64 xapi-tests-1.214.1-2.2.xcpng8.1.x86_64
                                  Loaded plugins: fastestmirror
                                  Loading mirror speeds from cached hostfile
                                  Excluding mirror: updates.xcp-ng.org
                                   * xcp-ng-base: mirrors.xcp-ng.org
                                  Excluding mirror: updates.xcp-ng.org
                                   * xcp-ng-updates: mirrors.xcp-ng.org
                                  No package xapi-core-1.214.1-2.2.xcpng8.1.x86_64 available.
                                  No package xapi-xe-1.214.1-2.2.xcpng8.1.x86_64 available.
                                  No package xapi-tests-1.214.1-2.2.xcpng8.1.x86_64 available.
                                  Error: Nothing to do
                                  

                                  https://updates.xcp-ng.org/8/8.1/base/x86_64/Packages/ only has the latest versions.

                                  1 Reply Last reply Reply Quote 0
                                  • stormiS Offline
                                    stormi Vates 🪐 XCP-ng Team
                                    last edited by

                                    Fixed packages will be available shortly. Thanks for finding this important regression.

                                    J 1 Reply Last reply Reply Quote 1
                                    • stormiS Offline
                                      stormi Vates 🪐 XCP-ng Team
                                      last edited by

                                      They are now available in xcp-ng-testing for XCP-ng 8.1.

                                      yum update --enablerepo=xcp-ng-testing
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by

                                        Fixed to me. @jmccoy555 can you try again after updating?

                                        J 1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          jmccoy555 @olivierlambert
                                          last edited by

                                          @olivierlambert yep after a

                                          yum makecache
                                          yum update
                                          

                                          everything appears to be good

                                          1 Reply Last reply Reply Quote 0
                                          • olivierlambertO Offline
                                            olivierlambert Vates 🪐 Co-Founder CEO
                                            last edited by

                                            👍 thanks!

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post