[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-19 Thread Andres Rodriguez
For posterity, MAAS trusty configuration uses package_mirrors to change
the archive the machines should access. Such configuration does not
support specifying a key for a custom mirror.

That said, the deployed machine will end up with the correct
configuration, but the deployment ephemeral environment doesn't.

The reason this is an issue is becuase that instead of creating an
additional reposiutory with the software, a custom mirror is being
created, with additional packages, and completely re-signed.

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

Title:
  Trusty deployments fail when custom archive keys are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Christian Reis
MAAS does? I am looking at
src/maasserver/compose_preseed.py:get_archive_config() and I don't see
apt_sources anyway.

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/336284

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Scott Moser
I'm wondering if you possibly were hitting bug 1744038.

MAAS can declare (and actually, i think *does* declare) both old format
configuration of apt and new format configuration.  That would cover
trusty and later.  If you declare both, though, there is code in cloud-
init that insists they are consistent with each other.  Because
otherwise it wouldnt know which value was "correct".

I'm marking incomplete.  Can you give example of *what* is faling ?


** Changed in: cloud-init (Ubuntu)
   Status: Confirmed => Incomplete

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Andres Rodriguez
** Changed in: maas
   Status: In Progress => Triaged

** Merge proposal unlinked:
   https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/336284

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cloud-init (Ubuntu)
   Status: New => Confirmed

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Launchpad Bug Tracker
** Merge proposal linked:
   https://code.launchpad.net/~andreserl/maas/+git/maas/+merge/336284

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Andres Rodriguez
** Changed in: maas
   Status: Incomplete => In Progress

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-18 Thread Andres Rodriguez
@Kiko,

I've tested a deployment of trusty and confirm that the deployed system
does end up with the configuration of the custom repository. This is
because the configuration happens by curtin.

However, the difference between trusty and xenial is that the custom
repository is not available in the ephemeral environment, which I'm
guessing its what's affecting you.

As such, can you confirm what customizations you are doing that are
causing the deployment failure ?

** Changed in: maas
   Status: Triaged => Incomplete

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Gábor Mészáros
** Tags added: cpe-onsite

** Tags added: 4010

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Christian Reis
(Presumably because it's still accepted by cloud-init)

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Christian Reis
Note that https://help.ubuntu.com/community/CloudInit still documents
the old stanza format.

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Andres Rodriguez
** Changed in: maas
 Assignee: (unassigned) => Andres Rodriguez (andreserl)

** Changed in: maas
   Importance: Critical => High

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Blake Rouse
** Changed in: maas
   Status: New => Triaged

** Changed in: maas
   Importance: Undecided => Critical

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

Title:
  Trusty deployments fail when custom archives are configured

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

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

[Bug 1743966] Re: Trusty deployments fail when custom archives are configured

2018-01-17 Thread Christian Reis
There are at least two ways this could be fixed:

1. To backport the cloud-init change to Trusty; note that cloud-init is 
backwards-compatible and widely tested, but also widely in use
2. To have MAAS generate stanzas in both formats, selecting the right one 
according to the ephemeral environment being used.

It would be worth considering what will happen as cloud-init continues
to evolve and our LTS backlog grows due to ESM.

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

Title:
  Trusty deployments fail when custom archives are configured

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

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