Hi,
Here is a list of issues I discovered so far. Some of them may be RAL specific
- duplicate function definition: copy_network_params
this is caused by functions/network.tpl conflicting with site/functions. Solution: comment site/function
[panc] evaluation error [/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/quattor/schema.pan:42.1-42.38]
include { 'monitoring/lemon/schema' };
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[panc] cannot locate template named 'monitoring/lemon/schema'
Solution: comment the include { 'monitoring/lemon/schema' };
panc] referenced type 'structure_monitoring' is not defined
[panc] >>> call stack trace
[panc] >>> [/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/quattor/schema.pan:374.1-395.2]
Solution: comment then relevant line from quattor/schema.pan
cannot locate template named 'hardware/functions'
Solution: svn cp from 14.4.0-rc2 (which in turh I think I had copied from standard)
[panc] evaluation error [/home/tier1/dzila/wc1/cfg/sites/ral-tier1/site/config.tpl:64.1-64.25]
include { 'os/version' };
^~~~~~~~~~~~~~~~~~~~~~~~~
[panc] cannot locate template named 'os/version'
Solution: copy from 14.4.0-rc2
- [panc] evaluation error [/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/quattor/client/rpms.pan:15.1-15.44]
include { 'rpms/package_default_versions' };
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[panc] cannot locate template named 'rpms/package_default_versions'
Compilation proceeds if the relevant line is commented, but then you end up with a system that does not update quattior client version!
quattor/aii/pxelinux/config.pan : Compilation fails, had to copy the one from the standard
/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/components/spma/config-rpm.pan
record definition contains unexpected field(s): packages
[panc] element path: '/software/components/spma'
[panc] type: 'component_spma_type' [/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/components/spma/schema.pan:70.28-98.1]
[panc] path '/software/components/spma' bound to type component_spma_type in [/home/tier1/dzila/wc1/cfg/quattor/14.5.0-rc2/components/spma/schema.pan:100.36-100.54]
Wrong prefix? It looked like
unique template components/spma/config-rpm;
Set prefix to root of component configuration.
prefix '/software/components/spma';
"/software/groups" ?= nlist();
Package to install
'packages' = pkg_repl("ncm-spma", "14.4.0-rc3_SNAPSHOT20140507141729", "noarch");
'packager' = 'yum';
'register_change' ?= list("/software/packages",
"/software/repositories");
I changed to
Set prefix to root of component configuration.
prefix '/software/components/spma';
'packager' = 'yum';
'register_change' ?= list("/software/packages",
"/software/repositories");
"/software/groups" ?= nlist();
Package to install
prefix '/software';
'packages' = pkg_repl("ncm-spma", "14.4.0-rc3_SNAPSHOT20140507141729", "noarch");