bigdata - Error on starting the application Puppet in the Generic enablers Cosmos -
good afternoon,
i have installed generic enablers cosmos, following manual bigdata analysis - installation , administration guide. when have come 'step 7: applying puppet' , executed commands, in file puppet.err has appeared following errors:
error: not prefetch yumrepo provider ' inifilé: section 'openvz-utils' defined, cannot re-defines in/etc/yum.repos.d/openvz.repo
description: there conflict titles (indicated in bold type) of file /etc/yum.repos.d/cosmos-openvz.repo , /etc/yum.repos.d/openvz.repo .
cat /etc/yum.repos.d/cosmos-openvz.repo
[openvz-utils]
...[openvz-kernel-rhel6]
...cat /etc/yum.repos.d/openvz.repo
[openvz-utils]
...[openvz-kernel-rhel6]
...[openvz-kernel-rhel6-testing]
...solution: have realized change in titles of file /etc/yum.repos.d/openvz.repo, example: [openvz-utils_1]
error: not prefetch database_grant provider 'mysql': execution of '/usr/bin/mysql mysql -be describe user' returned 1: error 2002 (hy000): can't connect local mysql server through socket '/var/lib/mysql/mysql.sock' (2)
description: in folder /var/lib/mysql/ not found file mysql.sock.
solution: have installed mysql-server.x86_64:
yum install mysql-server.x86_64
at end of installations, restarted service:
/etc/init.d/mysqld stop
/etc/init.d/mysqld starterror: not update: execution of '/usr/bin/yum -d 0 -e 0 -y list vzstats' returned 1: error: cannot retrieve repository metadata (repomd.xml) repository: ambari. please verify path , try again
description: error appears in machine of master node, 1 provoked configuration of file [cosmos_tmp_path]/puppet/modules/cosmos/manifests/hieradata/my_environment/common.yaml, indicated in 'step 6: puppet configuration'. concretely, url use ip: 130.206.81.65
solution: in file [cosmos_tmp_path]/puppet/modules/cosmos/manifests/hieradata /my_environment/common.yaml change line:
ambari::params::repo_url: 'http:// 130.206.81.65/cosmos/ambari/'
(without blank space)
for
ambari::params::repo_url: 'http:// public-repo-1.hortonworks.com/ambari/centos6/1.x/ga'
(without blank space)
error: not update: execution of '/usr/bin/yum -d 0 -e 0 -y list vzstats' returned 1: error: cannot retrieve repository metadata (repomd.xml) repository: cosmos-libvirt. please verify path , try again
description: same problem previous error. difficulty in 1 cannot modify file [cosmos_tmp_path]/puppet/modules/cosmos/manifests/hieradata /my_environment/common.yaml in line:
cosmos::params::cosmos_repo_deps_url: 'http:// 130.206.81.65/cosmos/rpms/cosmos-deps'
(without blank space)
because line used in several files:
cat /etc/yum.repos.d/cosmos-libvirt.repo
[cosmos-libvirt]
name=cosmos libvirt openvz - v1.0.5 - no polkit
baseurl=http:// 130.206.81.65/cosmos/rpms/cosmos-deps//libvirt
gpgcheck=0
priority=10
enabled=1cat /etc/yum.repos.d/cosmos-openvz.repo
[openvz-utils]
name=openvz utilities
baseurl=http:// 130.206.81.65/cosmos/rpms/cosmos-deps//openvz/openvz-utils
enabled=1
gpgcheck=0
priority=1[openvz-kernel-rhel6]
name=openvz rhel6-based kernel
baseurl=http:// 130.206.81.65/cosmos/rpms/cosmos-deps//openvz/openvz-kernel- > rhel6
enabled=1
gpgcheck=0
priority=1it not allow modify file previous, in moment execute command (indicated in 'step 7: applying puppet'):
puppet apply --debug --verbose \
--modulepath [cosmos_tmp_path]/puppet/modules/:[cosmos_tmp_path]/puppet/modules_third_party/ \
--environment my_environment --hiera_config [cosmos_tmp_path]/puppet/modules/cosmos/manifests/hiera.yaml \
--manifestdir [cosmos_tmp_path]/puppet/modules/cosmos/manifests/ [cosmos_tmp_path]/puppet/modules/cosmos/manifests/site.pp \
> puppet.out 2> puppet.errit erase modified.
solution: https://github.com/telefonicaid/fiware-cosmos-platform/issues/4
i need error:
- error: /stage[main]/ambari::server::config/augeas[ambari-config-repoinfo]: not evaluate: saving failed, see debug
might throw me hand these last error?
thank in advance.
pd: forgive if written badly
Comments
Post a Comment