Bug 1203047 - ice_setup from latest ISO has wrong httpd version
Summary: ice_setup from latest ISO has wrong httpd version
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Distribution
Version: 1.2.3
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: 1.2.3
Assignee: Ken Dreyer (Red Hat)
QA Contact: Warren
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 01:43 UTC by Warren
Modified: 2022-08-11 08:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-18 15:47:56 UTC
Embargoed:


Attachments (Terms of Use)
Sample session that demonstrates this problem. (41.24 KB, text/plain)
2015-03-18 03:19 UTC, Warren
no flags Details
Using just the CDN, still seems to not work (19.05 KB, text/plain)
2015-03-18 03:45 UTC, Warren
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5058 0 None None None 2022-08-11 08:30:15 UTC

Description Warren 2015-03-18 01:43:02 UTC
Description of problem:
The latest ISO installs httpd-2.4.6-30 instead of 2.4.6-31

Version-Release number of selected component (if applicable):

http://download.lab.bos.redhat.com/devel/kwright/trees/RHCeph/latest-rhel-7/Ceph-1.2-RHEL-7-20150312.n.2.iso

How reproducible:
100% 


Steps to Reproduce:
1. wget http://download.lab.bos.redhat.com/devel/kwright/trees/RHCeph/latest-rhel-7/Ceph-1.2-RHEL-7-20150312.n.2.iso
2. sudo mount -o loop /home/ubuntu/Ceph-1.2-RHEL-7-20150312.n.2.iso /mnt
3. sudo rpm -i /mnt/ice_setup-0.2.2-1.el7cp.noarch.rpm
4. sudo ice_setup -d /mnt

Actual results:
from ice-setup
-->   Installing : httpd-2.4.6-30.el7.x86_64 

sudo rpm -qa | grep httpd

httpd-tools-2.4.6-30.el7.x86_64
httpd-2.4.6-30.el7.x86_64

Comment 1 Warren 2015-03-18 01:44:31 UTC
Assigned to ken.  This is Scoville exa-unit hot.

Comment 2 Ken Dreyer (Red Hat) 2015-03-18 02:39:47 UTC
This looks extremely similar to bug 1199701 . If this was on a magna node in the octo lab, there's a good chance that the server is only pulling yum updates from the RHEL 7.1 Beta ISO. See the explanation in that bug 1199701.

Can you please verify that the server is subscribed to the Red Hat CDN via subscription-manager?

The "subscription-manager repos --list-enabled" command should list "rhel-7-server-rpms" as one of the active repositories.

Comment 3 Warren 2015-03-18 03:01:04 UTC
So I'm confused.  I install the iso first.  I then extract packages off the iso using ice_setup.  If I don't go to the CDN at this point, I still have the wrong version of httpd.

So when I get the rhel-7-server-rpms off the CDN, I have the wrong version of httpd installed.  Should I uninstall httpd?  This seems like it should be documented if that's the case.

Comment 4 Warren 2015-03-18 03:01:12 UTC
So I'm confused.  I install the iso first.  I then extract packages off the iso using ice_setup.  If I don't go to the CDN at this point, I still have the wrong version of httpd.

So when I get the rhel-7-server-rpms off the CDN, I have the wrong version of httpd installed.  Should I uninstall httpd?  This seems like it should be documented if that's the case.

Comment 5 Warren 2015-03-18 03:19:00 UTC
Created attachment 1003011 [details]
Sample session that demonstrates this problem.

Comment 6 Warren 2015-03-18 03:45:14 UTC
Created attachment 1003024 [details]
Using just the CDN, still seems to not work

Comment 7 Warren 2015-03-18 03:52:00 UTC
Okay. So if httpd is wrong on the beta iso in the octo lab, what image should we be starting with?

Comment 8 Ken Dreyer (Red Hat) 2015-03-18 03:53:20 UTC
Cool, good to see you're testing with the staging CDN.

It would be best if you test with the command that's specified in the documentation (https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-installation-guide/blob/master/calamari.adoc)

sudo subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-rhceph-1.2-calamari-rpms --enable=rhel-7-server-rhceph-1.2-installer-rpms --enable=rhel-7-server-rhceph-1.2-mon-rpms --enable=rhel-7-server-rhceph-1.2-osd-rpms

(From the output in Comment 6, it appears you're missing the Base RHEL channel, "rhel-7-server-rpms")

Comment 9 Warren 2015-03-18 04:09:07 UTC
Okay. Perhaps I misunderstood things here.  I thought that the ISO was the primary source of what we are installing.  Since I thought that, I figured that when I go to the CDN to get stuff, I should get the minimum needed (the radosgw stuff in this case). 

If we grab all the stuff off the CDN, why bother with the ISO?

Comment 10 Ken Dreyer (Red Hat) 2015-03-18 04:14:12 UTC
The installation instructions assume that the Calamari node will have access to the Red Hat CDN content (either directly, or via a proxy like Satellite.)

The OSDs and MONs do not have to have access to the CDN, since they will pull the Ceph packages from the Calamari admin node. And the Calamari admin node has the ISO, so that is the purpose of the ISO.

The two exceptions to this are:

1) A RGW node will need access to the RH-COMMON channel on the CDN in order to download ceph-radosgw and its dependencies (eg. python-boto, libfcgi, etc).

2) RHEL 6 OSD nodes that use XFS will need access to the Scalable Filesystem channel on the CDN in order to download the xfsprogs package.

Comment 11 Warren 2015-03-18 04:27:59 UTC
Okay. That's clearer.  So the rgw node will get httpd from the CDN.  The problem that I have been having occurs when you try to get more than one piece on the same machine.  A client with OSDs, MON and RGW, for example.

Comment 12 Stanislav Graf 2015-03-18 07:36:55 UTC
(In reply to Ken Dreyer (Red Hat) from comment #10)

+1, nice summary

(In reply to Warren from comment #11)

Can we close this BZ or is there doc change needed?

Comment 13 Stanislav Graf 2015-03-18 15:47:56 UTC
---> CLOSED NOT-A-BUG


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