Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module installation fails #7

Closed
mesouug opened this issue Sep 18, 2014 · 3 comments
Closed

module installation fails #7

mesouug opened this issue Sep 18, 2014 · 3 comments

Comments

@mesouug
Copy link

mesouug commented Sep 18, 2014

Good day.

Faced strange issue. Tried to debug it:

# puppet module install wdijkerman-zabbix -d
Debug: Runtime environment: puppet_version=3.7.0, ruby_version=1.8.7, run_mode=user
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=wdijkerman-zabbix
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apache
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apache&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-firewall
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-firewall&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-concat
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=ripienaar-concat
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-postgresql
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-postgresql&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apt
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-mysql
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-mysql&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=bodepd-create_resources
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Info: Resolving dependencies ...
Info: Preparing to install ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/wdijkerman-zabbix-0.4.1.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/wdijkerman-zabbix20140918-29480-rt697-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 .'
Error: No such file or directory - /var/lib/puppet/puppet-module/cache/tmp-unpacker20140918-29480-1wwook3/zabbix
Error: Try 'puppet help module install' for usage

I'm using foreman(maybe this will help).
For now I've managed to install module by repacking it and creating symlink: zabbix -> wdijkerman-zabbix-0.4.1

Thanks,
Mikhail.

@dj-wasabi
Copy link
Contributor

Hi Mikhail,

Thanks for making time to create this issue.
When I'm running on puppet 3.7.0, I've got the same issue as you. But, when I upgrade to 3.7.1, I'm able to download and install it. Also with release 3.1.1 (My vagrant machine has 3.1.1 installed) and 3.6.2 (My home environment has it) everything works correct.

So I only can advise you to upgrade to version 3.7.1 or downgrade to 3.6.2, otherwise I'm not able to help you.

Kind regards,
Werner

@mesouug
Copy link
Author

mesouug commented Sep 19, 2014

Wow. Thanks for quick response. This really works. Never thought that this was initial problem.
It now installs with only single warning:

Warning: Symlinks in modules are unsupported. Please investigate symlink wdijkerman-zabbix-0.4.1/spec/fixtures/modules/zabbix->../../../../zabbix.

Thanks,
Mikhail.

P.S. Full debug log:

# puppet module install wdijkerman-zabbix -i 111111/ -d
Debug: Runtime environment: ruby_version=1.8.7, puppet_version=3.7.1, run_mode=user
Notice: Preparing to install into /root/111111 ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=wdijkerman-zabbix
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-postgresql
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-postgresql&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-firewall
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-firewall&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apt
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-stdlib&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=ripienaar-concat
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-concat
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apache
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-apache&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-mysql
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=puppetlabs-mysql&limit=20&offset=20
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/releases?module=bodepd-create_resources
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Info: Resolving dependencies ...
Info: Preparing to install ...
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/wdijkerman-zabbix-0.4.1.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/wdijkerman-zabbix20140919-30405-1ydzvk6-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 .'
Warning: Symlinks in modules are unsupported. Please investigate symlink wdijkerman-zabbix-0.4.1/spec/fixtures/modules/zabbix->../../../../zabbix.
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-apache-1.1.1.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-apache20140919-30405-bux2ua-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-concat-1.1.1.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-concat20140919-30405-yqb7f8-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-firewall-1.1.3.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-firewall20140919-30405-1tnf6cv-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-mysql-2.3.1.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-mysql20140919-30405-1ct05dd-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-postgresql-4.0.0.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-postgresql20140919-30405-1kc4qkz-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-apt-1.6.0.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-apt20140919-30405-13b29hj-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 .'
Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/files/puppetlabs-stdlib-4.3.2.tar.gz
Debug: Failed to load library 'pe_license' for feature 'pe_license'
Debug: Executing 'gzip -dc /var/lib/puppet/puppet-module/cache/puppetlabs-stdlib20140919-30405-1rgz6k7-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 ...
/root/111111
└─┬ wdijkerman-zabbix (v0.4.1)
  ├── puppetlabs-apache (v1.1.1)
  ├── puppetlabs-firewall (v1.1.3)
  ├── puppetlabs-mysql (v2.3.1)
  └─┬ puppetlabs-postgresql (v4.0.0)
    ├─┬ puppetlabs-apt (v1.6.0)
    │ └── puppetlabs-stdlib (v4.3.2)
    └── puppetlabs-concat (v1.1.1)

@mesouug mesouug closed this as completed Sep 19, 2014
@dj-wasabi
Copy link
Contributor

Hi Mikhail,

Glad that it works.
I also noticed the symlink message while testing this late night. Will fix this in the next release.

Kind regards,
Werner

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

No branches or pull requests

2 participants