Michael,
you are almost there. What I miss in your description is promote step.
You can only sync content into the Locker environment, while you can
only register systems to non-Locker environment. That means you need to
create at least one environment and then you need to promote your
content (whole product in this case) to it.
Then try again yum list available again.
LZ
On Wed, Dec 21, 2011 at 08:53:58PM +0000, Michael Burbury wrote:
Dear Katello List Experts,
I ran into several other issues with Katello and then suddenly
it started giving 500 internal server errors. So I decided it
would be faster to start again (format). Now almost working.
So, this was my process.
1. Install Fedora 16 from DVD.
2. Configure Fedora 16 (network, iptables, selinux permissive)
3. Run a "yum update"
4. Edit /etc/lvm/lvm.conf and change the line:
locking_dir = "/var/lock/lvm"
To:
locking_dir = "/run/lock/lvm"
(Known bug, shall be fixed soon)
5. Reboot.
6. Install puppet and configure (optional)
7. Install Zabbix agent and configure (optional)
8. Setup repositories for Katello.
https://fedorahosted.org/katello/wiki/Install
(some adjustment to repo locations may be needed)
9. Run "yum -y install katello-all"
10. Run "katello-configure"
11. Using browser, login to Katello with default admin/admin account.
(You did remember port 443 in iptables - right?)
12. Change admin account password.
13. Add a new organization and delete the ACME one.
14. Create a new product under your new organization for x86-64
15. Add repositories to it for all x86-64 repos you need.
16. Create a new product under your new organization for i686
17. Add repositories to it for all i686 repos you need.
18. Sync repositories.
19. Obtain the subscription-manager repo for your client distribution
20. Install and configure client subscription-manager as per:
https://fedorahosted.org/katello/wiki/GuideSystemRegistrationClient
21. On the client run:
"subscription-manager register --force --username=admin
--password=<your-admin-password>"
22. On the client run:
"subscription-manager list --available"
This should now show you the two products, one for X86-64 and one for i686.
23. Subscribe client to right pool:
"subscription-manager subscribe --pool=<poolId for the Product you
want>"
24. On the client run "yum clean all"
25. Test yum on the client using "yum list available"
This gives:
[zabbix ~]# yum list available
Loaded plugins: katello, product-id, subscription-manager
Updating certificate-based repositories.
https://katello.my.domain/pulp/repos/MyOrganisation/DCIS/custom/X86-64-Re...:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
2-EPEL-X86-64. Please verify its path and try again
It would appear I have missed something...
Thanks as always,
Mike.
#####################################################################################
Confidentiality and Privilege Notice
This document is intended solely for the named addressee. The information contained in
the pages is confidential and contains legally privileged information. If you are not the
addressee indicated in this message (or responsible for delivery of the message to such
person), you may not copy or deliver this message to anyone, and you should destroy this
message and kindly notify the sender by reply email. Confidentiality and legal privilege
are not waived or lost by reason of mistaken delivery to you.
#####################################################################################
_______________________________________________
katello mailing list
katello(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/katello
--
Later,
Lukas Zapletal | E32E400A
RHN Satellite Engineering
Red Hat Czech s.r.o. Brno