thanks.  Upgrade from 2.15 to 2.16 must have changed something in the
kickstart template file.  We solved it by setting

rootpw <password> in the template file.

Also, the host I was trying to build, it had that template profile cached,
I had to remove the host profile and re-create it.  then I was able to
build the node.

Also, it looks like the upgrade replaced
the /opt/xcat/share/xcat/install/centos/compute.centos7.pkglist file , I
wish it did not touch that file in upgrades.  I had to get it off my
backup.  :-)

Anyways, thanks for all your help today.  I learned something new for xcat
today.  Live and learn!

--imam

On Wed, Oct 7, 2020 at 4:31 PM Casandra H Qiu <cxh...@us.ibm.com> wrote:

> if you have crypted password, you may need to add cryptmethod in the
> passwd table.
> If the password is a string, you don't need to add cryptmethod
>
> [root@hpc3-xcat-1 backup-hpc3-xcat-1]# tabdump passwd
> #key,username,password,cryptmethod,authdomain,comments,disable
> "omapi","xcat_key","NUY4TWhCVnpkOWE5eVFQVWJ5QnJwOGxNY0FrbTY3MUY=",,,,
> "system","root","mypassw0rd","sha512",,, * <-------------------------
> don't need sha512 *
>
> ...................................................................
> Casandra Hong Qiu
> Phone: (845) 433-9291, t/l 293-9291
> Office: Building 8, 3-B-04
> cxh...@us.ibm.com
>
>
>
> [image: Inactive hide details for Imam Toufique ---10/07/2020 05:04:21
> PM---Hi Casandra, I suppose you were talking about adding a 'cry]Imam
> Toufique ---10/07/2020 05:04:21 PM---Hi Casandra, I suppose you were
> talking about adding a 'cryptmethod' to the passwd
>
> From: Imam Toufique <techie...@gmail.com>
> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
> Date: 10/07/2020 05:04 PM
> Subject: [EXTERNAL] Re: [xcat-user] installs failing after upgrading to
> xcat 2.16
> ------------------------------
>
>
>
> Hi Casandra,
>
> I suppose you were talking about adding a 'cryptmethod' to the passwd
> table? correct?  I did that, and it didn't work.
>
> [root@hpc3-xcat-1 backup-hpc3-xcat-1]# tabdump passwd
> #key,username,password,cryptmethod,authdomain,comments,disable
> "omapi","xcat_key","NUY4TWhCVnpkOWE5eVFQVWJ5QnJwOGxNY0FrbTY3MUY=",,,,
> "system","root","mypassw0rd","sha512",,,
>
> I still get the error message, line 130 of the kickstart file being an
> issue.
>
> I have the following in line 130:
>
> rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
>
> thanks
>
>
> On Wed, Oct 7, 2020 at 1:50 PM Casandra H Qiu <*cxh...@us.ibm.com*
> <cxh...@us.ibm.com>> wrote:
>
>    maybe need to provide `cryptmethod` for the root password.
>
>
>    ...................................................................
>    Casandra Hong Qiu
>    Phone: (845) 433-9291, t/l 293-9291
>    Office: Building 8, 3-B-04
> *cxh...@us.ibm.com* <cxh...@us.ibm.com>
>
>
>
>    [image: Inactive hide details for Imam Toufique ---10/07/2020 04:33:28
>    PM---Hi, So I added the following in the passwd table. (Please n]Imam
>    Toufique ---10/07/2020 04:33:28 PM---Hi, So I added the following in the
>    passwd table. (Please note that I removed
>
>    From: Imam Toufique <*techie...@gmail.com* <techie...@gmail.com>>
>    To: xCAT Users Mailing list <*xcat-user@lists.sourceforge.net*
>    <xcat-user@lists.sourceforge.net>>
>    Date: 10/07/2020 04:33 PM
>    Subject: [EXTERNAL] Re: [xcat-user] installs failing after upgrading
>    to xcat 2.16
>    ------------------------------
>
>
>
>    Hi,
>
>    So I added the following in the passwd table. (Please note that I
>    removed part of the hash)
>
>    #key,username,password,cryptmethod,authdomain,comments,disable
>    "omapi","xcat_key","NUY4TWhCVnpkOWE5eVFQVWJ5QnJwOGxNY0FrbTY3MUY=",,,,
>    "system","root","$6$rGLFuCxxxxxxxxx",,,,
>
>    I still get the same error.
>
>    in my template
>    file, /opt/xcat/share/xcat/install/centos/compute.centos7.tmpl, line 130
>    looks like the below.
>    rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
>
>    what am I missing here ?
>
>    thanks
>
>    On Wed, Oct 7, 2020 at 1:20 PM Imam Toufique <*techie...@gmail.com*
>    <techie...@gmail.com>> wrote:
>       Hi Casandra,
>
>          this is what I have:
>
>          [root@hpc3-xcat-1 xcat]# tabdump passwd
>          #key,username,password,cryptmethod,authdomain,comments,disable
>
>          "omapi","xcat_key","NUY4TWhCVnpkOWE5eVFQVWJ5QnJwOGxNY0FrbTY3MUY=",,,,
>
>          I did not have a password set for root all this time.
>
>          in version 2.16 , is this required now? How do I set a root
>          password in password table?
>
>          thanks.
>
>          On Wed, Oct 7, 2020 at 1:14 PM Casandra H Qiu <
>          *cxh...@us.ibm.com* <cxh...@us.ibm.com>> wrote:
>          check the root passwd in the passwd table.
>
>          tabdump passwd
>
>
>
>          ...................................................................
>          Casandra Hong Qiu
>          Phone: (845) 433-9291, t/l 293-9291
>          Office: Building 8, 3-B-04
> *cxh...@us.ibm.com* <cxh...@us.ibm.com>
>
>
>
>          [image: Inactive hide details for Imam Toufique ---10/07/2020
>          04:05:17 PM---Hi, I just upgraded from 2.15 to the latest 2.16 
> version of]Imam
>          Toufique ---10/07/2020 04:05:17 PM---Hi, I just upgraded from 2.15 
> to the
>          latest 2.16 version of xcat and now I am
>
>          From: Imam Toufique <*techie...@gmail.com* <techie...@gmail.com>>
>          To: xCAT Users Mailing list <*xcat-user@lists.sourceforge.net*
>          <xcat-user@lists.sourceforge.net>>
>          Date: 10/07/2020 04:05 PM
>          Subject: [EXTERNAL] [xcat-user] installs failing after upgrading
>          to xcat 2.16
>          ------------------------------
>
>
>
>          Hi,
>
>          I just upgraded from 2.15 to the latest 2.16 version of xcat and
>          now I am getting the following error message, when i try to build a 
> system.
>
>          Please see attached.
>
>          here is error message, as I read from the console.
>
>          A single argument is expected for the rootpw command.
>
>          This is
>          in /opt/xcat/share/xcat/install/centos/compute.centos7.tmpl file and 
> this
>          is what line 129 looks like.  this worked fine with xcat 2.15 .
>
>          rootpw --iscrypted
>          #CRYPT:passwd:key=system,username=root:password#
>
>          Can you please give me a hand with this?
>
>          thanks.
>
>
>
>
>          --
>          Regards,
> * Imam Toufique*
> * 213-700-5485[attachment "xcat_error.png" deleted by Casandra H
>          Qiu/Poughkeepsie/IBM] *
>          _______________________________________________
>          xCAT-user mailing list
> *xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>
> *https://lists.sourceforge.net/lists/listinfo/xcat-user*
>          <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>
>          _______________________________________________
>          xCAT-user mailing list
> *xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>
> *https://lists.sourceforge.net/lists/listinfo/xcat-user*
>          <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>          --
>          Regards,
> * Imam Toufique*
> * 213-700-5485*
>
>
>    --
>    Regards,
> * Imam Toufique*
> * 213-700-5485*_______________________________________________
>    xCAT-user mailing list
> *xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>
> *https://lists.sourceforge.net/lists/listinfo/xcat-user*
>    <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>
>    _______________________________________________
>    xCAT-user mailing list
> *xCAT-user@lists.sourceforge.net* <xCAT-user@lists.sourceforge.net>
> *https://lists.sourceforge.net/lists/listinfo/xcat-user*
>    <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>
> --
> Regards,
> *Imam Toufique*
> *213-700-5485*_______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>


-- 
Regards,
*Imam Toufique*
*213-700-5485*
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to