@@ -5,38 +5,45 @@ sidebar_position: 50
5
5
6
6
# Image Manager
7
7
8
- The [ OpenStack Image Manager] ( https://pypi.org/project/openstack-image-manager/ ) is a tool for managing all
9
- images on an OpenStack environment
8
+ The [ OpenStack Image Manager] ( https://pypi.org/project/openstack-image-manager/ ) is
9
+ a tool for managing all machine images on an OpenStack environment.
10
10
11
11
## Requirements
12
12
13
- This information is only relevant for the operator of an OpenStack environment. You can skip this section if
14
- you want to use OpenStack Image Manager as a normal user and you are not an operator of an openStack environment.
13
+ ::: info
14
+
15
+ This information is only relevant for the operator of an OpenStack environment. You
16
+ can skip this section if you want to use OpenStack Image Manager as a normal user
17
+ and you are not an operator of an OpenStack environment.
15
18
16
- ### OpenStack Image Service (Glance)
19
+ :::
17
20
18
- The OpenStack Image Service (Glance) is required to upload and discover data assets that are used by other
19
- services.
21
+ The OpenStack Image Service (Glance) is required to upload and discover data assets
22
+ that are used by other services.
20
23
21
- Since this script stores many images in a single project, the Glance quota must be set accordingly high or to unlimited.
24
+ Since this script stores many images in a single project, the Glance quota must be set
25
+ accordingly high or to unlimited.
22
26
23
- ``` ini
27
+ ``` ini file="environments/kolla/files/overlays/glance/glance-api.conf"
24
28
[DEFAULT]
25
29
user_storage_quota = 1TB
26
30
```
27
31
28
- With most storage backends it makes sense to convert the imported images directly to RAW. So it is required for using Ceph and it's
29
- features too. Recited from the Ceph documentation [ QEMU and block devices] ( https://docs.ceph.com/en/latest/rbd/qemu-rbd/ ) and
32
+ With most storage backends it makes sense to convert the imported images directly to RAW.
33
+ So it is required for using Ceph and it's features too. Recited from the Ceph documentation
34
+ [ QEMU and block devices] ( https://docs.ceph.com/en/latest/rbd/qemu-rbd/ ) and
30
35
[ Block devices and OpenStack] ( https://docs.ceph.com/en/latest/rbd/rbd-openstack/ ) .
31
36
32
37
::: info
33
38
34
- The raw data format is really the only sensible format option to use with RBD. Technically, you could use other QEMU-supported formats
35
- (such as qcow2 or vmdk), but doing so would add additional overhead, and would also render the volume unsafe for virtual machine live
39
+ The raw data format is really the only sensible format option to use with RBD. Technically,
40
+ you could use other QEMU-supported formats (such as qcow2 or vmdk), but doing so would add
41
+ additional overhead, and would also render the volume unsafe for virtual machine live
36
42
migration when caching (see below) is enabled.
37
43
38
- Important Ceph doesn't support QCOW2 for hosting a virtual machine disk. Thus if you want to boot virtual machines in Ceph (ephemeral
39
- backend or boot from volume), the Glance image format must be RAW.
44
+ Important Ceph doesn't support QCOW2 for hosting a virtual machine disk. Thus if you want
45
+ to boot virtual machines in Ceph (ephemeral backend or boot from volume), the Glance image
46
+ format must be RAW.
40
47
41
48
See the [ OpenStack Glance documentation] ( https://docs.openstack.org/glance/latest/configuration/sample-configuration.html )
42
49
for more details.
@@ -45,7 +52,7 @@ for more details.
45
52
46
53
This requires the following parameter for the image import workflow.
47
54
48
- ``` ini
55
+ ``` ini file="environments/kolla/files/overlays/glance/glance-api.conf"
49
56
[taskflow_executor]
50
57
conversion_format = raw
51
58
@@ -56,18 +63,13 @@ image_import_plugins = ['image_decompression', 'image_conversion']
56
63
output_format = raw
57
64
```
58
65
59
- ### Object storage backend
60
-
61
- If the mirror functionality is used, an object storage backend is required. The use of the mirror functionality
62
- is optional and is not used by default.
63
-
64
66
## Getting started
65
67
66
68
This ** Getting started** will upload a private image to your OpenStack environment with
67
69
the help of the OpenStack Image Manager.
68
70
69
- 1 . Install the [ openstack-image-manager] ( https://pypi.org/project/openstack-image-manager/ ) package with
70
- [ pip] ( https://pypi.org/project/pip/ ) .
71
+ 1 . Install the [ openstack-image-manager] ( https://pypi.org/project/openstack-image-manager/ )
72
+ package with [ pip] ( https://pypi.org/project/pip/ ) .
71
73
72
74
``` sh
73
75
pip3 install openstack-image-manager
@@ -85,7 +87,7 @@ the help of the OpenStack Image Manager.
85
87
name = " pypi"
86
88
87
89
[packages]
88
- openstack-image-manager = " ==0.20240403 .0"
90
+ openstack-image-manager = " ==0.20250413 .0"
89
91
90
92
[dev-packages]
91
93
@@ -155,9 +157,12 @@ for all parameters. After a change to the configuration, validate it with
155
157
# ## SCS image standard
156
158
157
159
* The value of `login` is stored as `image_original_user` in the metadata of an image.
158
- * If `image_description` is not set as meta information, `image_description` is set to the name of the image.
159
- * The value of `build_date` of a specific version of an image is stored as `image_build_date` in the metadata of an image.
160
- * The value of `url` of a specific version of an image is stored as `image_source` in the metadata of an image.
160
+ * If `image_description` is not set as meta information, `image_description` is set
161
+ to the name of the image.
162
+ * The value of `build_date` of a specific version of an image is stored as `image_build_date`
163
+ in the metadata of an image.
164
+ * The value of `url` of a specific version of an image is stored as `image_source`
165
+ in the metadata of an image.
161
166
162
167
# ## Image with regular rebuilds
163
168
@@ -286,23 +291,3 @@ A full documentation about the visibility of images can be found in the **Image
286
291
* community: set ``visibility`` to ``community``
287
292
* shared: set ``visibility`` to ``shared``
288
293
* private: set ``visibility`` to ``private``
289
-
290
- # # Usage
291
-
292
- # ## Mirroring images
293
-
294
- Since the upstreams often only keep their images for a short time, we mirror most of the images on REGIO.cloud.
295
- This makes us independent of the availability of the images in the individual upstreams.
296
-
297
- # ## Updating images
298
-
299
- Some of the images are automatically updated by a [CI job](update). The latest available build at the time of the CI job execution is mirrored and
300
- made available as the current version.
301
-
302
- Currently, the following images are updated once a week (every Sunday at 0 am) :
303
-
304
- * Almalinux
305
- * CentOS
306
- * Debian
307
- * Rockylinux
308
- * Ubuntu
0 commit comments