Project

General

Profile

Actions

Feature #4946

closed

RHEL support needed

Added by Anonymous almost 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
% Done:

10%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

RHEL installation does not work on Teuthology -- at a minimum, we need to define RedhatEnterpriseServer as a value in the acceptable rpm table. We probably have to make some changes in the install.py code as well.


Related issues 1 (0 open1 closed)

Related to teuthology - Bug #5110: Build RHEL vm image with cloud-init support.ResolvedSandon Van Ness05/20/2013

Actions
Actions #1

Updated by Anonymous almost 11 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by Anonymous almost 11 years ago

  • Assignee set to Anonymous
Actions #3

Updated by Anonymous almost 11 years ago

  • Target version set to v0.63
  • % Done changed from 0 to 10
Actions #4

Updated by Anonymous almost 11 years ago

  • Tracker changed from Bug to Feature
Actions #5

Updated by Anonymous almost 11 years ago

  • Translation missing: en.field_story_points set to 20.00
Actions #6

Updated by Sage Weil almost 11 years ago

  • Target version changed from v0.63 to v0.64
Actions #7

Updated by Ian Colle almost 11 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Ian Colle almost 11 years ago

  • Translation missing: en.field_story_points changed from 20.00 to 21.00
Actions #9

Updated by Anonymous almost 11 years ago

Ceph did not install properly on burnupi31 due to some missing packages. I manually ran a build on every ceph package, and I found that the following packages were missing:

mod_fcgid
httpd-mmn *
(httpd)
httpd-tools *
apr-util *

apr *
apr-util-ldap *

libboost_program_options.so.5 *
libboost_system-mt.so.5 *

libboost_thread-mt.so.5 *
libcryptopp.so.6 *
libfcgi.so.0 *
libfuse.so.2 *

gdisk
libicuio.so.42 *

libicuuc.so.42 *
libleveldb.so.1 *
libsnappy.so.1 *
libtcmalloc.so.4 * (gperftools)
python-argparse *
python-lockfile *
xfsprogs *

Packages marked with one * were available but not installed. Packages with two asterisks **
I grabbed off a mirror (I think that I needed to grab them off a mirror but there may be local copies). The indentations in the above list are further dependencies. For example, mod_fcgid depended on httpd-mmn which depended on apr, apr-util...

Ceph installed fine after these packages were installed.

At this point, I had a conversation with Gary and we came to the conclusion that we should probably set up a local rhel repo to have these packages available, rather than downloading them from mirrors.

Actions #10

Updated by Anonymous almost 11 years ago

Note: indentation was lost in the above list. The only dependencies among these were:

mod_fcgid -> httpd-mmn -> httpd-tools, apr-util, apr, apr-util-ldap

gdisk -> libicuio, libicuuc

Note that tracker also ate some asterisks. The entries with no asterisks are the ones that were available from already installed packers, and the entries with one asterisk were the ones that I got from a mirror.

Actions #11

Updated by Josh Durgin almost 11 years ago

If you put things inside

 <pre> </pre> 
they won't get interpreted as formatting by redmine.

Actions #12

Updated by Anonymous almost 11 years ago

  • Status changed from In Progress to Fix Under Review
This has been implemented in origin/wip-RhelInstall-wusui. This applies to physical machines only.

In order for this to work on VMs, the following changes are needed:

    1. A default distroversion entry needs to be added to the downburst create.py code
    2. A cloudinit image for RHEL needs to be created.
    3. ceph-qa-chef solo/run and solo-from-scratch need to handle 'redhat' distributions
    4. package code for RHEL needs to be added to recipes/default.rb (or Centos could be used)

I can make these changes except for item 2.
Actions #13

Updated by Ian Colle almost 11 years ago

  • Assignee changed from Anonymous to Josh Durgin

Josh - please take a look at the wip branch.

Actions #14

Updated by Sandon Van Ness almost 11 years ago

Warren Usui wrote:

1. A default distroversion entry needs to be added to the downburst create.py code
2. A cloudinit image for RHEL needs to be created.
3. ceph-qa-chef solo/run and solo-from-scratch need to handle 'redhat' distributions
4. package code for RHEL needs to be added to recipes/default.rb (or Centos could be used)

I completed all of these in issue #5110

Actions #15

Updated by Anonymous almost 11 years ago

I pushed a change that allows this to work for vms.

Actions #16

Updated by Anonymous almost 11 years ago

The new (to be reviewed) branch is origin/wip-RhelInstall-wusui

Actions #17

Updated by Anonymous almost 11 years ago

  • Target version changed from v0.64 to v0.65
Actions #18

Updated by Anonymous almost 11 years ago

  • Status changed from Fix Under Review to Resolved

Change has been made to teuthology. Note that when I ran this, gcc and make were needed on my machine. These should be included by the chef task.

Actions #19

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Assignee changed from Josh Durgin to Anonymous

teuthology tests on RHEL fails.

so, reopening the bug

Actions #20

Updated by Anonymous almost 11 years ago

  • Assignee changed from Anonymous to Josh Durgin

There appears to be an issue here where 'chmod 0777 /var/lib/ceph' operations fail because /var/lib/ceph does not exist. This does not occur on non-RHEL distributions. I think that if we change the 'chmod 0777 /var/lib/ceph' operation to 'install d -m0777 - /var/lib/ceph' this command would do what we want on rhel and behave like the old code on the other distriubutions.

Actions #21

Updated by Josh Durgin almost 11 years ago

  • Assignee changed from Josh Durgin to Anonymous

The ceph package should create /var/lib/ceph when it's installed. It looks like the spec file does this. I don't see the 'chmod 0777 /var/lib/ceph' in the teuthology repository, but if you've added it it should work after the ceph package is installed (and not be run on clients where the ceph package isn't required).

Actions #22

Updated by Anonymous almost 11 years ago

  • Status changed from Resolved to Fix Under Review
  • Assignee changed from Anonymous to Josh Durgin

A new version to review is in wip-RhelFix-wusui

Actions #23

Updated by Anonymous almost 11 years ago

Whoops! I meant to say /var/log/ceph, not /var/lib/ceph.

Actions #24

Updated by Josh Durgin almost 11 years ago

  • Assignee changed from Josh Durgin to Anonymous

Meant to comment yesterday, but the ceph packages should be installing /var/log/ceph as well. If it's a client trying to use it, your fix makes sense to me.

Actions #25

Updated by Anonymous almost 11 years ago

This code executes on the client.

Actions #26

Updated by Josh Durgin almost 11 years ago

Looks good to me then.

Actions #27

Updated by Anonymous almost 11 years ago

  • Status changed from Fix Under Review to Resolved

Latest fix is in.

Actions

Also available in: Atom PDF