Locally Hosted Ubuntu repository not working with Fuel 6.1

Asked by Hugh Ma

I have an rsynced mirror of the entire ubuntu repos (900gb+) locally hosted on a server. Apt-get source.list updates never had issue pulling from this mirror. However, when I tried to change the Fuel 6.1 settings to use the mirror for the ubuntu repo, it failed. I tried pointing fuel-createmirror common.cfg to point to the mirror and it threw up error saying it does not support rsync protocol.
I would expect that if it works with ubuntu apt-get it should work with Fuel, but maybe I'm wrong?

Question information

Language:
English Edit question
Status:
Expired
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michal Rostecki (mrostecki) said :
#1

Hi,

Could you provide the content of your common.cfg to see how you provided this mirror?

Thanks,
Michal

Revision history for this message
Hugh Ma (hughkma) said :
#2

# Base directory for mirror
MIRROR_ROOT="/var/www/nailgun"

# Configure upstream mirrors
# NOTE: only rsync mirrors are supported by the script!
# Please refer to https://launchpad.net/ubuntu/+archivemirrors for
# official upstream Ubuntu mirrors list
#
# Format:
# MIRROR_{DISTRO}_HOST - mirror hostname, i.e. "archive.ubuntu.com"
# MIRROR_{DISTRO}_DIR - source directory (rsync module name), i.e. "ubuntu"
# MIRROR_{DISTRO}_HTTPDIR - HTTP URL of mirror (usually equals to MIRROR_{DISTRO}_DIR)
# {DISTRO} - could be one of: UBUNTU, MOS_UBUNTU

# Upstream Ubuntu packages
MIRROR_UBUNTU_HOST="archive.ubuntu.com"
MIRROR_UBUNTU_DIR="ubuntu"
MIRROR_UBUNTU_HTTPDIR=$MIRROR_UBUNTU_DIR

I only replaced "archive.ubuntu.com" with "10.115.20.52"

doing so for regular ubuntu machines in /etc/apt/source.list works.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.