Kengo Seki created BIGTOP-3398:
----------------------------------

             Summary: Fix GPDB puppet manifest to work
                 Key: BIGTOP-3398
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3398
             Project: Bigtop
          Issue Type: Bug
          Components: deployment
            Reporter: Kengo Seki
            Assignee: Kengo Seki


Deploying GPDB with the current puppet manifest comes across various errors on 
each distro.

On CentOS 7:
{code}
Notice: /Stage[main]/Gpdb::Common::Install_packages/Package[gpdb]/ensure: 
created
Notice: 
/Stage[main]/Gpdb::Common::Install_packages/Package[python-lockfile]/ensure: 
created
Notice: 
/Stage[main]/Gpdb::Common::Install_packages/File[/usr/bin/pip-python]/ensure: 
created
Notice: /Stage[main]/Gpdb::Common::Install_packages/Package[paramiko]/ensure: 
created
Notice: /Stage[main]/Gpdb::Common::Gpadmin_user/Group[gpadmin]/ensure: created
Notice: /Stage[main]/Gpdb::Common::Gpadmin_user/User[gpadmin]/ensure: created
Notice: 
/Stage[main]/Gpdb::Common::Prepare_file_structure/File[/data_gp]/ensure: created
Notice: 
/Stage[main]/Gpdb::Common::Prepare_file_structure/File[/data_gp/master]/ensure: 
created
Notice: 
/Stage[main]/Gpdb::Common::Prepare_file_structure/File[/data_gp/primary]/ensure:
 created
Notice: 
/Stage[main]/Gpdb::Common::Prepare_db_dirs/File[/home/gpadmin/stop-db.sh]/ensure:
 defined content as '{md5}b384fc92d32f35bb5daa975a00a3485c'
Notice: 
/Stage[main]/Gpdb::Common::Prepare_db_dirs/File[/home/gpadmin/init-db.sh]/ensure:
 defined content as '{md5}124ed5b7c245fa3115ced97ca39de9c5'
Error: Could not update: Execution of '/bin/pip-python install -q --upgrade 
psutil' returned 1: Command "python setup.py egg_info" failed with error code 1 
in /tmp/pip-build-9ervFG/psutil/
Wrapped exception:
Execution of '/bin/pip-python install -q --upgrade psutil' returned 1: Command 
"python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-9ervFG/psutil/
Error: /Stage[main]/Gpdb::Common::Install_packages/Package[psutil]/ensure: 
change from absent to latest failed: Could not update: Execution of 
'/bin/pip-python install -q --upgrade psutil' returned 1: Command "python 
setup.py egg_info" failed with error code 1 in /tmp/pip-build-9ervFG/psutil/
{code}

On Ubuntu 16.04:
{code}
Notice: Scope(Class[Node_with_components]): Roles to deploy: [gpdb-master, 
gpdb-segment]
Notice: Scope(Class[Gpdb::Common::Prepare_db_dirs]): master_node_fqdn
Notice: Scope(Class[Gpdb::Common::Prepare_db_dirs]): segment_node_fqdn
Notice: Compiled catalog for ubuntu1604.localdomain in environment production 
in 2.20 seconds
Error: Could not find dependency Server[stop_if_running] for 
Gpdb::Server[start] at 
/home/vagrant/bigtop/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp:73
{code}

On other distros:
{code}
Notice: Scope(Class[Node_with_components]): Roles to deploy: [gpdb-master, 
gpdb-segment]
Notice: Scope(Class[Gpdb::Common::Prepare_db_dirs]): master_node_fqdn
Notice: Scope(Class[Gpdb::Common::Prepare_db_dirs]): segment_node_fqdn
Error: Evaluation Error: Error while evaluating a Resource Statement, 
Evaluation Error: Resource type not found: Server at 
/home/vagrant/bigtop/bigtop-deploy/puppet/modules/gpdb/manifests/init.pp:79:36  
at /home/vagrant/bigtop/bigtop-deploy/puppet/manifests/cluster.pp:239 on node 
debian9.localdomain
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to