Andy Kurth created VCL-987:
------------------------------

             Summary: Extend xCAT.pm to attempt to locate a suitable alternate 
Kickstart image repository directory
                 Key: VCL-987
                 URL: https://issues.apache.org/jira/browse/VCL-987
             Project: VCL
          Issue Type: Improvement
          Components: vcld (backend)
            Reporter: Andy Kurth
            Assignee: Andy Kurth
             Fix For: 2.5


The {{xCAT.pm}} module uses the following database values to determine the 
installation file location for Kickstart-based Linux loads:
* managementnode.installpath (ex: _/install_)
* OS.sourcepath (ex: _rhel7_)
* image.architecture (ex: _x86\_64_)

The load will fail If a directory that exactly matches this combination does 
not exist, ex: _/install/rhel7/x86\_64_

The VCL schema adds entries to the OS table with OS.sourcepath set to:
* centos6
* centos7
* rhel6
* rhel7

xCAT's current _copycds_ utility does not put installation files in the same 
location that VCL assumes they'd be in. It uses the full version number. For 
example:
* /install/centos6.7
* /install/rhels7.2

Out of the box, things don't work.  You can create symlinks such as:
/install/rhel7 --> /install/rhels7.2

This is problematic because xCAT doesn't always parse the directory correctly 
if it doesn't contain a period.  Most people probably don't want to have to 
update the symlink every time a new version is added to the management node.

The could could be updated to more dynamically locate a suitable directory to 
use.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to