[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-06-05 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 24.1.3-0ubuntu1~20.04.4

---
cloud-init (24.1.3-0ubuntu1~20.04.4) focal; urgency=medium

  * cherry-pick 51c6569f: fix(snapd): ubuntu do not snap refresh when
snap absent (LP: #2064132)
- fix in 24.1.3-0ubuntu1~20.04.2 did not handle package_upgrade case

cloud-init (24.1.3-0ubuntu1~20.04.3) focal; urgency=medium

  * d/p/cli-retain-file-argument-as-main-cmd-arg.patch: retain ability to
provide -f or --file on the command line before cloud-init subcommands
init, modules or single (LP: #2064300)

cloud-init (24.1.3-0ubuntu1~20.04.2) focal; urgency=medium

  * cherry-pick a6f7577d: bug(package_update): avoid snap refresh in
images without (LP: #2064132)

 -- Chad Smith   Fri, 03 May 2024 15:38:58
-0600

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-06-05 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 24.1.3-0ubuntu1~22.04.4

---
cloud-init (24.1.3-0ubuntu1~22.04.4) jammy; urgency=medium

  * cherry-pick 51c6569f: fix(snapd): ubuntu do not snap refresh when
snap absent (LP: #2064132)
- fix in 24.1.3-0ubuntu1~20.04.2 did not handle package_upgrade case

cloud-init (24.1.3-0ubuntu1~22.04.3) jammy; urgency=medium

  * d/p/cli-retain-file-argument-as-main-cmd-arg.patch: retain ability to
provide -f or --file on the command line before cloud-init subcommands
init, modules or single (LP: #2064300)

cloud-init (24.1.3-0ubuntu1~22.04.2) jammy; urgency=medium

  * cherry-pick a6f7577d: bug(package_update): avoid snap refresh in
images without (LP: #2064132)

 -- Chad Smith   Fri, 03 May 2024 20:20:35
-0600

** Changed in: cloud-init (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

** Changed in: cloud-init (Ubuntu Focal)
   Status: Fix Committed => Fix Released

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-06-05 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 24.1.3-0ubuntu1~23.10.5

---
cloud-init (24.1.3-0ubuntu1~23.10.5) mantic; urgency=medium

  * cherry-pick 51c6569f: fix(snapd): ubuntu do not snap refresh when
snap absent (LP: #2064132)
- fix in 24.1.3-0ubuntu1~23.10.3 did not handle package_upgrade case

cloud-init (24.1.3-0ubuntu1~23.10.4) mantic; urgency=medium

  * d/p/cli-retain-file-argument-as-main-cmd-arg.patch: retain ability to
provide -f or --file on the command line before cloud-init subcommands
init, modules or single (LP: #2064300)

cloud-init (24.1.3-0ubuntu1~23.10.3) mantic; urgency=medium

  * cherry-pick a6f7577d: bug(package_update): avoid snap refresh in
images without (LP: #2064132)

 -- Chad Smith   Fri, 03 May 2024 20:15:18
-0600

** Changed in: cloud-init (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-10 Thread Chad Smith
# verification complete mantic #
csmith@midtown:~$  lxc launch ubuntu-daily:mantic test-m
Creating test-m
Starting test-m   file push myfile.yaml 
csmith@midtown:~$  lxc file push myfile.yaml test-m/
csmith@midtown:~$ lxc file push setup_proposed.sh test-m/
csmith@midtown:~$ lxc exec test-m bash
root@test-m:~#  hostname # confirm test-jammy from standard meta-data
test-m
root@test-m:~# cloud-init clean # allow running init stage again
root@test-m:~# # confirm usage failure
root@test-m:~# cloud-init -f /myfile.yaml init
usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force] 
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
 ...
/usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' 
(choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 
'devel', 'collect-logs', 'clean', 'status', 'schema')
root@test-m:~#  # upgrade cloud-init to confirm --file support
root@test-m:~# sh /setup_proposed.sh
deb http://archive.ubuntu.com/ubuntu mantic-proposed main
Hit:1 http://archive.ubuntu.com/ubuntu mantic InRelease
Get:2 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Get:3 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu mantic-proposed InRelease [256 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages [15.2 MB]
Get:7 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 
[355 kB]
Get:8 http://archive.ubuntu.com/ubuntu mantic/universe Translation-en [5951 kB]
Get:9 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata 
[3793 kB]
Get:10 http://security.ubuntu.com/ubuntu mantic-security/main Translation-en 
[91.5 kB]
Get:11 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 
Packages [274 kB]
Get:12 http://archive.ubuntu.com/ubuntu mantic/universe amd64 c-n-f Metadata 
[303 kB]
Get:13 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages [239 
kB]
Get:14 http://archive.ubuntu.com/ubuntu mantic/multiverse Translation-en [113 
kB]
Get:15 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 DEP-11 Metadata 
[31.6 kB]
Get:16 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 c-n-f Metadata 
[8356 B]
Get:17 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [415 
kB]
Get:18 http://archive.ubuntu.com/ubuntu mantic-updates/main Translation-en [110 
kB]
Get:19 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages 
[360 kB]
Get:20 http://archive.ubuntu.com/ubuntu mantic-updates/universe Translation-en 
[138 kB]
Get:21 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 DEP-11 
Metadata [3864 B]
Get:22 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 c-n-f 
Metadata [820 B]
Get:23 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 
Packages [8568 B]
Get:24 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse 
Translation-en [2824 B]
Get:25 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 c-n-f 
Metadata [232 B]
Get:26 http://archive.ubuntu.com/ubuntu mantic-backports/main amd64 c-n-f 
Metadata [112 B]
Get:27 http://archive.ubuntu.com/ubuntu mantic-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:28 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 
Packages [3940 B]
Get:29 http://archive.ubuntu.com/ubuntu mantic-backports/universe 
Translation-en [1392 B]
Get:30 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 c-n-f 
Metadata [116 B]
Get:31 http://security.ubuntu.com/ubuntu mantic-security/universe 
Translation-en [115 kB]
Get:32 http://archive.ubuntu.com/ubuntu mantic-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Get:33 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 Packages 
[84.9 kB]
Get:34 http://archive.ubuntu.com/ubuntu mantic-proposed/main Translation-en 
[23.9 kB]
Get:35 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 DEP-11 
Metadata [7592 B]
Get:36 http://archive.ubuntu.com/ubuntu mantic-proposed/main amd64 c-n-f 
Metadata [1028 B]
Get:37 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 DEP-11 
Metadata [3860 B]
Get:38 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 c-n-f 
Metadata [788 B]
Get:39 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 
Packages [5588 B]
Get:40 http://security.ubuntu.com/ubuntu mantic-security/multiverse 
Translation-en [1732 B]
Get:41 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 c-n-f 
Metadata [232 B]
Fetched 28.2 MB in 3s (8593 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
Need to get 598 kB of archives.
After this 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-10 Thread Chad Smith
 test verification complete jammy 
csmith@midtown:~$  lxc launch ubuntu-daily:jammy test-jammy
Creating test-jammy
Starting test-jammy
csmith@midtown:~$ lxc file push myfile.yaml test-jammy/
csmith@midtown:~$  lxc file push setup_proposed.sh test-jammy/  
 
csmith@midtown:~$   
 
csmith@midtown:~$ lxc exec test-jammy bash
root@test-jammy:~# hostname # confirm test-jammy from standard meta-data
test-jammy
root@test-jammy:~# cloud-init clean # allow running init stage again
root@test-jammy:~#  # confirm usage failure
root@test-jammy:~#  cloud-init -f /myfile.yaml init
usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force] 
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
 ...
/usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' 
(choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 
'devel', 'collect-logs', 'clean', 'status', 'schema')
root@test-jammy:~# # upgrade cloud-init to confirm --file support
root@test-jammy:~# sh /setup_proposed.sh 
deb http://archive.ubuntu.com/ubuntu jammy-proposed main
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 
[1427 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [247 
kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 
Packages [1807 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/restricted 
Translation-en [307 kB]
Get:11 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages 
[852 kB]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en 
[164 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f 
Metadata [16.8 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 
Packages [37.2 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/multiverse 
Translation-en [7588 B]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f 
Metadata [260 B]
Get:17 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata 
[286 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata 
[8372 B]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1638 
kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [307 
kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages 
[1864 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en 
[316 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 
[1074 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en 
[245 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f 
Metadata [22.1 kB]
Get:29 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages 
[42.7 kB]
Get:30 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en 
[10.4 kB]
Get:31 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f 
Metadata [472 B]
Get:32 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages 
[67.1 kB]
Get:33 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en 
[11.0 kB]
Get:34 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f 
Metadata [388 B]
Get:35 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:36 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages 
[27.2 kB]
Get:37 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en 
[16.2 kB]
Get:38 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f 
Metadata [644 B]
Get:39 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Get:40 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages [227 
kB]
Get:41 http://archive.ubuntu.com/ubuntu jammy-proposed/main Translation-en 
[51.1 kB]
Get:42 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 c-n-f 
Metadata [2740 B]
Fetched 31.8 MB in 3s (10.9 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-10 Thread Chad Smith
Thanks Timo!
 focal verification complete =
csmith@midtown:~$  lxc launch ubuntu-daily:focal test-focal
Creating test-focal
Starting test-focal
csmith@midtown:~$ lxc exec test-focal bash
root@test-focal:~# hostname # confirm test-focal from standard meta-data
test-focal
root@test-focal:~#  cloud-init clean # allow running init stage again
root@test-focal:~# exit
csmith@midtown:~$ lxc file push myfile.yaml test-focal/
csmith@midtown:~$ lxc exec test-focal bash
root@test-focal:~#  apt update; apt install cloud-init -y; cloud-init --version
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 
[2919 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 
kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata 
[9136 B]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3296 
kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [521 
kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages 
[2916 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en 
[407 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 
[1185 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en 
[284 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f 
Metadata [25.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages 
[26.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en 
[7880 B]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f 
Metadata [620 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages 
[45.7 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en 
[16.3 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f 
Metadata [1420 B]
Get:25 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:26 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages 
[25.0 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en 
[16.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f 
Metadata [880 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Get:30 http://security.ubuntu.com/ubuntu focal-security/main Translation-en 
[438 kB]
Get:31 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 
Packages [2799 kB]
Get:32 http://security.ubuntu.com/ubuntu focal-security/restricted 
Translation-en [391 kB]
Get:33 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages 
[959 kB]
Get:34 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en 
[202 kB]
Get:35 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f 
Metadata [19.2 kB]
Get:36 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 
Packages [24.0 kB]
Get:37 http://security.ubuntu.com/ubuntu focal-security/multiverse 
Translation-en [5904 B]
Get:38 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f 
Metadata [548 B]
Fetched 31.1 MB in 4s (8328 kB/s)   
Reading package lists... Done
Building dependency tree   
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree   
Reading state information... Done
cloud-init is already the newest version (24.1.3-0ubuntu1~20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
/usr/bin/cloud-init 24.1.3-0ubuntu1~20.04.1
root@test-focal:~## confirm usage failure
root@test-focal:~#  cloud-init -f /myfile.yaml init

usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force]
   
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
   ...
/usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' 
(choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 
'devel', 'collect-logs', 'clean', 'status', 'schema')
root@test-focal:~# exit
csmith@midtown:~$ lxc file push setup_proposed.sh test-focal/
csmith@midtown:~$ lxc 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-10 Thread Timo Aaltonen
Hello Brett, or anyone else affected,

Accepted cloud-init into jammy-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/cloud-
init/24.1.3-0ubuntu1~22.04.4 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-done-jammy
** Tags added: verification-needed-jammy

** Tags removed: verification-done-focal
** Tags added: verification-needed-focal

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-10 Thread Timo Aaltonen
Hello Brett, or anyone else affected,

Accepted cloud-init into mantic-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/cloud-
init/24.1.3-0ubuntu1~23.10.5 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-done verification-done-mantic
** Tags added: verification-needed verification-needed-mantic

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-03 Thread Chad Smith
 mantic verification complete 
csmith@midtown:~$ lxc launch ubuntu-daily:mantic test-mantic
Creating test-mantic
Starting test-mantic
csmith@midtown:~$ lxc file push myfile.yaml test-mantic/
csmith@midtown:~$ lxc file push setup_proposed.sh test-mantic/
csmith@midtown:~$ lxc exec test-mantic bash
root@test-mantic:~# apt update; apt install cloud-init -y; cloud-init --version
Hit:1 http://archive.ubuntu.com/ubuntu mantic InRelease
Get:2 http://security.ubuntu.com/ubuntu mantic-security InRelease [109 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic-updates InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu mantic-backports InRelease [90.8 kB]
Get:5 http://security.ubuntu.com/ubuntu mantic-security/main amd64 Packages 
[352 kB]
Get:6 http://archive.ubuntu.com/ubuntu mantic/universe amd64 Packages [15.2 MB]
Get:7 http://security.ubuntu.com/ubuntu mantic-security/main Translation-en 
[90.8 kB]
Get:8 http://security.ubuntu.com/ubuntu mantic-security/restricted amd64 
Packages [337 kB]
Get:9 http://security.ubuntu.com/ubuntu mantic-security/restricted 
Translation-en [60.3 kB]  
Get:10 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 
Packages [273 kB]  
Get:11 http://security.ubuntu.com/ubuntu mantic-security/universe 
Translation-en [114 kB]
Get:12 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 DEP-11 
Metadata [3860 B]
Get:13 http://security.ubuntu.com/ubuntu mantic-security/universe amd64 c-n-f 
Metadata [788 B]
Get:14 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 
Packages [5588 B]
Get:15 http://security.ubuntu.com/ubuntu mantic-security/multiverse 
Translation-en [1732 B]
Get:16 http://security.ubuntu.com/ubuntu mantic-security/multiverse amd64 c-n-f 
Metadata [232 B] 
Get:17 http://archive.ubuntu.com/ubuntu mantic/universe Translation-en [5951 
kB] 
Get:18 http://archive.ubuntu.com/ubuntu mantic/universe amd64 DEP-11 Metadata 
[3793 kB]
Get:19 http://archive.ubuntu.com/ubuntu mantic/universe amd64 c-n-f Metadata 
[303 kB]
Get:20 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 Packages [239 
kB]
Get:21 http://archive.ubuntu.com/ubuntu mantic/multiverse Translation-en [113 
kB]
Get:22 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 DEP-11 Metadata 
[31.6 kB]
Get:23 http://archive.ubuntu.com/ubuntu mantic/multiverse amd64 c-n-f Metadata 
[8356 B]
Get:24 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 Packages [413 
kB]
Get:25 http://archive.ubuntu.com/ubuntu mantic-updates/main Translation-en [110 
kB]
Get:26 http://archive.ubuntu.com/ubuntu mantic-updates/restricted amd64 
Packages [354 kB]
Get:27 http://archive.ubuntu.com/ubuntu mantic-updates/restricted 
Translation-en [62.7 kB]
Get:28 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 Packages 
[357 kB]
Get:29 http://archive.ubuntu.com/ubuntu mantic-updates/universe Translation-en 
[138 kB]
Get:30 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 DEP-11 
Metadata [3864 B]
Get:31 http://archive.ubuntu.com/ubuntu mantic-updates/universe amd64 c-n-f 
Metadata [820 B]
Get:32 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 
Packages [8568 B]
Get:33 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse 
Translation-en [2824 B]
Get:34 http://archive.ubuntu.com/ubuntu mantic-updates/multiverse amd64 c-n-f 
Metadata [232 B]
Get:35 http://archive.ubuntu.com/ubuntu mantic-backports/main amd64 c-n-f 
Metadata [112 B]
Get:36 http://archive.ubuntu.com/ubuntu mantic-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:37 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 
Packages [3936 B]
Get:38 http://archive.ubuntu.com/ubuntu mantic-backports/universe 
Translation-en [1392 B]
Get:39 http://archive.ubuntu.com/ubuntu mantic-backports/universe amd64 c-n-f 
Metadata [116 B]
Get:40 http://archive.ubuntu.com/ubuntu mantic-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Fetched 28.6 MB in 5s (5810 kB/s)  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
18 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 597 kB of archives.
After this operation, 55.3 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 cloud-init all 
24.1.3-0ubuntu1~23.10.2 [597 kB]
Fetched 597 kB in 0s (1535 kB/s)   
Preconfiguring packages ...
(Reading database ... 33578 files and directories currently installed.)
Preparing to unpack .../cloud-init_24.1.3-0ubuntu1~23.10.2_all.deb ...
Unpacking cloud-init (24.1.3-0ubuntu1~23.10.2) over (23.4.4-0ubuntu0~23.10.1) 
...
Setting up cloud-init (24.1.3-0ubuntu1~23.10.2) ...
Installing new version of config file 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-03 Thread Chad Smith
= jammy verification complete 
csmith@midtown:~$ lxc launch ubuntu-daily:jammy test-jammy
Creating test-jammy
Starting test-jammy
csmith@midtown:~$ lxc file push myfile.yaml test-jammy/
csmith@midtown:~$ lxc file push setup_proposed.sh test-jammy/
csmith@midtown:~$ lxc exec test-jammy bash
root@test-jammy:~# hostname # confirm test-jammy from standard meta-data
test-jammy
root@test-jammy:~#  cloud-init clean # allow running init stage again
root@test-jammy:~# # confirm usage failure
root@test-jammy:~# cloud-init -f /myfile.yaml init
usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force]
   
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
   ...
/usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' 
(choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 
'devel', 'collect-logs', 'clean', 'status', 'schema')
root@test-jammy:~# # upgrade cloud-init to confirm --file support
root@test-jammy:~# sh /setup_proposed.sh 
deb http://archive.ubuntu.com/ubuntu jammy-proposed main
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease [270 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 
[1394 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [243 
kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata 
[286 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages 
[848 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata 
[8372 B]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1612 
kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [304 
kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en 
[311 kB]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en 
[163 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages 
[1072 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f 
Metadata [16.8 kB]
Get:21 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 
Packages [37.2 kB]
Get:22 http://security.ubuntu.com/ubuntu jammy-security/multiverse 
Translation-en [7588 B]
Get:23 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f 
Metadata [260 B]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en 
[245 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f 
Metadata [22.1 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages 
[42.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en 
[10.4 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f 
Metadata [472 B]
Get:29 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages 
[67.1 kB]
Get:30 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en 
[11.0 kB]
Get:31 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f 
Metadata [388 B]
Get:32 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:33 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages 
[27.2 kB]
Get:34 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en 
[16.2 kB]
Get:35 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f 
Metadata [644 B]
Get:36 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Get:37 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages [262 
kB]
Get:38 http://archive.ubuntu.com/ubuntu jammy-proposed/main Translation-en 
[55.7 kB]
Get:39 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 c-n-f 
Metadata [2740 B]
Fetched 27.7 MB in 3s (8312 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 560 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 cloud-init all 
24.1.3-0ubuntu1~22.04.3 [560 kB]
Fetched 560 kB in 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-03 Thread Chad Smith
 focal verification complete 
csmith@midtown:~$ lxc file push  myfile.yaml test-focal/
csmith@midtown:~$ lxc exec test-focal bash
root@test-focal:~# # confirm usage failure
root@test-focal:~# cloud-init -f /myfile.yaml init
usage: /usr/bin/cloud-init [-h] [--version] [--debug] [--force]
   
{init,modules,single,query,features,analyze,devel,collect-logs,clean,status,schema}
   ...
/usr/bin/cloud-init: error: argument subcommand: invalid choice: '/myfile.yaml' 
(choose from 'init', 'modules', 'single', 'query', 'features', 'analyze', 
'devel', 'collect-logs', 'clean', 'status', 'schema')
root@test-focal:~# exit
csmith@midtown:~$ # upgrade cloud-init to proposed
csmith@midtown:~$ lxc file push setup_proposed.sh test-focal/
csmith@midtown:~$  lxc exec test-focal -- sh /setup_proposed.sh
deb http://archive.ubuntu.com/ubuntu focal-proposed main
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 
[2892 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-proposed InRelease [267 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages 
[957 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en 
[201 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f 
Metadata [19.2 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 
Packages [24.0 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse 
Translation-en [5904 B]
Get:13 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f 
Metadata [548 B]
Get:14 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata 
[265 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata 
[9136 B]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3269 
kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 
[1183 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en 
[284 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f 
Metadata [25.7 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages 
[26.2 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en 
[7880 B]
Get:25 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f 
Metadata [620 B]
Get:26 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages 
[45.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en 
[16.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f 
Metadata [1420 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f 
Metadata [116 B]
Get:30 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages 
[25.0 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en 
[16.3 kB]
Get:32 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f 
Metadata [880 B]
Get:33 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f 
Metadata [116 B]
Get:34 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages [326 
kB]
Get:35 http://archive.ubuntu.com/ubuntu focal-proposed/main Translation-en 
[66.2 kB]
Get:36 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 c-n-f 
Metadata [1324 B]
Fetched 24.3 MB in 3s (7769 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  cloud-init
1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Need to get 563 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 cloud-init all 
24.1.3-0ubuntu1~20.04.3 [563 kB]
Fetched 563 kB in 0s (1435 kB/s)
Preconfiguring packages ...
(Reading database ... 32192 files and directories currently installed.)
Preparing to unpack .../cloud-init_24.1.3-0ubuntu1~20.04.3_all.deb ...
Unpacking cloud-init (24.1.3-0ubuntu1~20.04.3) over (24.1.3-0ubuntu1~20.04.1) 
...
Setting up cloud-init (24.1.3-0ubuntu1~20.04.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for rsyslog (8.2001.0-1ubuntu1.3) ...
csmith@midtown:~$# Assert cloud-init -f  

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-02 Thread James Falcon
** Description changed:

  [ Impact ]
  
-  * Environments or scripts which directly call cloud-init subcommands and
-provide an optional -f or --file argument to inject supplemental
-configuration after first boot will receive usage errors on the command
-line which will break any supplemental scripted setup of configuration.
-This affects some platforms which may provide secondary configuration after
-cloud-init's first boot.
+  * Environments or scripts which directly call cloud-init subcommands and
+    provide an optional -f or --file argument to inject supplemental
+    configuration after first boot will receive usage errors on the command
+    line which will break any supplemental scripted setup of configuration.
+    This affects some platforms which may provide secondary configuration after
+    cloud-init's first boot.
  
-Workaround:
-Upstream cloud-init requires -f/--file arguments come after the
-subcommand instead of before. Change the order of these parameters, placing
--f or --file after the subcommand as a workaround while awaiting an SRU 
fix.
+    Workaround:
+    Upstream cloud-init requires -f/--file arguments come after the
+    subcommand instead of before. Change the order of these parameters, placing
+    -f or --file after the subcommand as a workaround while awaiting an SRU 
fix.
  
-  * Direct calls to cloud-init init, modules or single are atypical for most
-deployments because automated configuration generally relies on
-cloud-init systemd units running the various boot stages invoking the
-cloud-init CLI directly. But, to better support custom environments which
-need to provide an additional layer of configuration after first boot, this
-change in behavior is something we would like to resolve on stable 
releases.
+  * Direct calls to cloud-init init, modules or single are atypical for most
+    deployments because automated configuration generally relies on
+    cloud-init systemd units running the various boot stages invoking the
+    cloud-init CLI directly. But, to better support custom environments which
+    need to provide an additional layer of configuration after first boot, this
+    change in behavior is something we would like to resolve on stable 
releases.
  
  [ Test Plan ]
  
-  * Launch daily images in LXC and confirm usage failure inf cloud-init 24.1.3
-when providing supplemental file config before the init subcommand:
-cloud-init -f myfile.yaml init
+  * Launch daily images in LXC and confirm usage failure inf cloud-init 24.1.3
+    when providing supplemental file config before the init subcommand:
+    cloud-init -f myfile.yaml init
  
-$ cat > myfile.yaml < myfile.yaml < setup_proposed.sh  setup_proposed.sh 

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-02 Thread Andreas Hasenack
I'm told that for noble and later, the change in behavior that this SRU
is reverting will not be applied, as there it's intended. I'll thus make
this clear by adding noble and Oracular tasks and marking them as
invalid.

** Also affects: cloud-init (Ubuntu Noble)
   Importance: Undecided
   Status: New

** Also affects: cloud-init (Ubuntu Oracular)
   Importance: Undecided
   Status: New

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

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

** Changed in: cloud-init (Ubuntu Mantic)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-mantic

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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

[Bug 2064300] Re: cli behavior changed for commands passing optional --file argument to cloud-init init, modules or single subcommand

2024-05-01 Thread Chad Smith
** Summary changed:

- cli behavior changed
+ cli behavior changed for commands passing optional --file argument to 
cloud-init init, modules or single subcommand

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

Title:
  cli behavior changed for commands passing optional --file argument to
  cloud-init init, modules or single subcommand

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


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