We had similar issue (after postscripts, reboot hung) on x86 system, change
bootmode to "Legacy only" fixed.

I will try to ask my teammate to look into this also.  and you can follow
this issue on github.

https://github.com/xcat2/xcat-core/issues/4604


Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Dudu Edri <duduedr...@outlook.com>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   01/09/2018 04:01 AM
Subject:        Re: [xcat-user] Debugmode solves stateful installation hang
            after postscripts



The host was with Boot Mode of "UEFI and Legacy". I performed the steps you
advised me but it didn't work, same outcome as before.

As a side note, I did the steps you said on a physical node. We also manage
vms (running on VMware ESXi) with that xCAT. Their state is the same as
with nodes - we run nodeset and reboot - and they get stuck on the same
step as the physical nodes. Everything works for them as well when we
enable xcatdebugmode. So the boot mode might not be the issue.

What do you think?
Thanks

On Jan 8, 2018 5:37 PM, Casandra H Qiu <cxh...@us.ibm.com> wrote:
  Can u check bootMode of the node?
  #pasu nodename show

  If output is BootModes.SystemBootMode=UEFI and Legacy,
  you may need to set it as "Legacy only", use this command:
  #pasu nodename set BootModes.SystemBootMode "Legacy Only"
  then run "rinstall"

  If output is UEFI Mode, you need to run
  # rsetboot nodename net -u
  # rpower nodename reset
  rinstall will not work for this case.


  Thanks,
  Casandra
  ...................................................................
  Casandra Hong Qiu
  Phone: (845) 433-9291, t/l 293-9291
  Office: Building 8, 3-B-04
  cxh...@us.ibm.com



  Dudu Edri ---01/08/2018 10:22:23 AM---Yes, Intel x86-64. Thanks

  From: Dudu Edri <duduedr...@outlook.com>
  To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  Date: 01/08/2018 10:22 AM
  Subject: Re: [xcat-user] Debugmode solves stateful installation hang
  after postscripts



  Yes, Intel x86-64.

  Thanks

  On Jan 8, 2018 17:03, Casandra H Qiu <cxh...@us.ibm.com> wrote:
        is this on x86?


        Thanks,
        Casandra
        ...................................................................
        Casandra Hong Qiu
        Phone: (845) 433-9291, t/l 293-9291
        Office: Building 8, 3-B-04
        cxh...@us.ibm.com



        Dudu Edri ---01/08/2018 09:56:49 AM---In addition to Daniel's
        response, I would like to add more information. I work with Daniel
        and his m

        From: Dudu Edri <duduedr...@outlook.com>
        To: "xcat-user@lists.sourceforge.net"
        <xcat-user@lists.sourceforge.net>
        Date: 01/08/2018 09:56 AM
        Subject: Re: [xcat-user] Debugmode solves stateful installation
        hang after postscripts



        In addition to Daniel's response, I would like to add more
        information. I work with Daniel and his mail is related to me as
        well, of course.

        While debugging the issue, we added a lot of debug messages to the
        postscripts and postbootscripts, in order to determine the exact
        step that the installation gets stuck on. These debug messages are
        written to a file, which is accessible through SSH (the node is
        accessible via SSH while running the postscripts).

        While examining the file during the installation, we can see that
        it fills up with debug messages. We have a debug message on each
        script's beginning and end. The last debug message is the ending of
        the latest script of "postscripts". Since the node does not reboot,
        we don't reach the postbootscripts at all.

        In addition to that, by examining the output of "lsdef <node> -i
        currchain" during the hang, we get "boot". When trying to forcibly
        reboot the node, it just boots up as expected, runs the
        postbootscripts and finishes. It seems that the node does
        acknowledge its state to xCAT, but it does not reboot.

        As Daniel stated in his previous mail, turning on "xcatdebugmode"
        on the "site" table causes the whole process to work.

        We would like to understand what is causing this problem.

        Thanks

        On Jan 8, 2018 16:27, Daniel Letai <d...@letai.org.il> wrote:
                    I can ssh to the node, but when trying to ssh back from
                    the node to the xcat server it requires a password.
                    ssh_keys is set to postbootscripts. Should I move it to
                    postscripts?

                    On 01/01//2018 17:36, Russ Auld wrote:
                                            Ensure that the node can ssh
                                            back to the MN in the anaconda
                                            environment. The updateflag.awk
                                            script can hang trying to
                                            update the node's status at the
                                            end of postscripts.


                                            On Jan 1, 2018 9:32 AM, Daniel
                                            Letai <d...@letai.org.il>
                                            wrote:
                                            Hello,


                                            I have encountered a strange
                                            issue where sending any node to
                                            rinstall "hangs" after
                                            finishing the postscripts - it
                                            never reboots, and therefore
                                            never continue to the
                                            postbootscripts.


                                            Trying to diagnose the issue
                                            led to the strange bit.


                                            Setting xcatdebugmode=1 in site
                                            table SOLVED the issue while
                                            still not showing any error in
                                            any log.


                                            We have verified this is indeed
                                            the case - setting it to 0
                                            reverts to non functioning
                                            rinstall, re-setting to 1 and
                                            rinstall works without an
                                            issue.


                                            We would like to work without
                                            debugmode - what might be the
                                            issue and how can we solve
                                            this?


                                            xCAT version - 2.13.8


                                            xCAT node OS - RHEL 7.4


                                            Nodes OS - RHEL 6.5


                                            Thanks,


                                            Daniel Letai





                                            
------------------------------------------------------------------------------

                                            Check out the vibrant tech
                                            community on one of the world's
                                            most
                                            engaging tech sites,
                                            Slashdot.org!
                                            http://sdm.link/slashdot


                                            
_______________________________________________

                                            xCAT-user mailing list
                                            xCAT-user@lists.sourceforge.net
                                            
https://lists.sourceforge.net/lists/listinfo/xcat-user



        
------------------------------------------------------------------------------

        Check out the vibrant tech community on one of the world's most
        engaging tech sites, Slashdot.org!
        
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=3sJi3rdgbumkHUgdWQKY6peqFmxl_Cn3xQZ0x6cTbds&s=T4iN-m7Z9wI9pUJVia2hQ0bP33dBNtt2BDRvH3jbe5M&e=

        _______________________________________________
        xCAT-user mailing list
        xCAT-user@lists.sourceforge.net
        
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=3sJi3rdgbumkHUgdWQKY6peqFmxl_Cn3xQZ0x6cTbds&s=IFI2k2SqH-cU7quuIHBiE3ncRfT1Z5--0B_-0esZ12M&e=




  ------------------------------------------------------------------------------

  Check out the vibrant tech community on one of the world's most
  engaging tech sites, Slashdot.org!
  
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=FzAnGm006uI7jmkS_D8HF-Iz8UjKXLC6LvvQU3BplSA&s=ElwdU3XBWoPD2ox24zTenk3GRSmAvjzlzuFmg2A1wys&e=

  _______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=FzAnGm006uI7jmkS_D8HF-Iz8UjKXLC6LvvQU3BplSA&s=DTGf-4K-BbOIsp4f-gjx7unWxJZeeZd0XLz4b3y3JyM&e=





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=7EtRGFQ-UhxRd3FTE-kzH5yywrAUTHPoxe0jw3Fgk-k&s=eg_n26tP55ZMaAE-l5_fSOZBsmEYaZUQlclSEsNThhQ&e=
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=7EtRGFQ-UhxRd3FTE-kzH5yywrAUTHPoxe0jw3Fgk-k&s=PDFdPx58U3nnqg7r4T8YZO8bB3FlMBqsBQdMwX__ZRo&e=



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to