Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4467910B5D for ; Thu, 10 Oct 2013 22:57:42 +0000 (UTC) Received: (qmail 20254 invoked by uid 500); 10 Oct 2013 22:57:42 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 20202 invoked by uid 500); 10 Oct 2013 22:57:42 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 20194 invoked by uid 500); 10 Oct 2013 22:57:42 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 20189 invoked by uid 99); 10 Oct 2013 22:57:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2013 22:57:42 +0000 Date: Thu, 10 Oct 2013 22:57:41 +0000 (UTC) From: "Kelvin Edmison (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4853) Cloudstack 4.2.0 fresh install ignores local mirror MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kelvin Edmison updated CLOUDSTACK-4853: --------------------------------------- Description: I am in a corporate environment behind a proxy, and cloudstack installation is failing because it can't reach cloudstack.apt-get.eu even though it should be using my local mirror. Steps to reproduce: 1) create mirror of cloudstack.apt-get.eu/rhel/4.2 2) create repo file for cloudstack, pointing at newly created mirror. 3) sinkhole cloudstack.apt-get.eu by putting it in /etc/hosts as 127.0.0.1 4) yum install cloudstack-management Results: local mirror is ignored, cloudstack-apt-get.eu is contacted, and installation fails. output snippet: {noformat} [root@ks-cloud1 ~]# yum install cloudstack-management Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cloudstack-management.x86_64 0:4.2.0-1.el6 will be installed --> Processing Dependency: cloudstack-awsapi = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 --> Processing Dependency: cloudstack-common = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 --> Running transaction check ---> Package cloudstack-awsapi.x86_64 0:4.2.0-1.el6 will be installed ---> Package cloudstack-common.x86_64 0:4.2.0-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================== Installing: cloudstack-management x86_64 4.2.0-1.el6 cloudstack 64 M Installing for dependencies: cloudstack-awsapi x86_64 4.2.0-1.el6 cloudstack 86 M cloudstack-common x86_64 4.2.0-1.el6 cloudstack 86 M Transaction Summary ================================================================================================================================== Install 3 Package(s) Total download size: 236 M Installed size: 283 M Is this ok [y/N]: y Downloading Packages: http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-common-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-management-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. Error Downloading Packages: cloudstack-common-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-common-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" cloudstack-management-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-management-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" cloudstack-awsapi-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" {noformat} Note: prior to doing this, I did a yum clean all. After doing so, I found entries in /var/cache/yum/x86_64/6/cloudstack/repomd.xml that reference cloudstack.apt-get.eu. Perhaps these are somehow being used to override my local mirror. Workaround: use proxy= directive in cloudstack.repo to specify a proxy, so that the cloudstack packages can be downloaded from the public internet despite my repo config. was: I am in a corporate environment behind a proxy, and cloudstack installation is failing because it can't reach cloudstack.apt-get.eu even though it should be using my local mirror. Steps to reproduce: 1) create mirror of cloudstack.apt-get.eu/rhel/4.2 2) create repo file for cloudstack, pointing at newly created mirror. 3) sinkhole cloudstack.apt-get.eu by putting it in /etc/hosts as 127.0.0.1 4) yum install cloudstack-management Results: local mirror is ignored, cloudstack-apt-get.eu is contacted, and installation fails. output snippet: ---------------------- [root@ks-cloud1 ~]# yum install cloudstack-management Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cloudstack-management.x86_64 0:4.2.0-1.el6 will be installed --> Processing Dependency: cloudstack-awsapi = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 --> Processing Dependency: cloudstack-common = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 --> Running transaction check ---> Package cloudstack-awsapi.x86_64 0:4.2.0-1.el6 will be installed ---> Package cloudstack-common.x86_64 0:4.2.0-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================== Installing: cloudstack-management x86_64 4.2.0-1.el6 cloudstack 64 M Installing for dependencies: cloudstack-awsapi x86_64 4.2.0-1.el6 cloudstack 86 M cloudstack-common x86_64 4.2.0-1.el6 cloudstack 86 M Transaction Summary ================================================================================================================================== Install 3 Package(s) Total download size: 236 M Installed size: 283 M Is this ok [y/N]: y Downloading Packages: http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-common-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-management-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror. Error Downloading Packages: cloudstack-common-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-common-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" cloudstack-management-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-management-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" cloudstack-awsapi-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm from cloudstack error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" ---------------------- Note: prior to doing this, I did a yum clean all. After doing so, I found entries in /var/cache/yum/x86_64/6/cloudstack/repomd.xml that reference cloudstack.apt-get.eu. Perhaps these are somehow being used to override my local mirror. Workaround: use proxy= directive in cloudstack.repo to specify a proxy, so that the cloudstack packages can be downloaded from the public internet despite my repo config. > Cloudstack 4.2.0 fresh install ignores local mirror > --------------------------------------------------- > > Key: CLOUDSTACK-4853 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4853 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Install and Setup > Affects Versions: 4.2.0 > Environment: CentOS (probably all RHEL-based) > Reporter: Kelvin Edmison > Priority: Minor > Labels: install,, repo > > I am in a corporate environment behind a proxy, and cloudstack installation is failing because it can't reach cloudstack.apt-get.eu even though it should be using my local mirror. > Steps to reproduce: > 1) create mirror of cloudstack.apt-get.eu/rhel/4.2 > 2) create repo file for cloudstack, pointing at newly created mirror. > 3) sinkhole cloudstack.apt-get.eu by putting it in /etc/hosts as 127.0.0.1 > 4) yum install cloudstack-management > Results: local mirror is ignored, cloudstack-apt-get.eu is contacted, and installation fails. > output snippet: > {noformat} > [root@ks-cloud1 ~]# yum install cloudstack-management > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > Setting up Install Process > Resolving Dependencies > --> Running transaction check > ---> Package cloudstack-management.x86_64 0:4.2.0-1.el6 will be installed > --> Processing Dependency: cloudstack-awsapi = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 > --> Processing Dependency: cloudstack-common = 4.2.0 for package: cloudstack-management-4.2.0-1.el6.x86_64 > --> Running transaction check > ---> Package cloudstack-awsapi.x86_64 0:4.2.0-1.el6 will be installed > ---> Package cloudstack-common.x86_64 0:4.2.0-1.el6 will be installed > --> Finished Dependency Resolution > Dependencies Resolved > ================================================================================================================================== > Package Arch Version Repository Size > ================================================================================================================================== > Installing: > cloudstack-management x86_64 4.2.0-1.el6 cloudstack 64 M > Installing for dependencies: > cloudstack-awsapi x86_64 4.2.0-1.el6 cloudstack 86 M > cloudstack-common x86_64 4.2.0-1.el6 cloudstack 86 M > Transaction Summary > ================================================================================================================================== > Install 3 Package(s) > Total download size: 236 M > Installed size: 283 M > Is this ok [y/N]: y > Downloading Packages: > http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > Trying other mirror. > http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-common-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > Trying other mirror. > http://cloudstack.apt-get.eu/rhel/4.2/cloudstack-management-4.2.0-1.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > Trying other mirror. > Error Downloading Packages: > cloudstack-common-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-common-4.2.0-1.el6.x86_64.rpm from cloudstack > error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > cloudstack-management-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-management-4.2.0-1.el6.x86_64.rpm from cloudstack > error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > cloudstack-awsapi-4.2.0-1.el6.x86_64: failed to retrieve cloudstack-awsapi-4.2.0-1.el6.x86_64.rpm from cloudstack > error was [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" > {noformat} > Note: prior to doing this, I did a yum clean all. After doing so, I found entries in /var/cache/yum/x86_64/6/cloudstack/repomd.xml that reference cloudstack.apt-get.eu. Perhaps these are somehow being used to override my local mirror. > Workaround: use proxy= directive in cloudstack.repo to specify a proxy, so that the cloudstack packages can be downloaded from the public internet despite my repo config. -- This message was sent by Atlassian JIRA (v6.1#6144)