[
https://issues.apache.org/jira/browse/CLOUDSTACK-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohit Yadav closed CLOUDSTACK-4853.
-----------------------------------
Resolution: Cannot Reproduce
old issue, not seen now
> 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:
> ----------
> [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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)