Menu

#4755 xCAT can't recognize Centos6.6 and RHEL5.11

2.11
open
yangsong
object definition
5
2015-07-24
2015-07-21
Jianbo Cui
No

Use command "copycds -i" to check whether xCAT can recognize the related ISO, we find that xCAT can't recognize Centos6.6 and RHEL5.11.
We think that xCAT does not do special for Centos6.6 and RHEL5.11 and we suggest it's better to add Centos6.6's and RHEL5.11's information in discinfo.pm.
We hope that it can be fixed in 2.9.1-pcm.

Discussion

  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-21

    Jianbo,

    Could you figure out the disk ID of Centos6.6 and rh5.11 and add them into the discinfo.pm. And if it works, send us the patch so that we can check it in. Thanks.

     
    • Jianbo Cui

      Jianbo Cui - 2015-07-21

      We added the following two lines of code into the discinfo.pm and it works well

      ......
      %distnames = (

      debug

                   "1414159991.958686" => "centos6.6",
                   "1409145026.642170" => "rhels5.11",
      

                   "1310229985.226287" => "centos6",
                   "1323560292.885204" => "centos6.2",
                   "1341569670.539525" => "centos6.3",#x86
                   "1362445555.957609" => "centos6.4",#x86_64
                   "1385726732.061157" => "centos6.5",#x86_64
      

      ......

       
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-21

    Yang Song,
    could merge Jinbo's fix to 2.9.1-pcm, 2.10 and master branch after the release of 2.10?

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-21
    • assigned_to: yangsong
     
  • yangsong

    yangsong - 2015-07-24

    fixed in 2.9.1-pcm:

    [root@c910f03c01p03 xcat-xcat-core]# git show
    commit fe45e2eeb4a4ddaa88fb15f16edadb71c54debf4
    Author: yangsong <yangsbj@cn.ibm.com>
    Date:   Fri Jul 24 03:31:11 2015 -0400
    
        fix defect #4755 xCAT can't recognize Centos6.6 and RHEL5.11; add discinfo o
    
    diff --git a/perl-xCAT/xCAT/data/discinfo.pm b/perl-xCAT/xCAT/data/discinfo.pm
    index f562ca2..b5a775e 100755
    --- a/perl-xCAT/xCAT/data/discinfo.pm
    +++ b/perl-xCAT/xCAT/data/discinfo.pm
    @@ -34,6 +34,7 @@ require Exporter;
                      "1195488871.805863" => "centos4.6",
                      "1195487524.127458" => "centos4.6",
                      "1301444731.448392" => "centos5.6",
    +                 "1414159991.958686" => "centos6.6",
                      "1170973598.629055" => "rhelc5",
                      "1170978545.752040" => "rhels5",
                      "1192660014.052098" => "rhels5.1",
    @@ -54,6 +55,7 @@ require Exporter;
                      "1354214009.518521" => "rhels5.9", #ppc64
                      "1378846702.129847" => "rhels5.10", #x86_64
                      "1378845049.643372" => "rhels5.10", #ppc64
    +                 "1409145026.642170" => "rhels5.11",
                      "1285193176.460470" => "rhels6", #x86_64
                      "1285192093.430930" => "rhels6", #ppc64
                      "1305068199.328169" => "rhels6.1", #x86_64
    
     

    Last edit: yangsong 2015-07-24