Hide Forgot
Description of problem: It fails to access mirror1.ops.rhcloud.com, as a consequence, the builds relying on it will always fail. This problem affects all JBoss cartridges: remote: Downloading: http://mirror1.ops.rhcloud.com/nexus/content/groups/public/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom remote: [INFO] ------------------------------------------------------------------------ remote: [INFO] BUILD FAILURE remote: [INFO] ------------------------------------------------------------------------ remote: [INFO] Total time: 3:27.382s remote: [INFO] Finished at: Tue Dec 10 06:43:50 EST 2013 remote: [INFO] Final Memory: 5M/78M remote: [INFO] ------------------------------------------------------------------------ remote: [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to nexus (http://mirror1.ops.rhcloud.com/nexus/content/groups/public): Error transferring file: Connection reset -> [Help 1] Version-Release number of selected component (if applicable): STG(devenv-stage_604) devenv-stage_604 How reproducible: always Steps to Reproduce: 1. try to download rhc client from mirror1 2. create a jboss app (jbossas, jbosseap, jbossews) 3. make some change and trigger a build via Git Actual results: The connection to the mirror1 is reset and building the JBoss app fails: remote: Downloading: http://mirror1.ops.rhcloud.com/nexus/content/groups/public/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom remote: [INFO] ------------------------------------------------------------------------ remote: [INFO] BUILD FAILURE remote: [INFO] ------------------------------------------------------------------------ remote: [INFO] Total time: 3:27.382s remote: [INFO] Finished at: Tue Dec 10 06:43:50 EST 2013 remote: [INFO] Final Memory: 5M/78M remote: [INFO] ------------------------------------------------------------------------ remote: [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to nexus (http://mirror1.ops.rhcloud.com/nexus/content/groups/public): Error transferring file: Connection reset -> [Help 1] Expected results: mirror1.ops.rhcloud.com should be reliable enough, or we could offer some alternatives automatically if one of the mirrors is down. Additional info:
mirror1.ops and mirror2.ops were updated yesterday to RHEL 6.5. Although mirror2.ops updated correctly and worked properly, mirror1.ops worked for a while and then had issues with httpd staying alive. It has now been fixed, but we are still investigating the issue. As for having more than one machine listed (having mirror2.ops would have worked) I agree with you. I do not have the java/xml skills necessary for that.
Because the servers have been fixed, I am changing the severity from high to medium. This bug is no longer blocking. I am switching this over to the cartridge component because the cartridge should be able to fail over from mirror1 to mirror2 to prevent this from happening in the future.
Based on my research there actually is no way to specify more than one url for a given mirror, or more than one mirror for a given repository. http://maven.apache.org/guides/mini/guide-mirror-settings.html "Note that there can be at most one mirror for a given repository. In other words, you cannot map a single repository to a group of mirrors that all define the same <mirrorOf> value." It's a strange limitation, but it seems like it would take a maven change to fix.