-
Notifications
You must be signed in to change notification settings - Fork 364
/
i18n.py
427 lines (395 loc) · 32.6 KB
/
i18n.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
#
# Project Kimchi
#
# Copyright IBM Corp, 2015-2017
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
import gettext
_ = gettext.gettext
messages = {
'KCHAPI0001E': _('Unknown parameter %(value)s'),
'KCHAUTH0004E': _('User %(user_id)s not found with given LDAP settings.'),
'KCHPART0001E': _('Partition %(name)s does not exist in the host'),
'KCHDISK00001E': _('Error while accessing dev mapper device, %(err)s'),
'KCHDISK00002E': _('Block device not found.'),
'KCHDISK00003E': _('Block device %(device)s not found.'),
'KCHDISK00004E': _('Unable to retrieve LVM information. Details: %(err)s'),
'KCHDEVS0001E': _('Unknown "_cap" specified'),
'KCHDEVS0002E': _('"_passthrough" should be "true" or "false"'),
'KCHDEVS0003E': _('"_passthrough_affected_by" should be a device name string'),
'KCHDEVS0004E': _('"_available_only" should be "true" or "false"'),
'KCHDL0001E': _('Unable to find distro file: %(filename)s'),
'KCHDL0002E': _('Unable to parse distro file: %(filename)s. Make sure, it is a JSON file.'),
'KCHISCSI0001E': _('Unable to login to iSCSI host target %(portal)s. Details: %(err)s'),
'KCHISCSI0002E': _('Unable to login to iSCSI host %(host)s target %(target)s'),
'KCHISO0001E': _('Unable to find ISO file %(filename)s'),
'KCHISO0002E': _('The ISO file %(filename)s is not bootable'),
'KCHISO0003E': _('The ISO file %(filename)s does not have a valid El Torito boot record'),
'KCHISO0004E': _('Invalid El Torito validation entry in ISO %(filename)s'),
'KCHISO0005E': _('Invalid El Torito boot indicator in ISO %(filename)s'),
'KCHISO0006E': _('Unexpected volume type for primary volume in ISO %(filename)s'),
'KCHISO0007E': _('Bad format while reading volume descriptor in ISO %(filename)s'),
'KCHISO0008E': _("The hypervisor doesn't have permission to use this ISO %(filename)s. "
'Consider moving it under /var/lib/libvirt, or set the search permission '
"to file access control lists for '%(user)s' user if possible, or add the "
"'%(user)s' to the ISO path group, or (not recommended) 'chmod -R o+x 'path_to_iso'."
'Details: %(err)s'),
'KCHISO0009E': _('Unable to access remote ISO. Details: %(err)s'),
'KCHIMG0001E': _('Error probing image OS information: %(err)s'),
'KCHIMG0003E': _('Unable to read image file %(filename)s'),
'KCHIMG0004E': _('Image file must be an existing file on system. %(filename)s is not a valid input.'),
'KCHVM0001E': _('Virtual machine %(name)s already exists'),
'KCHVM0002E': _('Virtual machine %(name)s does not exist'),
'KCHVM0004E': _('Unable to retrieve screenshot for stopped virtual machine %(name)s'),
'KCHVM0005E': _('Remote ISO image is not supported by this server.'),
'KCHVM0006E': _('Screenshot is not supported on virtual machine %(name)s'),
'KCHVM0007E': _('Unable to create virtual machine %(name)s. Details: %(err)s'),
'KCHVM0008E': _('Unable to update virtual machine %(name)s. Details: %(err)s'),
'KCHVM0009E': _('Unable to retrieve virtual machine %(name)s. Details: %(err)s'),
'KCHVM0010E': _('Unable to connect to powered off virtual machine %(name)s.'),
'KCHVM0011E': _('Virtual machine name must be a string without slashes (/)'),
'KCHVM0012E': _('Invalid template URI %(value)s specified for virtual machine'),
'KCHVM0013E': _('Invalid storage pool URI %(value)s specified for virtual machine'),
'KCHVM0014E': _('Supported virtual machine graphics are Spice or VNC'),
'KCHVM0015E': _('Graphics address to listen on must be IPv4 or IPv6'),
'KCHVM0016E': _('Specify a template to create a virtual machine from'),
'KCHVM0019E': _('Unable to start virtual machine %(name)s. Details: %(err)s'),
'KCHVM0020E': _('Unable to power off virtual machine %(name)s. Details: %(err)s'),
'KCHVM0021E': _('Unable to delete virtual machine %(name)s. Details: %(err)s'),
'KCHVM0022E': _('Unable to reset virtual machine %(name)s. Details: %(err)s'),
'KCHVM0023E': _('User name list must be an array'),
'KCHVM0024E': _('User name must be a string'),
'KCHVM0025E': _('Group name list must be an array'),
'KCHVM0026E': _('Group name must be a string'),
'KCHVM0027E': _("User(s) '%(users)s' do not exist"),
'KCHVM0028E': _("Group(s) '%(groups)s' do not exist"),
'KCHVM0029E': _('Unable to shutdown virtual machine %(name)s. Details: %(err)s'),
'KCHVM0031E': _('The guest console password must be a string.'),
'KCHVM0032E': _('The life time for the guest console password must be a number.'),
'KCHVM0033E': _("Virtual machine '%(name)s' must be stopped before cloning it."),
'KCHVM0034E': _("Insufficient disk space to clone virtual machine '%(name)s'"),
'KCHVM0035E': _("Unable to clone VM '%(name)s'. Details: %(err)s"),
'KCHVM0036E': _('Invalid operation for non-persistent virtual machine %(name)s'),
'KCHVM0037E': _("Cannot suspend VM '%(name)s' because it is not running."),
'KCHVM0038E': _("Unable to suspend VM '%(name)s'. Details: %(err)s"),
'KCHVM0039E': _("Cannot resume VM '%(name)s' because it is not paused."),
'KCHVM0040E': _("Unable to resume VM '%(name)s'. Details: %(err)s"),
'KCHVM0041E': _('Memory assigned is higher then the maximum allowed in the host: %(maxmem)sMib.'),
'KCHVM0042E': _("Guest '%(name)s' does not support live memory update. Please, with the guest offline, set Maximum Memory with a value greater then Memory to enable this feature."),
'KCHVM0043E': _('Only increase memory is allowed in active VMs'),
'KCHVM0045E': _('There are not enough free slots to add a new memory device.'),
'KCHVM0046E': _("Host's libvirt or qemu version does not support memory devices and memory hotplug. Libvirt must be >= 1.2.14 and QEMU must be >= 2.1."),
'KCHVM0047E': _('Error attaching memory device. Details: %(error)s'),
'KCHVM0048E': _('Cannot start %(name)s. Virtual machine is already running.'),
'KCHVM0049E': _('Cannot power off %(name)s. Virtual machine is shut off.'),
'KCHVM0050E': _('Cannot shutdown %(name)s. Virtual machine is shut off.'),
'KCHVM0051E': _('Cannot reset %(name)s. Virtual machine is already shut off.'),
'KCHVM0052E': _('Boot order must be a list. Devices accepted: hd, cdrom, fd or network.'),
'KCHVM0053E': _('Bootmenu must be boolean. Values accepted: true of false.'),
'KCHVM0054E': _('Graphic type not valid. Values accepted: vnc or spice.'),
'KCHVM0055E': _('Migrate to localhost %(host)s is not allowed.'),
'KCHVM0056E': _('To migrate a virtual machine to the remote host %(host)s the user %(user)s must have password-less login to the remote host.'),
'KCHVM0057E': _('Can not migrate virtual machine %(name)s when its in %(state)s state.'),
'KCHVM0058E': _('Failed to migrate virtual machine %(name)s due error: %(err)s'),
'KCHVM0059E': _('User name of the remote server must be a string.'),
'KCHVM0060E': _('Destination host of the migration must be a string.'),
'KCHVM0061E': _('Unable to create file %(path)s at %(host)s using user %(user)s.'),
'KCHVM0062E': _('Unable to read disk size of %(path)s, error: %(error)s'),
'KCHVM0063E': _('Unable to create disk image %(path)s at %(host)s using user %(user)s. Error: %(error)s'),
'KCHVM0064E': _('Unable to migrate virtual machine to remote host %(host)s with arch %(destarch)s using localhost with arch %(srcarch)s.'),
'KCHVM0065E': _('Unable to migrate virtual machine to remote host %(host)s with hypervisor %(desthyp)s because localhost uses hypervisor %(srchyp)s.'),
'KCHVM0066E': _('Unable to determine remote host hypervisor and architecture. Error: %(error)s'),
'KCHVM0067E': _('Unable to migrate virtual machine: subcores per core setting from localhostand remote host %(host)s differs.'),
'KCHVM0068E': _('Unable to setup password-less login at remote host %(host)s using user %(user)s. Error: %(error)s'),
'KCHVM0069E': _('Password field must be a string.'),
'KCHVM0070E': _("Error creating local host ssh rsa key of user 'root'."),
'KCHVM0071E': _('%(param)s value (%(mem)sMiB) must be aligned to %(alignment)sMiB.'),
'KCHVM0073E': _('Unable to update the following parameters while the VM is offline: %(params)s'),
'KCHVM0074E': _('Unable to update the following parameters while the VM is online: %(params)s'),
'KCHVM0076E': _('VM %(name)s must have serial and console defined to open a web serial console'),
'KCHVM0077E': _('Impossible to get the serial console of %(name)s'),
'KCHVM0078E': _('Memory or Maximum Memory value is higher than amount supported by the host: %(memHost)sMiB.'),
'KCHVM0079E': _('Memory or Maximum Memory value is higher than maximum amount recommended: %(value)sTiB'),
'KCHVM0080E': _('Cannot update Maximum Memory when guest is running.'),
'KCHVM0081E': _('Impossible to create %(dir)s directory.'),
'KCHVM0082E': _('Either the guest %(name)s did not start to listen to the serial or it is not configured to use the serial console.'),
'KCHVM0083E': _('Unable to retrieve Virt Viewer file for stopped virtual machine %(name)s'),
'KCHVM0084E': _('Error occured while retrieving the Virt Viewer file for virtual machine %(name)s : %(err)s'),
'KCHVM0085E': _('Virtual machine title must be a string'),
'KCHVM0086E': _('Virtual machine description must be a string'),
'KCHVM0087E': _('console parameter is only supported for s390x/s390 architecture.'),
'KCHVM0088E': _('invalid console type, supported types are sclp/virtio.'),
'KCHVM0089E': _('Unable to setup password-less login at remote host %(host)s using user %(user)s: remote directory %(sshdir)s does not exist.'),
'KCHVM0090E': _('Unable to create a password-less libvirt connection to the remote libvirt daemon at host %(host)s with the user %(user)s. Please verify the remote server libvirt configuration. More information: http://libvirt.org/auth.html .'),
'KCHVM0091E': _("'enable_rdma' must be of type boolean (true or false)."),
'KCHVMHDEV0001E': _('VM %(vmid)s does not contain directly assigned host device %(dev_name)s.'),
'KCHVMHDEV0002E': _('The host device %(dev_name)s is not allowed to directly assign to VM.'),
'KCHVMHDEV0003E': _('No IOMMU groups found. Host PCI pass through needs IOMMU group to function correctly. '
'Please enable Intel VT-d or AMD IOMMU in your BIOS, then verify the Kernel is compiled with IOMMU support. '
"For Intel CPU, add 'intel_iommu=on' to GRUB_CMDLINE_LINUX parameter in /etc/default/grub file. "
"For AMD CPU, add 'iommu=pt iommu=1'."),
'KCHVMHDEV0004E': _('"name" should be a device name string'),
'KCHVMHDEV0005E': _('The device %(name)s is probably in use by the host. Unable to attach it to the guest.'),
'KCHVMHDEV0006E': _('Hot-(un)plug of device %(name)s is not supported.'),
'KCHVMHDEV0007E': _('Failed to attach %(device)s to %(vm)s'),
'KCHVMHDEV0008E': _('VM %(vmid)s does not have a USB controller to accept PCI hotplug.'),
'KCHVMIF0001E': _('Interface %(iface)s does not exist in virtual machine %(name)s'),
'KCHVMIF0002E': _('Network %(network)s specified for virtual machine %(name)s does not exist'),
'KCHVMIF0004E': _('Supported virtual machine interfaces type are network, ovs and macvtap.Type ovs and macvtap are only supported for s390x/s390 architecture.'),
'KCHVMIF0005E': _('Network name for virtual machine interface must be a string'),
'KCHVMIF0006E': _('Invalid network model card specified for virtual machine interface'),
'KCHVMIF0007E': _('Specify type and network to add a new virtual machine interface'),
'KCHVMIF0008E': _('MAC Address must respect this format FF:FF:FF:FF:FF:FF'),
'KCHVMIF0009E': _('MAC Address %(mac)s already exists in virtual machine %(name)s'),
'KCHVMIF0010E': _('Invalid MAC Address'),
'KCHVMIF0011E': _('Cannot change MAC address of a running virtual machine'),
'KCHVMIF0012E': _('Type macvtap and ovs are only supported on s390x/s390 architecture.'),
'KCHVMIF0013E': _('Source attribute is only supported on s390x/s390 architecture.'),
'KCHVMIF0014E': _('If source is provided, only type supported are macvtap and ovs.'),
'KCHVMIF0015E': _('For type macvtap and ovs, source has to be provided'),
'KCHVMIF0016E': _('Source name for virtual machine interface must be string'),
'KCHVMIF0017E': _('Invalid source mode. Valid options are: bridge or vepa.'),
'KCHTMPL0001E': _('Template %(name)s already exists'),
'KCHTMPL0002E': _('Source media %(path)s not found'),
'KCHTMPL0003E': _("Network '%(network)s' specified for template %(template)s does not exist"),
'KCHTMPL0004E': _('Storage pool %(pool)s specified for template %(template)s does not exist'),
'KCHTMPL0006E': _("Invalid parameter '%(param)s' specified for CDROM."),
'KCHTMPL0007E': _('Network %(network)s specified for template %(template)s is not active'),
'KCHTMPL0008E': _('Template name must be a string'),
'KCHTMPL0009E': _('Template icon must be a path to the image'),
'KCHTMPL0010E': _('Template distribution must be a string'),
'KCHTMPL0011E': _('Template distribution version must be a string'),
'KCHTMPL0012E': _('The number of CPUs must be an integer greater than 0'),
'KCHTMPL0013E': _('Amount of memory and maximum memory (MB) must be an integer greater than 512'),
'KCHTMPL0014E': _('Template CDROM must be a local or remote ISO file'),
'KCHTMPL0015E': _('Invalid storage pool URI %(value)s specified for template'),
'KCHTMPL0016E': _('Specify a path to source media (ISO, disk or remote ISO) to create a template'),
'KCHTMPL0017E': _('All networks for the template must be specified in a list.'),
'KCHTMPL0018E': _('Specify a volume to a template when storage pool is iSCSI or SCSI'),
'KCHTMPL0019E': _('The volume %(volume)s is not in storage pool %(pool)s'),
'KCHTMPL0020E': _('Unable to create template due error: %(err)s'),
'KCHTMPL0021E': _('Unable to delete template due error: %(err)s'),
'KCHTMPL0022E': _('Disk size must be an integer greater than 1GB.'),
'KCHTMPL0024E': _('Cannot identify base image %(path)s format'),
'KCHTMPL0026E': _('When specifying CPU topology, each element must be an integer greater than zero.'),
'KCHTMPL0027E': _('Invalid disk image format. Valid formats: qcow, qcow2, qed, raw, vmdk, vpc.'),
'KCHTMPL0028E': _("When setting template disks, following parameters are required: 'index', 'pool name', 'format', 'size' or 'volume' (for scsi/iscsi pools)"),
'KCHTMPL0029E': _("Disk format must be 'raw', for logical, iscsi, and scsi pools."),
'KCHTMPL0030E': _("Memory expects an object with one or both parameters: 'current' and 'maxmemory'"),
'KCHTMPL0031E': _('Memory value (%(mem)sMiB) must be equal or lesser than maximum memory value (%(maxmem)sMiB)'),
'KCHTMPL0032E': _('Unable to update template due error: %(err)s'),
'KCHTMPL0033E': _("Parameter 'disks' requires at least one disk object"),
'KCHTMPL0034E': _("Invalid interface type. Type should be 'macvtap' for host network interface (Ethernet, Bond, VLAN) to be connected as direct MacVTap or 'ovs' for openvswitch host network interface to be connected as virtual switch to a VM."),
'KCHTMPL0035E': _('Interface name should be string.'),
'KCHTMPL0036E': _('Invalid interface mode. Valid options are: bridge or vepa.'),
'KCHTMPL0037E': _("Interfaces should be list of interfaces. Each interface should have name, type and mode(optional, only applicable for interfcae type 'macvtap'."),
'KCHTMPL0038E': _("Interface expects an object with parameters: 'name', 'type' and 'mode'. Name should be name of host network interface (Ethernet, Bond, VLAN) for type 'macvtap' or the name of host openvswitch bridge interface for type 'ovs'. Mode (optional) is only applicable for interface type 'macvtap' to indicates whether packets will be delivered directly to target device (bridge) or to the external bridge (vepa-capable bridge)."),
'KCHTMPL0039E': _('Interfaces parameter only supported on s390x or s390 architecture.'),
'KCHTMPL0040E': _('Storage without libvirt pool is not supported on this architecture'),
'KCHTMPL0041E': _('Error while creating the virtual disk for the guest. Details: %(err)s'),
'KCHTMPL0042E': _("When setting template disks without libvirt, following parameters are required: 'index', 'format', 'path', 'size'"),
'KCHTMPL0043E': _('console parameter is only supported for s390x/s390 architecture.'),
'KCHTMPL0044E': _('invalid console type, supported types are sclp/virtio.'),
'KCHPOOL0001E': _('Storage pool %(name)s already exists'),
'KCHPOOL0002E': _('Storage pool %(name)s does not exist'),
'KCHPOOL0004E': _('Specify %(item)s in order to create the storage pool %(name)s'),
'KCHPOOL0005E': _('Unable to delete active storage pool %(name)s'),
'KCHPOOL0006E': _('Unable to list storage pools. Details: %(err)s'),
'KCHPOOL0007E': _('Unable to create storage pool %(name)s. Details: %(err)s'),
'KCHPOOL0009E': _('Unable to activate storage pool %(name)s. Details: %(err)s'),
'KCHPOOL0010E': _('Unable to deactivate storage pool %(name)s. Details: %(err)s'),
'KCHPOOL0011E': _('Unable to delete storage pool %(name)s. Details: %(err)s'),
'KCHPOOL0012E': _('Unable to create NFS Pool as export path %(path)s may block during mount'),
'KCHPOOL0013E': _('Unable to create NFS Pool as export path %(path)s mount failed'),
'KCHPOOL0014E': _('Unsupported storage pool type: %(type)s'),
'KCHPOOL0015E': _('Error while retrieving storage pool XML to %(pool)s'),
'KCHPOOL0016E': _('Storage pool name must be a string without slashes (/)'),
'KCHPOOL0017E': _('Supported storage pool types are dir, netfs, logical, iscsi, isci and kimchi-iso'),
'KCHPOOL0018E': _('Storage pool path must be a string'),
'KCHPOOL0019E': _('Storage pool host must be a IP or hostname'),
'KCHPOOL0020E': _('Storage pool device must be the absolute path to the block device'),
'KCHPOOL0021E': _('Storage pool devices parameter must be a list'),
'KCHPOOL0022E': _('Target IQN of an iSCSI pool must be a string'),
'KCHPOOL0023E': _('Port of a remote storage server must be an integer between 1 and 65535'),
'KCHPOOL0024E': _('iSCSI target username must be a string'),
'KCHPOOL0025E': _('iSCSI target password must be a string'),
'KCHPOOL0026E': _('Specify name and type to create a storage pool'),
'KCHPOOL0027E': _('%(disk)s is not a valid disk/partition. Could not add it to the pool %(pool)s.'),
'KCHPOOL0028E': _('Unable to extend logical pool %(pool)s. Details: %(err)s'),
'KCHPOOL0029E': _('The parameter disks only can be updated for logical storage pool.'),
'KCHPOOL0030E': _('The SCSI host adapter name must be a string.'),
'KCHPOOL0031E': _('The storage pool kimchi_isos is reserved for internal use'),
'KCHPOOL0032E': _('Unable to activate NFS storage pool %(name)s. NFS server %(server)s is unreachable.'),
'KCHPOOL0033E': _('Unable to deactivate NFS storage pool %(name)s. NFS server %(server)s is unreachable.'),
'KCHPOOL0034E': _('Unable to deactivate pool %(name)s as it is associated with some templates'),
'KCHPOOL0035E': _('Unable to delete pool %(name)s as it is associated with some templates'),
'KCHPOOL0036E': _("A volume group named '%(name)s' already exists. Please, choose another name to create the logical pool."),
'KCHPOOL0037E': _('Unable to update database with deep scan information due error: %(err)s'),
'KCHPOOL0038E': _("No volume group '%(name)s' found. Please, specify an existing volume group to create the logical pool from."),
'KCHPOOL0039E': _('Unable to delete pool %(name)s as it is associated with guests: %(vms)s'),
'KCHVOL0001E': _('Storage volume %(name)s already exists'),
'KCHVOL0002E': _('Storage volume %(name)s does not exist in storage pool %(pool)s'),
'KCHVOL0003E': _('Unable to create storage volume %(volume)s because storage pool %(pool)s is not active'),
'KCHVOL0004E': _('Specify %(item)s in order to create storage volume %(volume)s'),
'KCHVOL0006E': _('Unable to list storage volumes because storage pool %(pool)s is not active'),
'KCHVOL0007E': _('Unable to create storage volume %(name)s in storage pool %(pool)s. Details: %(err)s'),
'KCHVOL0009E': _('Unable to wipe storage volumes %(name)s. Details: %(err)s'),
'KCHVOL0010E': _('Unable to delete storage volume %(name)s. Details: %(err)s'),
'KCHVOL0011E': _('Unable to resize storage volume %(name)s. Details: %(err)s'),
'KCHVOL0012E': _('Storage type %(type)s does not support volume create and delete'),
'KCHVOL0013E': _('Storage volume name must be a string'),
'KCHVOL0014E': _('Storage volume allocation must be an integer number'),
'KCHVOL0015E': _('Storage volume format not supported. Valid formats: qcow, qcow2, qed, raw, vmdk, vpc.'),
'KCHVOL0016E': _('Storage volume requires a volume name'),
'KCHVOL0017E': _('Unable to update database with storage volume information due error: %(err)s'),
'KCHVOL0018E': _('Only one of parameter %(param)s can be specified'),
'KCHVOL0019E': _('Create volume from %(param)s is not supported'),
'KCHVOL0020E': _('Storage volume capacity must be an integer number.'),
'KCHVOL0021E': _('Storage volume URL must be http://, https://, ftp:// or ftps://.'),
'KCHVOL0022E': _('Unable to access file %(url)s. Please, check it.'),
'KCHVOL0023E': _("Unable to clone storage volume '%(name)s' in pool '%(pool)s'. Details: %(err)s"),
'KCHVOL0024E': _('Specify chunk data and its size to upload a file.'),
'KCHVOL0025E': _("In order to upload a storage volume, specify the 'upload' parameter."),
'KCHVOL0026E': _('Unable to upload chunk data as it does not match with requested chunk size.'),
'KCHVOL0027E': _('The storage volume %(vol)s is not under an upload process.'),
'KCHVOL0028E': _('The upload chunk data will exceed the storage volume size.'),
'KCHVOL0029E': _('Unable to upload chunk data to storage volume. Details: %(err)s.'),
'KCHIFACE0001E': _('Interface %(name)s does not exist'),
'KCHIFACE0002E': _('Failed to list interfaces. Invalid _inuse parameter. Supported options for _inuse are: %(supported_inuse)s'),
'KCHNET0001E': _('Network %(name)s already exists'),
'KCHNET0002E': _('Network %(name)s does not exist'),
'KCHNET0003E': _('Subnet %(subnet)s specified for network %(network)s is not valid.'),
'KCHNET0004E': _('Specify a network interface to create bridged or macvtap networks.'),
'KCHNET0005E': _('Unable to delete or update active network %(name)s'),
'KCHNET0006E': _('Interface %(iface)s specified for network %(network)s is already in use'),
'KCHNET0007E': _('Interface should be bare NIC, bonding or bridge device.'),
'KCHNET0008E': _('Unable to create or update network %(name)s. Details: %(err)s'),
'KCHNET0009E': _("Unable to find a free IP address for network '%(name)s'"),
'KCHNET0010E': _('The interface %(iface)s already exists.'),
'KCHNET0011E': _("Network name must be a string without slashes (/) or quotes (\")"),
'KCHNET0012E': _('Supported network types are isolated, NAT, macvtap, bridge, vepa and passthrough.'),
'KCHNET0013E': _('Network subnet must be a string with IP address and prefix or netmask'),
'KCHNET0014E': _('Network interfaces must be an array.'),
'KCHNET0015E': _('Network VLAN ID must be an integer between 1 and 4094'),
'KCHNET0016E': _('Specify name and type to create a Network'),
'KCHNET0017E': _('Unable to delete or update network %(name)s as it is linked to some virtual machines (%(vms)s) and/or templates (%(tmpls)s).'),
'KCHNET0018E': _('Unable to deactivate network %(name)s as it is linked to are some virtual machines (%(vms)s) and/or templates (%(tmpls)s).'),
'KCHNET0019E': _('Bridge device %(name)s can not be the trunk device of a VLAN.'),
'KCHNET0020E': _('Failed to activate interface %(iface)s: %(err)s.'),
'KCHNET0021E': _('Failed to activate interface %(iface)s. Please check the physical link status.'),
'KCHNET0022E': _('Failed to start network %(name)s. Details: %(err)s'),
'KCHNET0024E': _('Unable to redefine interface %(name)s. Details: %(err)s'),
'KCHNET0025E': _('Unable to create bridge %(name)s. Details: %(err)s'),
'KCHNET0027E': _('Unable to create bridge with NetworkManager enabled. Disable it and try again.'),
'KCHNET0028E': _('Interface should be bare NIC or bonding.'),
'KCHNET0029E': _('Network interfaces parameter must contain at least one interface.'),
'KCHNET0030E': _("Only one interface is allowed for 'bridge' and 'macvtap' networks."),
'KCHNET0031E': _('Subnet is not a valid parameter for this type of virtual network.'),
'KCHNET0032E': _('VLAN ID and interfaces are not valid parameters for this type of virtual network.'),
'KCHSR0001E': _('Storage server %(server)s was not used by Kimchi'),
'KCHDISTRO0001E': _("Distro '%(name)s' does not exist"),
'KCHHOST0003E': _("Node device '%(name)s' not found"),
'KCHHOST0004E': _('Conflicting flag filters specified.'),
'KCHUTILS0003E': _('Unable to choose a virtual machine name'),
'KCHUTILS0006E': _('Cannot upgrade objectstore data.'),
'KCHVMSTOR0002E': _("Invalid storage type. Types supported: 'cdrom', 'disk'"),
'KCHVMSTOR0003E': _("The path '%(value)s' is not a valid local/remote path for the device"),
'KCHVMSTOR0006E': _('Only CDROM path can be update.'),
'KCHVMSTOR0007E': _('The storage device %(dev_name)s does not exist in the virtual machine %(vm_name)s'),
'KCHVMSTOR0008E': _('Error while creating new storage device: %(error)s'),
'KCHVMSTOR0009E': _('Error while updating storage device: %(error)s'),
'KCHVMSTOR0010E': _('Error while removing storage device: %(error)s'),
'KCHVMSTOR0011E': _('Do not support IDE device hot plug'),
'KCHVMSTOR0012E': _('Specify type and path or type and pool/volume to add a new virtual machine disk'),
'KCHVMSTOR0013E': _('Specify path to update virtual machine disk'),
'KCHVMSTOR0014E': _('Controller type %(type)s limitation of %(limit)s devices reached'),
'KCHVMSTOR0015E': _('Cannot retrieve disk path information for given pool/volume: %(error)s'),
'KCHVMSTOR0016E': _('Volume already in use by other virtual machine.'),
'KCHVMSTOR0017E': _('Only one of path or pool/volume can be specified to add a new virtual machine disk'),
'KCHVMSTOR0018E': _('Volume chosen with format %(format)s does not fit in the storage type %(type)s'),
'KCHVMSTOR0019E': _('On s390x arch one of pool, path of dir_path must be specified'),
'KCHVMSTOR0020E': _("On s390x arch 'format' must be specified while attaching disk to virtual machine"),
'KCHVMSTOR0021E': _('Virtual disk already exists on the system: %(disk_path)s'),
'KCHSNAP0002E': _("Unable to create snapshot '%(name)s' on virtual machine '%(vm)s'. Details: %(err)s"),
'KCHSNAP0003E': _("Snapshot '%(name)s' does not exist on virtual machine '%(vm)s'."),
'KCHSNAP0004E': _("Unable to retrieve snapshot '%(name)s' on virtual machine '%(vm)s'. Details: %(err)s"),
'KCHSNAP0005E': _("Unable to list snapshots on virtual machine '%(vm)s'. Details: %(err)s"),
'KCHSNAP0006E': _("Unable to delete snapshot '%(name)s' on virtual machine '%(vm)s'. Details: %(err)s"),
'KCHSNAP0008E': _("Unable to retrieve current snapshot of virtual machine '%(vm)s'. Details: %(err)s"),
'KCHSNAP0009E': _("Unable to revert virtual machine '%(vm)s' to snapshot '%(name)s'. Details: %(err)s"),
'KCHSNAP0010E': _("Unable to create snapshot of virtual machine '%(vm)s' because it contains a disk with format '%(format)s'; only 'qcow2' is supported."),
'KCHCPUINF0001E': _('The number of vCPUs must be less than or equal the maximum number of vCPUs specified.'),
'KCHCPUINF0002E': _('When CPU topology is defined, maximum number of vCPUs must be a product of sockets, cores, and threads.'),
'KCHCPUINF0003E': _('This host (or current configuration) does not allow CPU topology.'),
'KCHCPUINF0004E': _('The maximum number of vCPUs is too large for this system.'),
'KCHCPUINF0005E': _("When CPU topology is defined, CPUs must be a multiple of the 'threads' number defined."),
'KCHCPUINF0007E': _('When CPU topology is specified, sockets, cores and threads are required paramaters.'),
'KCHCPUINF0008E': _("Parameter 'cpu_info' expects an object with fields among: 'vcpus', 'maxvcpus', 'topology'."),
'KCHCPUINF0009E': _("Parameter 'topology' expects an object with fields among: 'sockets', 'cores', 'threads'."),
'KCHCPUHOTP0001E': _('Unable to update Max CPU or CPU topology when guest is running.'),
'KCHCPUHOTP0002E': _('Unable to hot plug/unplug CPUs. Details: %(err)s'),
'KCHLVMS0001E': _('Invalid volume group name parameter: %(name)s.'),
'KCHCONN0001E': _('Unable to establish connection with libvirt. Please check your libvirt URI which is often defined in /etc/libvirt/libvirt.conf'),
'KCHCONN0002E': _('Libvirt service is not active. Please start the libvirt service in your host system.'),
'KCHEVENT0001E': _('Failed to register the default event implementation.'),
'KCHEVENT0002E': _('Failed to register timeout event.'),
'KCHEVENT0003E': _('Failed to Run the default event implementation.'),
'KCHEVENT0004W': _("I/O error on guest '%(vm)s': storage pool out of space for %(devAlias)s (%(srcPath)s)."),
# These messages (ending with L) are for user log purposes
'KCHNET0001L': _("Create virtual network '%(name)s' type '%(connection)s'"),
'KCHNET0002L': _("Remove virtual network '%(ident)s'"),
'KCHNET0003L': _("Update virtual network '%(ident)s'"),
'KCHNET0004L': _("Activate virtual network '%(ident)s'"),
'KCHNET0005L': _("Deactivate virtual network '%(ident)s'"),
'KCHPOOL0001L': _("Create storage pool '%(name)s' type '%(type)s'"),
'KCHPOOL0002L': _("Remove storage pool '%(ident)s'"),
'KCHPOOL0003L': _("Update storage pool '%(ident)s'"),
'KCHPOOL0004L': _("Activate storage pool '%(ident)s'"),
'KCHPOOL0005L': _("Deactivate storage pool '%(ident)s'"),
'KCHSNAP0001L': _("Create snapshot '%(name)s' at guest '%(vm)s'"),
'KCHSNAP0002L': _("Remove snapshot '%(ident)s' from guest '%(vm)s'"),
'KCHSNAP0003L': _("Revert guest '%(vm)s' to snapshot '%(ident)s'"),
'KCHTMPL0001L': _("Create template '%(name)s'"),
'KCHTMPL0002L': _("Remove template '%(ident)s'"),
'KCHTMPL0003L': _("Update template '%(ident)s'"),
'KCHTMPL0004L': _("Clone template '%(ident)s'"),
'KCHVM0001L': _("Create guest '%(name)s' from template '%(template)s'"),
'KCHVM0002L': _("Remove guest '%(ident)s'"),
'KCHVM0003L': _("Edit guest '%(ident)s'"),
'KCHVM0004L': _("Start guest '%(ident)s'"),
'KCHVM0005L': _("Power off guest '%(ident)s'"),
'KCHVM0006L': _("Shutdown guest '%(ident)s'"),
'KCHVM0007L': _("Restart guest '%(ident)s'"),
'KCHVM0008L': _("Connect to guest '%(ident)s' through novnc/spice"),
'KCHVM0009L': _("Clone guest '%(ident)s'"),
'KCHVM0010L': _("Migrate guest '%(ident)s' to '%(remote_host)s'"),
'KCHVM0011L': _("Suspend guest '%(ident)s'"),
'KCHVM0012L': _("Resume guest '%(ident)s'"),
'KCHVM0013L': _("Connect to guest '%(ident)s' through serial"),
'KCHVMHDEV0001L': _("Attach host device '%(name)s' to guest '%(vmid)s'"),
'KCHVMHDEV0002L': _("Detach host device '%(ident)s' from guest '%(vmid)s'"),
'KCHVMIF0001L': _("Attach network interface '%(network)s' to guest '%(vm)s'"),
'KCHVMIF0002L': _("Detach network interface '%(ident)s' from guest '%(vm)s'"),
'KCHVMIF0003L': _("Update network interface '%(ident)s' at guest '%(vm)s'"),
'KCHVMSTOR0001L': _("Attach %(type)s storage '%(path)s' to guest '%(vm)s'"),
'KCHVMSTOR0002L': _("Remove storage '%(ident)s' from guest '%(vm)s'"),
'KCHVMSTOR0003L': _("Update storage '%(ident)s' at guest '%(vm)s'"),
'KCHVOL0001L': _("Create storage volume '%(name)s' at pool '%(pool)s'"),
'KCHVOL0002L': _("Remove storage volume '%(ident)s' from pool '%(pool)s'"),
'KCHVOL0003L': _("Update storage volume '%(ident)s' at pool '%(pool)s'"),
'KCHVOL0004L': _("Wipe storage volume '%(ident)s' off pool '%(pool)s'"),
'KCHVOL0005L': _("Resize storage volume '%(ident)s' at pool '%(pool)s' with size %(size)s"),
'KCHVOL0006L': _("Clone storage volume '%(ident)s' at pool '%(pool)s'"),
}