| Summary: | Installation fails with Could not find rake-0.9.2 in any of the sources and ends up with inconsistent machine | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Šimon Lukašík <slukasik> |
| Component: | Infrastructure | Assignee: | Mike McCune <mmccune> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | lzap, mmccune |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-22 17:49:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 747354 | ||
Working on cleaning a good portion of the above so you don't have to ever run 'bundle install' after installing the RPM. Our SPEC precompiles our CSS files and assets using compass and jammit tools:
%build
echo Compiling SASS files...
compass compile
echo Generating Rails assets...
jammit
Therefore both bugs should be resolved. Please note due to bug in rack 1.1.0 the katello service is not working. The only way to start it until we fix this is:
# cd /usr/lib/katello
# su - katello -s /bin/bash -c "rails s -e production -p 3000"
commit ca97d9ad2fd90d7ab6235c83cc734b13503f171d
Author: Lukas Zapletal <lzap+git>
Date: Wed Jul 27 13:56:04 2011 +0200
production.rb now symlinked to /etc/katello/environment.rb
commit be8cf50ae0c0ab465de759b824404a4fda5226d2
Author: Lukas Zapletal <lzap+git>
Date: Wed Jul 27 11:10:52 2011 +0200
725793 - Permission denied stylesheets/fancyqueries.css
commit dd11eee1eadc6b3ce1ab8345395d566ef8436715
Author: Lukas Zapletal <lzap+git>
Date: Wed Jul 27 11:04:07 2011 +0200
725901 - Permission errors in RPM
Do not attempt to recompile SASS files in the production mode. We are going
to precompile it during the RPM build process. The /usr/lib/katello/public
wont be symlinked into the /var/lib/katello anymore.
This has been working for me. Verified, katello-0.1.84-1.git.26.51fa1e1.fc14.noarch |
Description of problem: I have followed installation instructions at https://fedorahosted.org/katello/wiki/Install And I choosed the rpm version. I've experienced failure: # service katello initdb /usr/lib/katello / (in /usr/lib/katello) Could not find rake-0.9.2 in any of the sources Try running `bundle install`. / Let's look over the fact that the output looks messy. It forces me to run: cd /usr/lib/katello bundle install but it forgets to advice me to change the directory. I don't really want to run bundle install on my Fedora box. On a Fedora default package manager is RPM. Not a gem. For example, I don't see a reason why should I want to install sqlite3 from rubygem when there is an rpm for Fedora. Compare: sqlite3-1.3.3.gem rubygem-sqlite3-1.3.3-3.fc14.x86_64.rpm The most powerful thing of today linuxes was, that they use centralized software management tool. Version-Release number of selected component (if applicable): katello-0.1.49-1.git.394.97e6a5d.fc14.noarch How reproducible: always Steps to Reproduce: 1. follow installation instruction 2. 3. Actual results: End up with installed software, which is not managed by rpm. Expected results: All the installed software should be managed by Rpm. This is how we do it in Fedora. Additional info: