[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-27 Thread Olivier Gayot
** Tags removed: foundations-todo

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-27 Thread Olivier Gayot
No problem. Closing the tasks for Subiquity since no changes are
required.

** Changed in: subiquity (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: subiquity
   Status: New => Invalid

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-26 Thread Yao Wei
I retried these configurations in cloud-init 24.1.2-0ubuntu1 in noble
and this seems to be resolved.

Thanks, and sorry for the noise!

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-26 Thread Olivier Gayot
For the second example, I tested with cloud-init from the jammy-security
pocket (i.e., 23.1.2-0ubuntu0~22.04.1):

$ cloud-init schema --config-file test.yaml

Invalid cloud-config test.yaml
Error: Cloud config schema errors: packages.0: {'snap': ['certbot', ['juju', 
'--edge'], ['lxd', '--channel=5.15/stable']]} is not valid under any of the 
given schemas, packages.1: {'apt': ['mg']} is not valid under any of the given 
schemas

Whereas with the version of cloud-init in the jammy-updates pocket
(i.e., 23.4.4-0ubuntu0~22.04.1):

$ cloud-init schema --config-file test.yaml

Valid schema test.yaml

Yao, do you reproduce the issue on a recent version of subiquity (or
ubuntu-desktop-bootstrap) ?

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-26 Thread Olivier Gayot
Hello,

For the first example (with the users), it looks like the "home"
directive is invalid. Looking at the documentation, I think it should be
"homedir" instead. I've opened a pull request in cloud-init [1] to fix
the documented example.

Looking at the second example now.

[1] https://github.com/canonical/cloud-init/pull/5101

** Also affects: cloud-init
   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/2047796

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2047796/+subscriptions


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-25 Thread Olivier Gayot
** Tags added: foundations-todo

** Also affects: subiquity
   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/2047796

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

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


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-22 Thread Olivier Gayot
** Changed in: subiquity (Ubuntu)
 Assignee: (unassigned) => Olivier Gayot (ogayot)

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

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


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

[Bug 2047796] Re: autoinstall: user-data validation fails for users or packages if they contain list of object

2024-03-17 Thread David Collantes
Is this on its way to be fixed?

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

Title:
  autoinstall: user-data validation fails for users or packages if they
  contain list of object

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


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