0 Replies Latest reply: Nov 18, 2012 5:16 AM by 895623 RSS

    liveupgrade failing

    895623
      Hi,

      I'm trying to liveupgrade a system running s10x_u8wos_08a and the recommeded patchset 20121002 to Solaris 10 Update 9. But the upgrade fails every time with:

      */usr/sbin/luupgrade[606]: 7887 Abort(coredump)*
      ERROR: Installation of the packages from this media of the media failed; pfinstall returned these diagnostics:
      Assertion failed: nvlist_lookup_uint64_array(nvroot, "stats", (uint64_t *)&vs, &vsc) == 0, file store_pool.c, line 224*


      root@mysys # cat /etc/release
      Solaris 10 10/09 s10x_u8wos_08a X86
      Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
      Use is subject to license terms.
      Assembled 16 September 2009
      root@mysys # uname -a
      SunOS mysys 5.10 Generic_147441-24 i86pc i386 i86pc

      The rootdisk is running zfs:

      NAME STATE READ WRITE CKSUM
      rpool ONLINE 0 0 0
      c1t0d0s0 ONLINE 0 0 0

      errors: No known data errors



      Boot Environment Is Active Active Can Copy
      Name Complete Now On Reboot Delete Status

      s10x_u8wos_08a-patch20121002 yes yes yes no -




      root@mysys # lucreate -n s10x_u9wos_14a-patch20121002
      Checking GRUB menu...
      System has findroot enabled GRUB
      Analyzing system configuration.
      Updating boot environment description database on all BEs.
      Updating system configuration files.
      Creating configuration for boot environment <s10x_u9wos_14a-patch20121002>.
      Source boot environment is <s10x_u8wos_08a-patch20121002>.
      Creating file systems on boot environment <s10x_u9wos_14a-patch20121002>.
      Populating file systems on boot environment <s10x_u9wos_14a-patch20121002>.
      Analyzing zones.
      Duplicating ZFS datasets from PBE to ABE.
      Creating snapshot for <rpool/ROOT/s10x_u8wos_08a-patch20121002> on <rpool/ROOT/s10x_u8wos_08a-patch20121002@s10x_u9wos_14a-patch20121002>.
      Creating clone for <rpool/ROOT/s10x_u8wos_08a-patch20121002@s10x_u9wos_14a-patch20121002> on <rpool/ROOT/s10x_u9wos_14a-patch20121002>.
      Mounting ABE <s10x_u9wos_14a-patch20121002>.
      Generating file list.
      Finalizing ABE.
      Fixing zonepaths in ABE.
      Unmounting ABE <s10x_u9wos_14a-patch20121002>.
      Fixing properties on ZFS datasets in ABE.
      Reverting state of zones in PBE <s10x_u8wos_08a-patch20121002>.
      Making boot environment <s10x_u9wos_14a-patch20121002> bootable.
      Updating bootenv.rc on ABE <s10x_u9wos_14a-patch20121002>.
      Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10x_u8wos_08a-patch20120105> as <mount-point>//boot/grub/menu.lst.prev.
      Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10x_u9wos_14a-patch20121002> as <mount-point>//boot/grub/menu.lst.prev.
      File </boot/grub/menu.lst> propagation successful
      Copied GRUB menu from PBE to ABE
      No entry for BE <s10x_u9wos_14a-patch20121002> in GRUB menu
      Population of boot environment <s10x_u9wos_14a-patch20121002> successful.
      Creation of boot environment <s10x_u9wos_14a-patch20121002> successful.


      root@mysys # lustatus
      Boot Environment Is Active Active Can Copy
      Name Complete Now On Reboot Delete Status

      s10x_u8wos_08a-patch20121002 yes yes yes no -
      s10x_u9wos_14a-patch20121002 yes no no yes -


      root@mysys # echo "auto_reg=disable" > /tmp/ar

      root@mysys # ls
      boot Copyright GPL_LGPL_Source_Offer.txt installer Solaris_10
      root@mysys # cat .volume.inf
      VI"SOL_10_910_X86"

      root@mysys # luupgrade -u -n s10x_u9wos_14a-patch20121002 -k /tmp/ar -s `pwd`

      System has findroot enabled GRUB
      No entry for BE <s10x_u9wos_14a-patch20121002> in GRUB menu
      Copying failsafe kernel from media.
      61364 blocks
      miniroot filesystem is <lofs>
      Mounting miniroot at </mnt/nfs/instsrv/install/media/sol10-i86pc-u09-0910/Solaris_10/Tools/Boot>
      #######################################################################
      NOTE: To improve products and services, Oracle Solaris communicates
      configuration data to Oracle after rebooting.

      You can register your version of Oracle Solaris to capture this data
      for your use, or the data is sent anonymously.

      For information about what configuration data is communicated and how
      to control this facility, see the Release Notes or
      www.oracle.com/goto/solarisautoreg.

      INFORMATION: After activated and booted into new BE <s10x_u9wos_14a-patch20121002>,
      Auto Registration happens automatically with the following Information

      autoreg=disable
      #######################################################################
      Cannot write the indicated output key file (autoreg_key).

      Error generating key:
      libkmf error: KMF_ERR_BAD_PARAMETER
      Usage:
      pktool -? (help and usage)
      pktool -f option_file
      pktool subcommand [options...]
      where subcommands may be:
      genkey [ keystore=pkcs11 ]
      label=key-label
      [ keytype=aes|arcfour|des|3des ]
      [ keylen=key-size (AES or ARCFOUR only)]
      [ token=token[:manuf[:serial]]]
      [ sensitive=y|n ]
      [ extractable=y|n ]
      [ print=y|n ]
      genkey keystore=nss
      label=key-label
      [ keytype=aes|arcfour|des|3des ]
      [ keylen=key-size (AES or ARCFOUR only)]
      [ token=token[:manuf[:serial]]]
      [ dir=directory-path ]
      [ prefix=DBprefix ]
      genkey keystore=file
      outkey=key-fn
      [ keytype=aes|arcfour|des|3des ]
      [ keylen=key-size (AES or ARCFOUR only)]
      [ dir=directory-path ]
      [ print=y|n ]

      encrypt: cannot open /var/run/autoreg_key
      encrypt: invalid key.
      Validating the contents of the media </mnt/nfs/instsrv/install/media/sol10-i86pc-u09-0910>.
      The media is a standard Solaris media.
      The media contains an operating system upgrade image.
      The media contains <Solaris> version <10>.
      Constructing upgrade profile to use.
      Locating the operating system upgrade program.
      Checking for existence of previously scheduled Live Upgrade requests.
      Creating upgrade profile for BE <s10x_u9wos_14a-patch20121002>.
      Checking for GRUB menu on ABE <s10x_u9wos_14a-patch20121002>.
      Saving GRUB menu on ABE <s10x_u9wos_14a-patch20121002>.
      Checking for x86 boot partition on ABE.
      Determining packages to install or upgrade for BE <s10x_u9wos_14a-patch20121002>.
      Performing the operating system upgrade of the BE
      <s10x_u9wos_14a-patch20121002>.
      CAUTION: Interrupting this process may leave the boot environment unstable
      or unbootable.
      /usr/sbin/luupgrade[606]: 7887 Abort(coredump)
      ERROR: Installation of the packages from this media of the media failed; pfinstall returned these diagnostics:
      Assertion failed: nvlist_lookup_uint64_array(nvroot, "stats", (uint64_t **)&vs, &vsc) == 0, file store_pool.c, line 224
      Restoring GRUB menu on ABE <s10x_u9wos_14a-patch20121002>.
      ABE boot partition backing deleted.
      The Solaris upgrade of the boot environment <s10x_u9wos_14a-patch20121002> failed.
      Creating miniroot device
      Configuring failsafe for system.
      Failsafe configuration is complete.
      Installing failsafe
      Failsafe install is complete.




      pfinstall dumps core every time:



      Loading modules: [ libc.so.1 libnvpair.so.1 libavl.so.1 libuutil.so.1 libumem.so.1 ld.so.1 ]
      ::status
      debugging core file of pfinstall (32-bit) from mysys
      initial argv: /mnt/nfs/instsrv/install/media/sol10-i86pc-u09-0910/Solaris_10/Tools/Boot/usr/s
      threading model: multi-threaded
      status: process terminated by SIGABRT (Abort)
      panic message: Assertion failed: nvlist_lookup_uint64_array(nvroot, "stats", (uint64_t **)&vs, &vsc) == 0, file store_pool.c, line 224
      $C
      08046454 libc.so.1`_lwp_kill+7(1, 6)
      0804646c libc.so.1`raise+0x1f(6)
      080464b8 libc.so.1`abort+0xcd(82027c8, feea41b4, 65737341, 6f697472, 6166206e, 64656c69)
      080466c8 libc.so.1`_assert+0x6b(fee93da0, fee93d90, e0)
      08046710 0xfee8c81d(82027f0)
      08046734 libspmistore.so.1`InitPools+0xf7(3, 0, 0, 804697c, 8058b43, 0)
      08046748 libspmistore.so.1`DiskobjInitList+0xdc(0)
      0804697c main+0x5b9(8, 80469a8, 80469cc)
      0804699c 0x8054d6a(8, 8046bdc, 8046c43, 8046c46, 8046c7a, 8046c7d)
      ::stack
      libc.so.1`_lwp_kill+7(1, 6)
      libc.so.1`raise+0x1f(6)
      libc.so.1`abort+0xcd(82027c8, feea41b4, 65737341, 6f697472, 6166206e, 64656c69)
      libc.so.1`_assert+0x6b(fee93da0, fee93d90, e0)
      0xfee8c81d(82027f0)
      libspmistore.so.1`InitPools+0xf7(3, 0, 0, 804697c, 8058b43, 0)
      libspmistore.so.1`DiskobjInitList+0xdc(0)
      main+0x5b9(8, 80469a8, 80469cc)
      0x8054d6a(8, 8046bdc, 8046c43, 8046c46, 8046c7a, 8046c7d)
      >



      Does someone face a similar issue or knows where to look at?


      UPDATE: tried the upgrade with the Solaris 10 Update 10 media, that one worked. Unpacked the U9 media again, another try, failed again.


      thank you,

      kind regards, sol_stice

      Edited by: 892620 on Nov 18, 2012 3:13 AM