Upload the image & create the key:

$ openstack image create --public --container-format bare --disk-format qcow2 
--file ./noble-server-cloudimg-amd64.img noble-server-cloudimg-amd64
...
$ os key create --private-key heat_key heat_key
...


### Verification Done Noble ###

ubuntu@juju-3d34e3-caracal-00414188-2:~$ apt-cache policy python3-heat
python3-heat:
  Installed: 1:22.0.1-0ubuntu1.1
  Candidate: 1:22.0.1-0ubuntu1.1
  Version table:
 *** 1:22.0.1-0ubuntu1.1 100
        100 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu 
noble-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:22.0.1-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu 
noble-updates/main amd64 Packages
     1:22.0.0-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu 
noble/main amd64 Packages

ubuntu@stg-reproducer-whershberger-project-bastion:~/heat-00414188$ os stack 
create -t user-data-template.yaml ud0
+---------------------+----------------------------------------+
| Field               | Value                                  |
+---------------------+----------------------------------------+
| id                  | c6047892-5aa3-416e-bf57-e0b407541f35   |
| stack_name          | ud0                                    |
| description         | Deploy an instance with some user-data |
| creation_time       | 2025-07-24T20:50:42Z                   |
| updated_time        | None                                   |
| stack_status        | CREATE_IN_PROGRESS                     |
| stack_status_reason | Stack CREATE started                   |
+---------------------+----------------------------------------+
ubuntu@stg-reproducer-whershberger-project-bastion:~/heat-00414188$ os server 
list
+--------------------------------------+---------------------------------+--------+----------------------------------------------+-----------------------------+----------+
| ID                                   | Name                            | 
Status | Networks                                     | Image                   
    | Flavor   |
+--------------------------------------+---------------------------------+--------+----------------------------------------------+-----------------------------+----------+
| 5576f6df-b64a-4de2-be05-50f8d667bff0 | ud0-user-data-inst-tm4gn4v44xt4 | 
ACTIVE | ext_net=10.149.109.97; private=192.168.21.98 | 
noble-server-cloudimg-amd64 | m1.small |
+--------------------------------------+---------------------------------+--------+----------------------------------------------+-----------------------------+----------+
ubuntu@stg-reproducer-whershberger-project-bastion:~/heat-00414188$ ssh -i 
heat_key ubuntu@10.149.109.97
The authenticity of host '10.149.109.97 (10.149.109.97)' can't be established.
ED25519 key fingerprint is SHA256:NxqNVfRVl9vL6AAdKcShhUQj7CoVo1JRzLJkRbnKJ/c.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.149.109.97' (ED25519) to the list of known hosts.

... motd elided

ubuntu@ud0-user-data-inst-tm4gn4v44xt4:~$ cloud-init status -w
status: done
ubuntu@ud0-user-data-inst-tm4gn4v44xt4:~$ echo $?
0
ubuntu@ud0-user-data-inst-tm4gn4v44xt4:~$ cat /usr/local/share/hello/hello.txt
Hello, world!

### Verification Done Noble ###

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

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

Title:
  Incorrect shebang in loguserdata.py

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


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

Reply via email to