Re: [xcat-user] genimage on old CentOS 7.4

2021-10-28 Thread Vinícius Ferrão via xCAT-user
Unfortunately not.

Well so the “right thing” would be copycds again. I’m not sure if downgrading 
now would be an option since the headnode is already running 7.9.

Inside the images I was “YOLO” and ran “yum -u update” against public 
repositories.

Thank Mark. Is there’s any other ideia please let me know.

Sent from my iPhone

On 28 Oct 2021, at 16:17, Mark Gurevich  wrote:



Have you tried the genimage on the earlier version of xCAT, before you upgraded 
?
The support for RHEL7.4 started with xCAT 2.13, perhaps that version will work 
better for you.
The current version of xCAT 2.16 has not been tested with 7.4

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



[Inactive hide details for "Vinícius Ferrão via xCAT-user" ---10/28/2021 
12:01:04 PM---Hi Mark, management is running CentOS 7.9]"Vinícius Ferrão via 
xCAT-user" ---10/28/2021 12:01:04 PM---Hi Mark, management is running CentOS 
7.9 (upgraded from 7.4). I also upgraded xCAT to the latest re

From: "Vinícius Ferrão via xCAT-user" 
To: "xCAT Users Mailing list" 
Cc: "Vinícius Ferrão" 
Date: 10/28/2021 12:01 PM
Subject: [EXTERNAL] Re: [xcat-user] genimage on old CentOS 7.4





Hi Mark, management is running CentOS 7.9 (upgraded from 7.4). I also upgraded 
xCAT to the latest release.

[root@headnode ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

[root@headnode ~]# rpm -qa xCAT
xCAT-2.16.2-snap202105201708.x86_64

Thanks.

On 28 Oct 2021, at 11:45, Mark Gurevich 
mailto:gurev...@us.ibm.com>> wrote:

What version of xCAT are you running?
What is the OS of the management node ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



"Vinícius Ferrão via xCAT-user" ---10/28/2021 04:58:15 AM---Hello, 
I'm trying to update an old CentOS 7.4 cluster but genimage is failing during 
dracut phase: #

From: "Vinícius Ferrão via xCAT-user" 
mailto:xcat-user@lists.sourceforge.net>>
To: "xCAT Users Mailing list" 
mailto:xcat-user@lists.sourceforge.net>>
Cc: "Vinícius Ferrão" 
mailto:fer...@versatushpc.com.br>>
Date: 10/28/2021 04:58 AM
Subject: [EXTERNAL] [xcat-user] genimage on old CentOS 7.4





Hello, I'm trying to update an old CentOS 7.4 cluster but genimage is failing 
during dracut phase:

# chroot /install/netboot/centos7.4/x86_64/compute/rootimg dracut  -f 
/tmp/initrd.2501.gz 3.10.0-1160.45.1.el7.x86_64
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
dracut module 'xcat' cannot be found or installed.

I've looked around the web and found a lot of similar issues but no fixes at 
all. Is there anything that I can do instead of running copycds again and 
customizing everything from the ground?

Thanks all,
V.___
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

___
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
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] genimage on old CentOS 7.4

2021-10-28 Thread Mark Gurevich



Have you tried the genimage on the earlier version of xCAT, before you
upgraded ?
The support for RHEL7.4 started with xCAT 2.13, perhaps that version will
work better for you.
The current version of xCAT 2.16 has not been tested with 7.4

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein





From:   "Vinícius Ferrão via xCAT-user"

To: "xCAT Users Mailing list" 
Cc: "Vinícius Ferrão" 
Date:   10/28/2021 12:01 PM
Subject:[EXTERNAL] Re: [xcat-user] genimage on old CentOS 7.4



Hi Mark, management is running CentOS 7.9 (upgraded from 7.4). I also
upgraded xCAT to the latest release.

[root@headnode ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

[root@headnode ~]# rpm -qa xCAT
xCAT-2.16.2-snap202105201708.x86_64

Thanks.

  On 28 Oct 2021, at 11:45, Mark Gurevich  wrote:



  What version of xCAT are you running?
  What is the OS of the management node ?

  Mark Gurevich
  Poughkeepsie Development Lab
  HPC Software Development - xCAT

  "If we knew what it was we were doing, it would not be called
  research, would it?"
  --Albert Einstein



  "Vinícius Ferrão via xCAT-user" ---10/28/2021 04:58:15
  AM---Hello, I'm trying to update an old CentOS 7.4 cluster but
  genimage is failing during dracut phase: #

  From: "Vinícius Ferrão via xCAT-user" <
  xcat-user@lists.sourceforge.net>
  To: "xCAT Users Mailing list" 
  Cc: "Vinícius Ferrão" 
  Date: 10/28/2021 04:58 AM
  Subject: [EXTERNAL] [xcat-user] genimage on old CentOS 7.4





  Hello, I'm trying to update an old CentOS 7.4 cluster but genimage is
  failing during dracut phase:

  # chroot /install/netboot/centos7.4/x86_64/compute/rootimg dracut
  -f /tmp/initrd.2501.gz 3.10.0-1160.45.1.el7.x86_64
  No '/dev/log' or 'logger' included for syslog logging
  Turning off host-only mode: '/sys' is not mounted!
  Turning off host-only mode: '/proc' is not mounted!
  Turning off host-only mode: '/run' is not mounted!
  Turning off host-only mode: '/dev' is not mounted!
  dracut module 'xcat' cannot be found or installed.

  I've looked around the web and found a lot of similar issues but no
  fixes at all. Is there anything that I can do instead of running
  copycds again and customizing everything from the ground?

  Thanks all,
  V.___
  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
___
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


Re: [xcat-user] Porting to New Architectures

2021-10-28 Thread John Leidel
Nate, thanks for the update.  Unfortunately, we're somewhat stuck by the
"newness" of the platform.  We don't have RV64G support for any Ubuntu
releases prior to 21.04 (ugh!).  The PR you referenced doesn't appear to be
too terribly difficult to follow.  I may try to manually patch my local
source and make the necessary architecture mods.  I know this is not the
preferred path, but I may be able to crawl through this...

best
john

On Thu, Oct 28, 2021 at 11:01 AM Nathan A Besaw  wrote:

> Hi John,
>
> It appears to me that you are tackling two difficult tasks at the same
> time:
> 1.) Porting xCAT to rv64g architecture
> 2.) Modifying xCAT for Ubuntu 21.04 support
>
> It may be easier to tackle these items one at a time.
> The newest version of Ubuntu that is officially supported by xCAT is
> Ubuntu 18.04.2.
> Starting with this version for the porting effort to rv64g will be easier
> than starting with Ubuntu 21.04 as it is currently well tested on x86_64
> and ppc64le.
> After you get Ubuntu 18.04.2 rv64g support working, then you can try to
> tackle getting Ubuntu 21.04 working (which is currently not well supported
> by xCAT).
>
> For the port work, choose either x86_64 or ppc64le and then add code for
> rv64g that follows the approach of one of the working architectures.
> Start by modifying the build script to build rv64g versions of all of the
> packages that are normally built for amd64/x86_64 (or ppc/ppc64le).
> If you can get the packages built, then you will have to search the code
> for references to the specific architecture handling sections and add new
> sections for rv64g.
>
> For Ubuntu 21.04, there is an open pull request to add Ubuntu 20.04
> support to xCAT:
> https://github.com/xcat2/xcat-core/pull/6975
> This PR has not yet been merged into an official release, but this is most
> likely the best starting point for attempting to get Ubuntu 21.04 working.
>
> Nate
>
> [image: Inactive hide details for "John Leidel" ---10/27/2021 10:56:25
> AM---All, I apologize for the rather random first message to the]"John
> Leidel" ---10/27/2021 10:56:25 AM---All, I apologize for the rather random
> first message to the list, but I'm in the process of bringing
>
> From: "John Leidel" 
> To: xcat-user@lists.sourceforge.net
> Date: 10/27/2021 10:56 AM
> Subject: [EXTERNAL] [xcat-user] Porting to New Architectures
> --
>
>
>
> All, I apologize for the rather random first message to the list, but
> I'm in the process of bringing up a cluster of RISC-V (rv64g) devices.
> I've been reading through the developer documentation as well as the
> various scripts on Github.  I believe I've been able to get the
> xCat-Core infrastructure to build natively on the management node
> (Ubuntu 21.04).  Does anyone have any pointers on porting xCat to new
> architectures and where to go next?
>
> After installing the required dependencies, I did the following:
>
> build-ubunturepo SETUP=1
> build-ubunturepo -c BUILDALL=1 SETUP=0 LOCAL_KEY=1
>
> I modified the `build-ubunturepo` script to ignore amd64 and ppc for
> now.  This is what I find in terms of the built deb's.
>
> ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg2_1-2_all.deb
> ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg1_1-2_all.deb
> ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg3_1-2_all.deb
>
> ./xCAT-buildkit/share/xcat/kits/kit_template/source_packages/sample/pkg1/pkg1_1-2_all.deb
>
> What am I missing?  Again, apologies for the naive questions.
>
> best
> john
>
>
> ___
> 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
>
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] Porting to New Architectures

2021-10-28 Thread Nathan A Besaw



Hi John,

It appears to me that you are tackling two difficult tasks at the same
time:
1.) Porting xCAT to rv64g architecture
2.) Modifying xCAT for Ubuntu 21.04 support

It may be easier to tackle these items one at a time.
The newest version of Ubuntu that is officially supported by xCAT is Ubuntu
18.04.2.
Starting with this version for the porting effort to rv64g will be easier
than starting with Ubuntu 21.04 as it is currently well tested on x86_64
and ppc64le.
After you get Ubuntu 18.04.2 rv64g support working, then you can try to
tackle getting Ubuntu 21.04 working (which is currently not well supported
by xCAT).

For the port work, choose either x86_64 or ppc64le and then add code for
rv64g that follows the approach of one of the working architectures.
Start by modifying the build script to build rv64g versions of all of the
packages that are normally built for amd64/x86_64 (or ppc/ppc64le).
If you can get the packages built, then you will have to search the code
for references to the specific architecture handling sections and add new
sections for rv64g.

For Ubuntu 21.04, there is an open pull request to add Ubuntu 20.04 support
to xCAT:
https://github.com/xcat2/xcat-core/pull/6975
This PR has not yet been merged into an official release, but this is most
likely the best starting point for attempting to get Ubuntu 21.04 working.

Nate



From:   "John Leidel" 
To: xcat-user@lists.sourceforge.net
Date:   10/27/2021 10:56 AM
Subject:[EXTERNAL] [xcat-user] Porting to New Architectures



All, I apologize for the rather random first message to the list, but
I'm in the process of bringing up a cluster of RISC-V (rv64g) devices.
I've been reading through the developer documentation as well as the
various scripts on Github.  I believe I've been able to get the
xCat-Core infrastructure to build natively on the management node
(Ubuntu 21.04).  Does anyone have any pointers on porting xCat to new
architectures and where to go next?

After installing the required dependencies, I did the following:

build-ubunturepo SETUP=1
build-ubunturepo -c BUILDALL=1 SETUP=0 LOCAL_KEY=1

I modified the `build-ubunturepo` script to ignore amd64 and ppc for
now.  This is what I find in terms of the built deb's.

./xCAT-test/autotest/kitdata/source_packages/kittest/pkg2_1-2_all.deb
./xCAT-test/autotest/kitdata/source_packages/kittest/pkg1_1-2_all.deb
./xCAT-test/autotest/kitdata/source_packages/kittest/pkg3_1-2_all.deb
./xCAT-buildkit/share/xcat/kits/kit_template/source_packages/sample/pkg1/pkg1_1-2_all.deb


What am I missing?  Again, apologies for the naive questions.

best
john


___
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


Re: [xcat-user] genimage on old CentOS 7.4

2021-10-28 Thread Vinícius Ferrão via xCAT-user
Hi Mark, management is running CentOS 7.9 (upgraded from 7.4). I also upgraded 
xCAT to the latest release.

[root@headnode ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

[root@headnode ~]# rpm -qa xCAT
xCAT-2.16.2-snap202105201708.x86_64

Thanks.

On 28 Oct 2021, at 11:45, Mark Gurevich 
mailto:gurev...@us.ibm.com>> wrote:


What version of xCAT are you running?
What is the OS of the management node ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



"Vinícius Ferrão via xCAT-user" ---10/28/2021 04:58:15 AM---Hello, 
I'm trying to update an old CentOS 7.4 cluster but genimage is failing during 
dracut phase: #

From: "Vinícius Ferrão via xCAT-user" 
mailto:xcat-user@lists.sourceforge.net>>
To: "xCAT Users Mailing list" 
mailto:xcat-user@lists.sourceforge.net>>
Cc: "Vinícius Ferrão" 
mailto:fer...@versatushpc.com.br>>
Date: 10/28/2021 04:58 AM
Subject: [EXTERNAL] [xcat-user] genimage on old CentOS 7.4





Hello, I'm trying to update an old CentOS 7.4 cluster but genimage is failing 
during dracut phase:

# chroot /install/netboot/centos7.4/x86_64/compute/rootimg dracut  -f 
/tmp/initrd.2501.gz 3.10.0-1160.45.1.el7.x86_64
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
dracut module 'xcat' cannot be found or installed.

I've looked around the web and found a lot of similar issues but no fixes at 
all. Is there anything that I can do instead of running copycds again and 
customizing everything from the ground?

Thanks all,
V.___
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

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


Re: [xcat-user] genimage on old CentOS 7.4

2021-10-28 Thread Mark Gurevich



What version of xCAT are you running?
What is the OS of the management node ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein





From:   "Vinícius Ferrão via xCAT-user"

To: "xCAT Users Mailing list" 
Cc: "Vinícius Ferrão" 
Date:   10/28/2021 04:58 AM
Subject:[EXTERNAL] [xcat-user] genimage on old CentOS 7.4



Hello, I'm trying to update an old CentOS 7.4 cluster but genimage is
failing during dracut phase:

# chroot /install/netboot/centos7.4/x86_64/compute/rootimg dracut
-f /tmp/initrd.2501.gz 3.10.0-1160.45.1.el7.x86_64
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
dracut module 'xcat' cannot be found or installed.

I've looked around the web and found a lot of similar issues but no fixes
at all. Is there anything that I can do instead of running copycds again
and customizing everything from the ground?

Thanks all,
V.___
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


[xcat-user] genimage on old CentOS 7.4

2021-10-28 Thread Vinícius Ferrão via xCAT-user
Hello, I'm trying to update an old CentOS 7.4 cluster but genimage is failing 
during dracut phase:

# chroot /install/netboot/centos7.4/x86_64/compute/rootimg dracut  -f 
/tmp/initrd.2501.gz 3.10.0-1160.45.1.el7.x86_64
No '/dev/log' or 'logger' included for syslog logging
Turning off host-only mode: '/sys' is not mounted!
Turning off host-only mode: '/proc' is not mounted!
Turning off host-only mode: '/run' is not mounted!
Turning off host-only mode: '/dev' is not mounted!
dracut module 'xcat' cannot be found or installed.

I've looked around the web and found a lot of similar issues but no fixes at 
all. Is there anything that I can do instead of running copycds again and 
customizing everything from the ground?

Thanks all,
V.
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user