Bug 1219294 - Update ice-setup to reflect new ISO/CDN channel structure
Summary: Update ice-setup to reflect new ISO/CDN channel structure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.0
Assignee: Alfredo Deza
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
: 1219295 (view as bug list)
Depends On: 1223475
Blocks: 1194156 1199257
TreeView+ depends on / blocked
 
Reported: 2015-05-07 00:35 UTC by Federico Lucifredi
Modified: 2022-02-21 18:14 UTC (History)
11 users (show)

Fixed In Version: ice_setup-0.4.1-1.el7cp
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-24 15:52:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3278 0 None None None 2022-02-21 18:14:32 UTC
Red Hat Product Errata RHBA-2015:1183 0 normal SHIPPED_LIVE Ceph bug fix and enhancement update 2015-06-24 19:49:46 UTC

Description Federico Lucifredi 2015-05-07 00:35:13 UTC
Description of problem:

Update ice-setup to reflect new ISO/CDN structure.

Comment 2 Federico Lucifredi 2015-05-07 00:37:43 UTC
This is a priority 1 fix on ceph-deploy for 1.3.0, per today's meeting.

Comment 3 Federico Lucifredi 2015-05-07 00:37:54 UTC
This is a priority 1 fix on ceph-deploy for 1.3.0, per today's meeting.

Comment 4 Ken Dreyer (Red Hat) 2015-05-07 01:51:08 UTC
This is probably not going to be simple patches on top of 0.3.0, and we'll probably want to entirely rebase to a new future version upstream. Adding the "Rebase" keyword to indicate this.

Comment 5 Alfredo Deza 2015-05-07 13:10:04 UTC
Is the new ISO/CDN structure defined somewhere?

Comment 12 Ken Dreyer (Red Hat) 2015-05-13 16:33:36 UTC
*** Bug 1219295 has been marked as a duplicate of this bug. ***

Comment 14 Federico Lucifredi 2015-05-14 22:12:28 UTC
+1.

Comment 17 Ken Dreyer (Red Hat) 2015-06-01 21:14:10 UTC
For QE: you can verify this bug is fixed by following the 1.3.0 ice_setup instructions (at https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-installation-guide-rhel/blob/v1.3/calamari.adoc) and checking that the "MON" and "OSD" repositories are present on your calamari admin node.

The general thing we're testing here is "does ice_setup allow you to set up a working cluster with the "ceph-mon" and "ceph-osd" packages on the 1.3.0 ISO. To get into specifics, with ice_setup 0.4.1:

1) "ice_setup -d /mnt" should succeed.

2) After running "ice_setup -d /mnt" above, you should see "MON" and "OSD" directories under /opt/calamari/webapp/content/ , like so:

$ ls /opt/calamari/webapp/content/{MON,OSD}/

3) These MON and OSD locations should be valid yum repositories accessible via HTTP from your calamari admin node:

$ curl http://calamari.example.com/static/MON/repodata/repomd.xml
$ curl http://calamari.example.com/static/OSD/repodata/repomd.xml

4) On your Calamari node, ~/ceph-config/cephdeploy.conf should contain a "[ceph-mon]" section and "[ceph-osd]" section.

5) Your monitor nodes should have a /etc/yum.repos.d/ceph-mon.repo file which points to the monitor repository on the calamari admin server.

6) Your OSD nodes should have a /etc/yum.repos.d/ceph-osd.repo file which points to the OSD repository on the calamari admin server.

Comment 18 Hemanth Kumar 2015-06-02 06:49:01 UTC
(In reply to Ken Dreyer (Red Hat) from comment #17)
> 5) Your monitor nodes should have a /etc/yum.repos.d/ceph-mon.repo file
> which points to the monitor repository on the calamari admin server.
 
> 6) Your OSD nodes should have a /etc/yum.repos.d/ceph-osd.repo file which
> points to the OSD repository on the calamari admin server.

----

As we are using the puddle ISO for testing, we are copying the repo file to all the Cluster Nodes.  I don't see the repo files getting created as ceph-mon.repo ceph-osd.repo.

Ken, Need to test this using CDN in-order to verify this BZ.. What is your take?

Apart from these..  Rest are working fine..

Comment 19 Ken Dreyer (Red Hat) 2015-06-02 16:48:33 UTC
There are two methods of installing RHCS 1.3.0:

  1) "Online", using the CDN (using Puddle for now). This only requires
     ceph-deploy.

  2) "Offline", using the ISO. This requires both ice_setup and ceph-deploy.

When installing via an ISO, you don't need to use Puddle at all. The idea is that your OSD and MON nodes will not have access to the internet or the CDN, so they will pull their packages from the Calamari admin node.

This bug is to make sure that ice_setup works with the 1.3.0 ISO. So if you've got Puddle defined on your nodes at /etc/yum.repos.d/ceph.repo or something, please disable that. ice_setup in conjunction with ceph-deploy is going to create the ceph-mon.repo and ceph-osd.repo files on each of your nodes.

Comment 21 Hemanth Kumar 2015-06-05 09:14:02 UTC
Also, Please let me if this needs a new BZ..

Comment 23 Ken Dreyer (Red Hat) 2015-06-08 18:31:10 UTC
Please re-try with:

  sudo ice_setup --no-gpg -d /mnt

Comment 24 Ken Dreyer (Red Hat) 2015-06-08 18:33:23 UTC
When Russ respins the Ceph ISO for the RC, all the packages will be GPG-signed with the GA key.

Comment 25 Hemanth Kumar 2015-06-09 09:28:10 UTC
sudo ice_setup --no-gpg -d /mnt worked fine.. Was able to install ceph-deploy..:)

Moving to verified state for now., will retest once available at CDN and also post GPG sign available for ISO packages

Comment 27 errata-xmlrpc 2015-06-24 15:52:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:1183


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