Bug 834761
Summary: | Could not find mime-types-1.19 in openshift mirror | ||
---|---|---|---|
Product: | OKD | Reporter: | Xiaoli Tian <xtian> |
Component: | Containers | Assignee: | Troy Dawson <tdawson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jinzhang, rmillner |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-13 14:59:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xiaoli Tian
2012-06-23 10:32:29 UTC
It's possible that this hadn't been pulled down to our mirror, or maybe hadn't been indexed yet. But it is working for me now on a dev machine. [root@ip-10-62-90-197 ~]# gem install mime-types -v 1.19 --source http://mirror1.prod.rhcloud.com/mirror/ruby/ Fetching: mime-types-1.19.gem (100%) Successfully installed mime-types-1.19 1 gem installed Installing ri documentation for mime-types-1.19... Installing RDoc documentation for mime-types-1.19... [root@ip-10-62-90-197 ~]# Can you please try again and see if it is now working for you. Strange, I could only find these: [root@ip-10-118-86-221 ~]# gem search mime-types -r --source http://mirror1.prod.rhcloud.com/mirror/ruby/ *** REMOTE GEMS *** mime-types (1.18, 1.17.2) This issue is also reproduced when creating ruby framework on Fedora 17 with gem 0.95.4. The error message "Can't find rake-0.9.2.2" is shown . Please refer to the reproducible steps as below: 1. Install ruby-devel package and latest rails 3.2.6 on client. 2. create a domain 3. create a ruby app ruby1 4. Create a new Ruby application on new created local repo #rails new ./ruby1 5. switch to app repo ruby1 6. Generate controller #rails generate controller home index 7. create index.html.erb file under ./app/views/home dir #cat ./app/views/home/index.html.erb <h1>Hello, Rails!</h1> 8.remove public/index.html #rm public/index.html 9. add new line to file ./config/routes.rb root :to => "home#index" 10. bundle install #bundle install --deployment 11. git add all new and modified files #git add . #git add -f .bundle 12. git commit changes #git commit -m "comment" 13. git push #git push Actual result: Git push failed as it can't find rake-0.9.2.2. I am getting very confused. Are the images you are testing on in AWS or on a local machine. When this is called "local mirror" it is local to Amazon Cloud, not for local installs. If this machine is in the Amazon Cloud (AWS) please let me know which instance it is so I can look at it. If this machine is not in the Amazon Cloud (AWS) then the mirror is working as it should. OK, I am now able to reproduce the error on your machine, and now mine as well. I'm looking into the issue again. Troy I found the problem we were having. Although the fix is simple, it might take all day to finish. I'll let you know when it is completely fixed. Troy Just an update. Technically, the fix is simple. I have to rerun the gem generate_index (the full index and not an update) on the directory were we put the gems from rubygems.org. But I've ran into several scaling problems that I forgot about last time I had to do this. It should hopefully be done tomorrow. OK, It's fixed for all the mirror nodes. It's also completely fixed so that it shouldn't happen again. root@ip-10-72-13-217 ~]# gem list mime-types -V -r -s http://mirror1.prod.rhcloud.com/mirror/ruby/ *** REMOTE GEMS *** GET http://mirror1.prod.rhcloud.com/mirror/ruby/latest_specs.4.8.gz 200 OK mime-types (1.19) [root@ip-10-72-13-217 ~]# gem list mime-types -V -r -s http://mirror2.prod.rhcloud.com/mirror/ruby/ *** REMOTE GEMS *** GET http://mirror2.prod.rhcloud.com/mirror/ruby/latest_specs.4.8.gz 200 OK mime-types (1.19) [root@ip-10-72-13-217 ~]# gem search mime-types -r -s http://mirror1.prod.rhcloud.com/mirror/ruby/ *** REMOTE GEMS *** mime-types (1.19) Verified it on devenv_1876, it;s fixed # gem list mime-types -V -r -s http://mirror1.prod.rhcloud.com/mirror/ruby/ *** REMOTE GEMS *** GET http://mirror1.prod.rhcloud.com/mirror/ruby/latest_specs.4.8.gz 200 OK mime-types (1.19 |