I think you need to make a symbol link of ../rh/dracut_033 to you
netboot/centos dir too. This is a necessary for Centos 7 support. Let me
know the progress.


Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Abhishek Mukherjee <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   2014/10/08 23:15
Subject:        Re: [xcat-user] Problem with genimage and Centos7



No. I used the same procedure and it worked for Centos6.5.  I am mainly
using this documentation:
http://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Cluster_Quick_Start/

This is the cpuinfo for the xcat master

# tail -n 30  /proc/cpuinfo
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 63
model name : Intel(R) Xeon(R) CPU E5-1680 v3 @ 3.20GHz
stepping : 2
microcode : 0x1e
cpu MHz : 1275.750
cache size : 20480 KB
physical id : 0
siblings : 8
core id : 7
cpu cores : 8
apicid : 14
initial apicid : 14
fpu : yes
fpu_exception : yes
cpuid level : 15
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx
est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt
tsc_deadline_timer xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt
pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust
bmi1 hle avx2 smep bmi2 erms invpcid rtm
bogomips : 6399.93
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:

Yes, I am running Centos7 on the management node. I think I know what the
problem is.

genimage uses dracut to create the initramfs for the image. But the xcat
module directory
(/install/netboot/centos7.0/x86_64/compute/rootimg/usr/lib/dracut/modules.d/97xcat/)
 is empty! It is also not possible use the module scripts from my previous
installation (with Centos6.5) because the way the module scripts need to be
written with the version of dracut shipped with this version of Centos
seems to be slightly different from the previous ones.
For example, now check,install, installkernel etc are functions in the
module-setup.sh script, instead of being scripts themselves (as in the
previous version).

Nevertheless, I tried to copy the scripts from the previous 97xcat module
scripts (Centos6.5). It gives the following error:
installkernel failed in module xcat

#
cat 
/install/netboot/centos7.0/x86_64/compute/rootimg/usr/lib/dracut/modules.d/97xcat/installkernel
 
#!/bin/bash
instmods nfs sunrpc

***Please note*** This is the installkernel script in the xcat dracut
module that was shipped with Centos6.5 NOT with Centos7







On Wed, Oct 8, 2014 at 3:26 PM, Lissa Valletta <[email protected]> wrote:
  Is this the first time you have done this?   What documentation are you
  following to setup the Management node.  What hardware are you running
  on?
  Is your xcat Management node installed with Centos7?


  Lissa K. Valletta
  8-3/B10
  Poughkeepsie, NY 12601
  (tie 293) 433-3102



  Inactive hide details for Abhishek Mukherjee ---10/08/2014 08:26:28
  AM---I am running XCAT 2.8.5. I had already the  symlink suAbhishek
  Mukherjee ---10/08/2014 08:26:28 AM---I am running XCAT 2.8.5. I had
  already the  symlink suggested in the solution to the bug you had poi

  From: Abhishek Mukherjee <[email protected]>
  To: xCAT Users Mailing list <[email protected]>
  Date: 10/08/2014 08:26 AM
  Subject: Re: [xcat-user] Problem with genimage and Centos7






  I am running XCAT 2.8.5. I had already the  symlink suggested in the
  solution to the bug you had pointed to. That was essentially because the
  genimage script could not find dracut. In my case dracut cannot
  find/install the 'xcat' and 'mlx_en' modules.

  On Wed, Oct 8, 2014 at 1:51 PM, Lissa Valletta <[email protected]> wrote:
        What level of xCAT are your running.

        Also see this defect,   and apply the workaround
        https://sourceforge.net/p/xcat/bugs/4279/


        Lissa K. Valletta
        8-3/B10
        Poughkeepsie, NY 12601
        (tie 293) 433-3102



        Inactive hide details for Abhishek Mukherjee ---10/08/2014 07:38:36
        AM---I am trying to create an image from Centos7.0. # genimAbhishek
        Mukherjee ---10/08/2014 07:38:36 AM---I am trying to create an
        image from Centos7.0. # genimage -o centos7.0 -a x86_64 -p compute

        From: Abhishek Mukherjee <[email protected]>
        To: [email protected]
        Date: 10/08/2014 07:38 AM
        Subject: [xcat-user] Problem with genimage and Centos7




        I am trying to create an image from Centos7.0.

        # genimage -o centos7.0 -a x86_64 -p compute

        I get the following messages:

        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.
        dracut module 'xcat' cannot be found or installed.
        Failed to install module mlx_en
        dracut-install: ERROR: installing 'vi'
        dracut-install: ERROR: installing '/etc/virc'
        /usr/lib/dracut/dracut-install -D /var/tmp/initramfs.rxtIdC -a
        vi /etc/virc ps grep cat rm
        the initial ramdisk for statelite is generated successfully.

        The final image that is created is not usable (nodes cannot boot
        from it).

        My custom pkglist looks like this:
        # cat /install/custom/netboot/centos/compute.centos7.pkglist
        bash
        nfs-utils
        openssl
        dhclient
        kernel
        openssh-server
        openssh-clients
        wget
        rsync
        dracut-network
        irqbalance
        procps
        rpm
        e2fsprogs
        parted
        bc
        ntp
        rsyslog



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

        Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
        Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
        Reports
        Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White
        paper
        Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog
        Analyzer
        
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
        _______________________________________________
        xCAT-user mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/xcat-user


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

        Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
        Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS
        Reports
        Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White
        paper
        Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog
        Analyzer
        
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

        _______________________________________________
        xCAT-user mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/xcat-user
  ------------------------------------------------------------------------------

  Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
  Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
  Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
  Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
  http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


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

  Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
  Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
  Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
  Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
  http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk

  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user

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

Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to