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

Error Downloading Packages: #53

Open
kamal2222ahmed opened this issue May 6, 2013 · 2 comments
Open

Error Downloading Packages: #53

kamal2222ahmed opened this issue May 6, 2013 · 2 comments

Comments

@kamal2222ahmed
Copy link

sudo puppet apply --modulepath=/home/kahmed/qa/puppet_qa/modules -e "include jenkins" --debug
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/concat/lib/facter/concat_basedir.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/stdlib/lib/facter/puppet_vardir.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/stdlib/lib/facter/root_home.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/stdlib/lib/facter/pe_version.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/puppi/lib/facter/last_run.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/puppi/lib/facter/puppi_projects.rb
info: Loading facts in /home/kahmed/qa/puppet_qa/modules/epel/lib/facter/os_maj_version.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/augeasversion.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/kernelpageloc.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/rhcs_member.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/init.pp' in environment production
debug: Automatically imported jenkins from jenkins into production
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/repo.pp' in environment production
debug: Automatically imported jenkins::repo from jenkins/repo into production
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/repo/el.pp' in environment production
debug: Automatically imported jenkins::repo::el from jenkins/repo/el into production
debug: Failed to load library 'selinux' for feature 'selinux'
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/package.pp' in environment production
debug: Automatically imported jenkins::package from jenkins/package into production
debug: Puppet::Type::Package::ProviderRpm: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderAptrpm: Executing '/bin/rpm -ql rpm'
debug: Puppet::Type::Package::ProviderUrpmi: Executing '/bin/rpm -ql rpm'
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm --version'
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/service.pp' in environment production
debug: Automatically imported jenkins::service from jenkins/service into production
debug: importing '/home/kahmed/qa/puppet_qa/modules/jenkins/manifests/firewall.pp' in environment production
debug: Automatically imported jenkins::firewall from jenkins/firewall into production
debug: Adding relationship from Class[Jenkins::Repo] to Class[Jenkins::Package] with 'before'
debug: Adding relationship from Class[Jenkins::Package] to Class[Jenkins::Service] with 'before'
debug: Puppet::Type::Service::ProviderGentoo: file /sbin/rc-update does not exist
debug: Puppet::Type::Service::ProviderOpenrc: file /sbin/rc-service does not exist
debug: Puppet::Type::Service::ProviderRunit: file /usr/bin/sv does not exist
debug: Puppet::Type::Service::ProviderDebian: file /usr/sbin/update-rc.d does not exist
debug: Puppet::Type::Service::ProviderDaemontools: file /usr/bin/svc does not exist
debug: Puppet::Type::Service::ProviderLaunchd: file /bin/launchctl does not exist
debug: Puppet::Type::Service::ProviderSystemd: file /bin/systemctl does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
debug: Puppet::Type::Package::ProviderUrpmi: file urpmi does not exist
debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist
debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist
debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist
debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist
debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist
debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist
debug: Creating default schedules
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderUser_role_add: file roledel does not exist
debug: /File[/var/opt/lib/pe-puppet/state/state.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: /File[/var/opt/lib/pe-puppet/lib]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/var/opt/lib/pe-puppet/state/graphs]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: /File[/etc/puppetlabs/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/var/opt/lib/pe-puppet/state/puppetdlock]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: /File[/etc/puppetlabs/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/var/opt/lib/pe-puppet/state]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/var/opt/lib/pe-puppet/client_data]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/etc/puppetlabs/puppet/ssl/private_keys]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/etc/puppetlabs/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppetlabs/puppet/ssl/certs]
debug: /File[/etc/puppetlabs/puppet/ssl/private]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/var/opt/lib/pe-puppet/state/resources.txt]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: /File[/var/opt/lib/pe-puppet/facts]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/var/opt/lib/pe-puppet/clientbucket]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/etc/puppetlabs/puppet/ssl/public_keys]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/etc/puppetlabs/puppet/ssl]: Autorequiring File[/etc/puppetlabs/puppet]
debug: /File[/etc/puppetlabs/puppet/namespaceauth.conf]: Autorequiring File[/etc/puppetlabs/puppet]
debug: /File[/etc/puppetlabs/puppet/ssl/certs]: Autorequiring File[/etc/puppetlabs/puppet/ssl]
debug: /File[/var/opt/lib/pe-puppet/client_yaml]: Autorequiring File[/var/opt/lib/pe-puppet]
debug: /File[/var/opt/lib/pe-puppet/state/last_run_report.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: /File[/var/opt/lib/pe-puppet/state/last_run_summary.yaml]: Autorequiring File[/var/opt/lib/pe-puppet/state]
debug: Finishing transaction 70133416733120
debug: Loaded state in 0.28 seconds
debug: Loaded state in 0.01 seconds
info: Applying configuration version '1367843774'
debug: /Stage[main]/Jenkins::Package/before: requires Class[Jenkins::Service]
debug: /Stage[main]/Jenkins::Repo/before: requires Class[Jenkins::Package]
debug: /Stage[main]/Jenkins::Repo::El/require: requires Anchor[jenkins::repo::alpha]
debug: /Stage[main]/Jenkins::Repo::El/before: requires Anchor[jenkins::repo::omega]
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
debug: /Schedule[never]: Skipping device resources because running on a host
debug: /Schedule[weekly]: Skipping device resources because running on a host
debug: /Schedule[puppet]: Skipping device resources because running on a host
debug: Prefetching yum resources for package
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm --version'
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
''
debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -q jenkins --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
'
debug: Packagejenkins: Ensuring => present
debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install jenkins'
err: /Stage[main]/Jenkins::Package/Package[jenkins]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install jenkins' returned 1:

Error Downloading Packages:
jenkins-1.514-1.1.noarch: failure: jenkins-1.514-1.1.noarch.rpm from jenkins: [Errno 256] No more mirrors to try.

notice: /Stage[main]/Jenkins::Service/Service[jenkins]: Dependency Package[jenkins] has failures: true
warning: /Stage[main]/Jenkins::Service/Service[jenkins]: Skipping because of failed dependencies
debug: Finishing transaction 70133415149580
debug: Storing state
debug: Stored state in 0.09 seconds
notice: Finished catalog run in 27.51 seconds
debug: Finishing transaction 70133416267280
debug: Received report to process from vm-jenkins-staging.3mhis.vm.
debug: Processing report from vm-jenkins-staging.3mhis.vm. with processor Puppet::Reports::Store

@rtyler
Copy link
Owner

rtyler commented May 18, 2013

This looks more like an issue with the Jenkins infrastructure not serving up a 1.514 rpm for you.

The RPM appears available now though, can you verify that this works for you?

@matthewbarr
Copy link
Contributor

Were you able to find the problem?

rtyler pushed a commit that referenced this issue Feb 24, 2014
Allow specific versions of jenkins plugins to be installed
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

3 participants