Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 772574 - Puppet: Could not set 'link on ensure: No such file or directory'
Summary: Puppet: Could not set 'link on ensure: No such file or directory'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-01-09 10:00 UTC by Lukas Zapletal
Modified: 2019-09-26 13:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:17:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukas Zapletal 2012-01-09 10:00:48 UTC
This is with the latest:

katello-0.1.170-1.el6.noarch
katello-all-0.1.170-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
katello-cli-0.1.34-1.el6.noarch
katello-cli-common-0.1.34-1.el6.noarch
katello-common-0.1.170-1.el6.noarch
katello-configure-0.1.51-1.el6.noarch
katello-glue-candlepin-0.1.170-1.el6.noarch
katello-glue-foreman-0.1.170-1.el6.noarch
katello-glue-pulp-0.1.170-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch

error:

Starting Katello configuration
The top-level log file is
[/var/log/katello/katello-configure-20120106-174925/main.log]
err: /File[/etc/pki/pulp/content/pulp-global-repo.ca]/ensure: change
from absent to link failed: Could not set 'link on ensure: No such
file or directory - /etc/pki/pulp/content at
/usr/share/katello/install/puppet/modules/pulp/manifests/config.pp:15
err: /Stage[main]/Pulp::Config/Exec[set candlepin crl file]/returns:
change from notrun to 0 failed: /usr/bin/openssl x509 -in
'/etc/candlepin/certs/candlepin-ca.crt' -hash -noout | /usr/bin/xargs
-I{} /bin/ln -sf '/var/lib/candlepin/candlepin-crl.crl'
'/etc/pki/pulp/content/{}.r0' returned 123 instead of one of [0] at
/usr/share/katello/install/puppet/modules/pulp/manifests/config.pp:28

Comment 1 Lukas Zapletal 2012-01-09 10:22:24 UTC
768420 - config Pulp for new content location (a226f3506d5415c3856ae7957b5132aa8329a139) introduced this.

FYI We are creating this symlink because of:

https://www.redhat.com/archives/katello-devel/2011-September/msg00157.html

The error is:

# /usr/bin/openssl x509 -in '/etc/candlepin/certs/candlepin-ca.crt' -hash -noout | /usr/bin/xargs -I{} /bin/ln -sf '/var/lib/candlepin/candlepin-crl.crl' '/etc/pki/pulp/content/{}.r0'
/bin/ln: failed to create symbolic link `/etc/pki/pulp/content/76372f23.r0': No such file or directory

# ls /etc/pki/pulp/content -lad
Not found...

Comment 2 Lukas Zapletal 2012-01-09 12:41:27 UTC
Enabling testing repo until CR is out.

150c020 772574 - enabling pulp-testing repo

Comment 3 Lukas Zapletal 2012-01-09 13:51:14 UTC
Oh the patch does not change a thing since we do not use puppet installation tasks (only setup tasks). We do setup repos using rpms. Reverting.

I guess we could provide katello-repos-testing rpm. More on the list.

Comment 4 Sachin Ghai 2012-01-16 11:24:04 UTC
I faced the similar issue today. However seems that we need to use pulp-testing repo as of now. I installed katello with enabling pulp-testing repo and katello-configure ran perfectly. So moving this to verified.

[root@dhcp201-176 yum.repos.d]# katello-configure 
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20120116-160105/main.log]
[root@dhcp201-176 yum.repos.d]# echo $?
0


[root@dhcp201-176 yum.repos.d]# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
repo id                           repo name                            status
candlepin                         An open source entitlement managemen     5
epel                              Extra Packages for Enterprise Linux  6,843
katello                           integrates together a series of open   156
pulp-testing                      Pulp Testing Builds                     20
rhel-x86_64-server-6.1.z          RHEL EUS Server (v. 6.1.z for 64-bit 5,622
rhel-x86_64-server-optional-6.1.z RHEL EUS Server Optional (v. 6.1.z 6 3,662
thumbslug                         An open source content proxy             3
repolist: 16,311
[root@dhcp201-176 yum.repos.d]# 


root@dhcp201-176 yum.repos.d]# rpm -qa | grep -ie katello-0 -ie pulp-0
katello-0.1.178-1.el6.noarch
katello-glue-pulp-0.1.178-1.el6.noarch
pulp-0.0.257-1.el6.noarch
[root@dhcp201-176 yum.repos.d]#

Comment 7 Mike McCune 2013-08-16 18:20:01 UTC
getting rid of 6.0.0 version since that doesn't exist


Note You need to log in before you can comment on or make changes to this bug.