Public bug reported:

during the commissioning of a node when the install image is used for
pxe boot it uses archive.ubuntu .com for the mirror. this is fine if
your network is on the internet. in an offline  setup I have the repo
mirrored. when the installer does not find archive.ubuntu.com it prompts
for the ip of the mirror. it fails to find the mirror. however watching
the access logs for apache on which I had the mirror setup, it never
tries to access it.

the workaround was I setup dnsmasq to point archive.ubuntu.com to my
local server. all worked as expected.

a possible better solution is to have maas use apt-cacher-ng by default
to act as a the mirror. that way as more nodes are commissioned the
packages will not have to be downloaded again. this also solves my
problem since the default mirror for commissioning could be ip address
of the maas master node, if that is what one would call it.

Apt-cacher-ng also also has the ability to do complete mirrors of the
repos.

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1032183

Title:
  maas commission repository mirror

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1032183/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to