Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Installation on RHEL 6.5 fails #24

Open
pythianali opened this issue Jul 4, 2014 · 5 comments
Open

Installation on RHEL 6.5 fails #24

pythianali opened this issue Jul 4, 2014 · 5 comments

Comments

@pythianali
Copy link

I get the following error when trying to deploy on RHEL 6.5

[root@puppet modules]# puppet module install gini-archive --debug
Notice: Preparing to install into /etc/puppet/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=gini-archive
Info: Resolving dependencies ...
Info: Preparing to install ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/gini-archive-0.2.0.tar.gz
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/gini-archive20140704-10814-bpams2-0 | tar xof -'
Debug: Executing 'find . -type d -exec chmod 755 {} +'
Debug: Executing 'find . -type f -exec chmod a-wst {} +'
Debug: Executing 'chown -R 0:0 .'
Notice: Installing -- do not interrupt ...
Error: No such file or directory - /etc/puppet/environments/production/modules/archive/spec/fixtures/modules/archive/templates
Error: Try 'puppet help module install' for usage

Any ideas?

@zaynoon
Copy link

zaynoon commented Jul 15, 2014

I get the same error on ubuntu 14.04:

ls -l /etc/puppet/modules/archive/spec/fixtures/modules/archive/templates

lrwxrwxrwx 1 root root 21 Jul 15 13:11 /etc/puppet/modules/archive/spec/fixtures/modules/archive/templates -> ../../../../templates

@pythianali
Copy link
Author

My workaround was to try other 'archive' modules until I found one that worked for me until this is resolved.

@dkerwin
Copy link

dkerwin commented Jul 30, 2014

This is really strange:

⌘ > puppet module install gini-archive --force --debug
Notice: Preparing to install into /Users/dkerwin/.puppet/modules ...
Notice: Downloading from https://forge.puppetlabs.com ...
Notice: Installing -- do not interrupt ...
Debug: Executing 'tar xzf /Users/dkerwin/.puppet/var/puppet-module/cache/https_forge_puppetlabs_com-ed3a0e51b3c1d8d395ffb1d12c849e3f50d35a10/gini-archive-0.2.0.tar.gz --no-same-owner -C /Users/dkerwin/.puppet/var/puppet-module/cache/tmp-unpacker-ed29894bf3fd7c93a789e6f0656e1088229509af'
Debug: Executing 'find /Users/dkerwin/.puppet/var/puppet-module/cache/tmp-unpacker-ed29894bf3fd7c93a789e6f0656e1088229509af -type d -exec chmod 755 {} +'
Debug: Executing 'find /Users/dkerwin/.puppet/var/puppet-module/cache/tmp-unpacker-ed29894bf3fd7c93a789e6f0656e1088229509af -type f -exec chmod a-wst {} +'
Debug: Executing 'chown -R 501:20 /Users/dkerwin/.puppet/var/puppet-module/cache/tmp-unpacker-ed29894bf3fd7c93a789e6f0656e1088229509af'
/Users/dkerwin/.puppet/modules
└── gini-archive (v0.2.0)

I'll have a closer look into this issue.

@pythianali
Copy link
Author

I think we stumbled on what this is. Its happening because puppet is installed on a system with multiple partitions vs one with a single root partition and the module installation process has symlink related issues. See: https://tickets.puppetlabs.com/browse/PUP-1639

@neoice
Copy link

neoice commented Sep 19, 2014

I believe I'm hitting this with librarian too:

[Librarian] Executing puppet module install for gini-archive 0.2.0: puppet module install --version 0.2.0 --target-dir /path/to/jenkins/buildroot/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/gini-archive/0.2.0 --module_repository https://forgeapi.puppetlabs.com --modulepath /path/to/jenkins/buildroot/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/gini-archive/0.2.0 --module_working_dir /path/to/jenkins/buildroot/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/gini-archive/0.2.0 --ignore-dependencies gini-archive
[Librarian] Unable to rollback path /path/to/jenkins/buildroot/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/gini-archive/0.2.0: Directory not empty @ dir_s_rmdir - /path/to/jenkins/buildroot/.tmp/librarian/cache/source/puppet/forge/forgeapi_puppetlabs_com/gini-archive/0.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants