Project

General

Profile

Actions

Bug #8233

closed

Installation & Documentation broken for Ubuntu Trusty 14.04 - rgw

Added by Joel Merrick almost 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://ceph.com/docs/master/install/install-ceph-gateway/

The repository configured by this process contains apache2.2 packages, whereas the ubuntu stock is 2.4. This breaks the installation process for the ceph provided apache/fastcgi with 100-continue.

It is possible to subvert the installation by using aptitude and forcing the package installation, but far from ideal.

Actions #1

Updated by Ian Colle almost 10 years ago

  • Assignee set to John Wilkins
  • Priority changed from Normal to Urgent
Actions #2

Updated by John Wilkins almost 10 years ago

  • Status changed from New to Need More Info

I haven't installed on Trusty yet, but will upgrade my machines soon. Can you provide more specifics of the problems you encountered and what you had to do to resolve it?

Actions #3

Updated by Joel Merrick almost 10 years ago

Sure, the issue is that the 100-continue packages you provide are not installable. This is due to apache 2.4 being the default and you providing 2.2 in the gitbuilder

2.4 is taking the preference and stopping fastcgi from being installed due to a hard dependency being set on 2.2

--

vagrant@base:~$ cat /etc/issue
Ubuntu 14.04 LTS \n \l

vagrant@base:~$ wget q -O https://raw.github.com/ceph/ceph/master/keys/autobuild.asc | sudo apt-key add -
OK

vagrant@base:~$ echo deb http://gitbuilder.ceph.com/apache2-deb-$(lsb_release -sc)-x86_64-basic/ref/master $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph-apache.list

deb http://gitbuilder.ceph.com/apache2-deb-trusty-x86_64-basic/ref/master trusty main
vagrant@base:~$ echo deb http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-$(lsb_release -sc)-x86_64-basic/ref/master $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph-fastcgi.list

deb http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-trusty-x86_64-basic/ref/master trusty main
vagrant@base:~$ sudo apt-get update && sudo apt-get install apache2 libapache2-mod-fastcgi

--->8--snip----

Fetched 27.2 MB in 9s (2,869 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-fastcgi : Depends: apache2.2-common (>= 2.2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Actions #4

Updated by Joel Merrick almost 10 years ago


vagrant@base:~$ apt-cache policy apache2
apache2:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4
  Version table:
     2.4.7-1ubuntu4 0
        500 http://{redacted - just an internal ubuntu rsync mirror}/ubuntu/ trusty/main amd64 Packages
     2.2.22-2trusty.ceph 0
        500 http://gitbuilder.ceph.com/apache2-deb-trusty-x86_64-basic/ref/master/ trusty/main amd64 Packages

Actions #5

Updated by Joel Merrick almost 10 years ago

You could get around this by apt pinning or via aptitude (which is effectively doing the same thing)

This just feels wrong though, to my mind the changes for 100 support should be rebased against the 2.4 stock apache/fastcgi that's in Trusty. Would make maintenance a lot easier and would speed up security patching I guess.

Actions #6

Updated by Patrycja Szab?owska almost 10 years ago

I've got exactly the same error for Ubuntu Saucy (13.10).

Actions #7

Updated by Sage Weil over 9 years ago

  • Priority changed from Urgent to High
Actions #8

Updated by Ken Dreyer over 9 years ago

The 100-Continue stuff was all in fastcgi, not httpd. So you can use Ubunu's httpd 2.4 if you want. Here's the patch that allows mod_fastcgi to build for httpd 2.4: https://github.com/ceph/mod_fastcgi/pull/1

I know this situation isn't ideal, and we're continuing to pursue other options besides mod_fastcgi.

Actions #9

Updated by Sage Weil about 9 years ago

  • Status changed from Need More Info to Resolved

mod-proxy-fcgi

Actions

Also available in: Atom PDF