-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.spec
More file actions
853 lines (764 loc) · 43.6 KB
/
plugin.spec
File metadata and controls
853 lines (764 loc) · 43.6 KB
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
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
---
config:
plugin_type: install
subparsers:
tripleo-overcloud:
description: Install a TripleO overcloud using a designated undercloud node
include_groups: ["Ansible options", "Inventory", "Common options", "Answers file"]
groups:
- title: Stages Control
options:
introspect:
type: Bool
help: Specifies whether to run introspection
default: False
tagging:
type: Bool
help: Specifies whether to create flavors automatically and tag our hosts with them
default: False
deploy:
type: Bool
help: Specifies whether to deploy the overcloud
default: False
pre:
type: Bool
help: Specifies whether we should run pre install tasks
default: False
delete:
type: Bool
help: Deletes existing Overcloud
default: False
- title: Containers
options:
containers:
type: Bool
help: |
Specifies whether the containers should be used for deployment.
Infrared will use containers only when install version >= 12
default: yes
container-images-patch:
type: Value
help: |
Comma,separated list of docker container images to patch using '/patched_rpm' yum repository.
NOTE: Patching involves 'yum update' inside the container. This feature is not supported when
registry-undercloud-skip is set to True.
Also, if this option is not specified, InfraRed auto discovers images that should be updated.
This option may be used to patch only a specific container image(s) without updating others that
would normally be patched.
Example:
--container-images-patch openstack-opendaylight,openstack-nova-compute
container-extra-repos:
type: ListValue
help: |
List of repositories URLs to use in containers to update existing packages.
It will link provided repos to the container and perform 'yum update'.
container-images-packages:
type: IniType
action: append
help: |
'imagename=package1{,package2}' pairs to install package(s) from URL(s) in the container image
before overcloud is deployed. Container images don't have any yum repositories enabled by
default hence specifying a location in a form of URL to the RPM to install is mandatory.
This option can be used multiple times for different container images. This feature is
not supported when registry-undercloud-skip is set to True.
NOTE: Only specified image(s) will get the packages installed. All images that depend on
updated image have to be updated as well (using this option or otherwise).
Example:
--container-images-packages openstack-opendaylight=https://kojipkgs.fedoraproject.org//packages/tmux/2.5/3.fc27/x86_64/tmux-2.5-3.fc27.x86_64.rpm,https://kojipkgs.fedoraproject.org//packages/vim/8.0.844/2.fc27/x86_64/vim-minimal-8.0.844-2.fc27.x86_64.rpm
registry-mirror:
type: Value
help: The alternative docker registry to use for deployment.
required_when: "registry-skip-puddle == True"
registry-undercloud-skip:
type: Bool
help: Avoid using and mass populating the undercloud registry.
The registry or the registry-mirror will be used directly when possible,
recommended to use this option when you have very good bandwidth to your registry.
default: False
registry-skip-puddle:
type: Bool
help: Skip reading any private puddle files to auto-detect the containers parameters
default: False
registry-namespace:
type: Value
help: The alternative docker registry namespace to use for deployment.
registry-prefix:
type: Value
help: The images prefix
registry-tag:
type: Value
help: The images tag
required_when: "registry-skip-puddle == True"
registry-tag-label:
type: Value
help: |
If this option is set then infrared will try to get
tag hash using the openstack overcloud container image tag discover
command
registry-tag-image:
type: Value
help: |
The image to use to read the tab hash
registry-ceph-namespace:
type: Value
help: namesapce for the ceph container
registry-ceph-image:
type: Value
help: image for the ceph container
registry-ceph-tag:
type: Value
help: tag used with the ceph container
- title: Deployment Description
options:
version:
type: Value
help: |
The product version
Numbers are for OSP releases
Names are for RDO releases
If not given, same version of the undercloud will be used
choices:
- "7"
- "8"
- "9"
- "10"
- "11"
- "12"
- "13"
- "14"
- "15"
- "15-trunk"
- "16"
- "16-trunk"
- kilo
- liberty
- mitaka
- newton
- ocata
- pike
- queens
- rocky
- stein
- train
deployment-files:
type: VarDir
help: |
The absolute path to the folder containing the templates of the overcloud deployment.
Please see `settings/installer/ospd/deployment/example` as reference.
Use "virt" to enable preset templates for virtual POC environment.
required: yes
deployment-timeout:
type: int
help: The overcloud deployment timeout in minutes.
default: 100
maximum: 240
instackenv-file:
type: Value
help: The path to the instackenv.json configuration file used for introspection.
controller-nodes:
type: Value
help: The amount of controller nodes to deploy
compute-nodes:
type: Value
help: The amount of compute nodes to deploy
storage-nodes:
type: Value
help: |
The amount of storage nodes to deploy. If --storage-backend is set, this
value will default to '1', otherwise no storage nodes will be used.
ntp-server:
type: Value
help: |
Ntp server name (or IP) to use.
default: clock1.rdu2.redhat.com
hybrid:
type: FileValue
help: |
Specifies whether deploying a hybrid environment.
The target file should contains information about the bare-metals servers
that will be added to the instackenv.json file during introspection.
environment-plan:
type: Value
short: p
help: |
The absolute path or url address to a custom environment plan file.
Environment plan file example:
tripleo-overcloud/vars/environment/plan/example.yml
NOTE: Infrared support this option for RHOSP from version 12.
libvirt-type:
type: Value
help: The libvirt type to use during the overcloud deployment
default: kvm
choices:
- kvm
- qemu
- title: Overcloud Options
options:
overcloud-predeploy-action:
type: Value
help: Specify a custom command to run before the Overcloud deploy script
overcloud-debug:
type: Bool
default: yes
help: Specifies whether overcloud service should enable debug mode
overcloud-ssl:
type: Bool
default: no
help: Specifies whether ths SSL should be used for overcloud
overcloud-fencing:
type: Bool
default: no
help: Specifies whether fencing should be configured and enabled on the overcloud
(Supported from OSP13 and newer)
overcloud-script:
type: Value
help: |
The absolute path to a custom overcloud deployment script.
If not set, it will auto generate a deployment according to the
provided templates / options.
overcloud-templates:
type: ListOfVarFiles
help: |
Add extra environment template files to "overcloud deploy" command
File (in YAML format) containing a list of paths to template files on the UnderCloud.
NOTE: Omit this to not include any extra files, or use "none"
__LISTYAMLS__
config-heat:
type: NestedDict
action: append
help: |
Inject additional Tripleo Heat Templates configuration options under "paramater_defaults"
entry point.
Example:
--config-heat ComputeExtraConfig.nova::allow_resize_to_same_host=true
--config-heat NeutronOVSFirewallDriver=openvswitch
should inject the following yaml to "overcloud deploy" command:
---
parameter_defaults:
ComputeExtraConfig:
nova::allow_resize_to_same_host: true
NeutronOVSFirewallDriver: openvswitch
It is also possible to have . (dot) included in key by escaping it.
Example:
--config-heat "ControllerExtraConfig.opendaylight::log_levels.org\.opendaylight\.netvirt\.elan=TRACE"
should inject the following yaml to "overcloud deploy" command:
---
parameter_defaults:
ControllerExtraConfig:
opendaylight::log_levels:
org.opendaylight.netvirt.elan: TRACE
config-resource:
type: NestedDict
action: append
help: |
Inject additional Tripleo Heat Templates configuration options under "resource_registry"
entry point.
Example:
--config-resource OS::TripleO::BlockStorage::Net::SoftwareConfig=/home/stack/nic-configs/cinder-storage.yaml
should inject the following yaml to "overcloud deploy" command:
---
resource_registry:
OS::TripleO::BlockStorage::Net::SoftwareConfig: /home/stack/nic-configs/cinder-storage.yaml
extra-deploy-params:
type: Value
help: |
Extra parameters to append to 'openstack overcloud deploy' command.
NOTE: Using equal(=) sign is mandatory here.
Example:
--extra-deploy-params="--config-download"
undercloud-packages:
type: Value
help: |
Comma delimited list of names or URLs of the packages to be installed on
undercloud before Overcloud deployment, uses "yum" package manager.
NOTE: When trying to install packages with this parameter please be sure
that the appropriate Yum repositories have been enabled.
Examples:
--undercloud-packages python-tripleoclient
--undercloud-packages http://download-node-02.eng.bos.redhat.com/composes/auto/ceph-3.1-rhel-7/latest-RHCEPH-3-RHEL-7/compose/Tools/x86_64/os/Packages/golang-1.9.4-1.el7.x86_64.rpm
--undercloud-packages vim,http://download-node-02.eng.bos.redhat.com/composes/auto/ceph-3.1-rhel-7/latest-RHCEPH-3-RHEL-7/compose/Tools/x86_64/os/Packages/golang-1.9.4-1.el7.x86_64.rpm
fetchfiles-undercloud:
type: Value
action: append
help: |
Pairs of 'URL,destfile'. File from 'URL' will be downloaded as 'destfile' (overwrite existing file) on Undercloud.
'destfile' is an absolute path on Undercloud ending _with_ file name (because sometimes it's required to change file name).
NOTE: this option is _not_ recommended for production jobs or environments. If files of an official product are fetched/overwritten,
it's advised to mark jobs using this method as 'experimental' and remove using this fetchfiles as soon as required files are in official release.
Example (in case one wants to use files from https://review.openstack.org/#/c/585015/2):
--fetchfiles-undercloud https://git.openstack.org/cgit/openstack/tripleo-heat-templates/plain/environments/network-isolation-v6.j2.yaml?h=refs/changes/15/585015/2,/usr/share/openstack-tripleo-heat-templates/environments/network-isolation-v6.j2.yaml
--fetchfiles-undercloud https://git.openstack.org/cgit/openstack/tripleo-heat-templates/plain/puppet/services/opendaylight-api.yaml?h=refs/changes/15/585015/2,/usr/share/openstack-tripleo-heat-templates/puppet/services/opendaylight-api.yaml
heat-templates-basedir:
type: Value
help: Overrides the templates base dir for the overcloud deploy script.
default: "/usr/share/openstack-tripleo-heat-templates"
overcloud-stack:
type: Value
help: Overrides the overcloud stack name
default: "overcloud"
overcloud-ssh-user:
type: Value
help: Overrides the overcloud ssh user name
default: ''
overcloud-domain:
type: Value
help: |
Set the CloudDomain parameter. The value for CloudDomain must match the value
for overcloud_domain_name that was configured in undercloud.conf if set.
default: ''
tls-everywhere:
type: Bool
help: |
Specifies whether TLS Everywhere with FreeIPA should be implemented
default: no
fetchfiles-overcloud:
type: Value
action: append
help: |
Pairs of 'URL,destfile'. File from 'URL' will be downloaded as 'destfile' (overwrite existing file) in overcloud image which is later used to deploy Overcloud.
'destfile' is an absolute path in overcloud image ending _with_ file name (because sometimes it's required to change file name).
NOTE: this option is _not_ recommended for production jobs or environments. If files of an official product are fetched/overwritten,
it's advised to mark jobs using this method as 'experimental' and remove using this fetchfiles as soon as required files are in official release.
Example (in case one wants to use files from https://review.openstack.org/#/c/585015/2):
--fetchfiles-overcloud https://git.openstack.org/cgit/openstack/tripleo-heat-templates/plain/environments/network-isolation-v6.j2.yaml?h=refs/changes/15/585015/2,/usr/share/openstack-tripleo-heat-templates/environments/network-isolation-v6.j2.yaml
--fetchfiles-overcloud https://git.openstack.org/cgit/openstack/tripleo-heat-templates/plain/puppet/services/opendaylight-api.yaml?h=refs/changes/15/585015/2,/usr/share/openstack-tripleo-heat-templates/puppet/services/opendaylight-api.yaml
- title: Network Configuration
options:
network-backend:
type: Value
help: The overcloud network backend.
default: vxlan
network-protocol:
type: Value
help: The overcloud network backend.
default: ipv4
choices:
- ipv4
- ipv6
network-render-templates:
type: Bool
default: no
help: Define configuration with network_data.yaml instead of network-environment.yaml
network-lbaas:
type: Bool
default: no
help: Activate Neutron LBaaS(v2) extension on the overcloud.
network-bgpvpn:
type: Bool
default: no
help: APIs and framework to attach BGP VPNs to Neutron networks
network-dvr:
type: Bool
default: no
help: Activate Neutron DVR extension on the overcloud.
network-l2gw:
type: Bool
default: no
help: Activate APIs and implementations to support L2 Gateways in Neutron
network-lbaas:
type: Bool
default: no
help: Deploy Overcloud with LBaaS v2. (OSP >= 13, RDO >= Queens)
network-ovn:
type: Bool
default: no
help: Use OVN (HA) instead of ML2 and OVS.
network-ovs:
type: Bool
default: no
help: Use ML2/OVS instead of OVN which is the default for RDO Stein / OSP 15.
network-data-file:
type: Value
short: n
help: |
TripleO offers a default network topology when deploying with network isolation enabled,
and this is reflected in the network_data.yaml file in tripleo-heat-templates.
This parameter will override the default network_data.yaml to provide different type of network topology.
Default Heat templates base directory is /usr/share/openstack-tripleo-heat-templates.
Value example:
--network-data-file /home/stack/virt/network_data_spine_leaf.yaml
Can be used with new templates base directory:
--heat-templates-basedir /path/to/openstack-tripleo-heat-templates
custom-data-roles-file:
type: Value
short: r
help: |
Option to provide custom role data file.
Create a roles data yaml file that contains the custom role in addition to the other roles that will be deployed.
custom_network_names:
type: Value
help: |
Option to provide custom names for the networks.
Note: Custom network names can be provided as values.
Value example:
--custom_network_name storage=MyStorageNet,storage_mgmt=MyStorageMgmtNet,internal_api=MyInternalApiNet,tenant=MyTenantNet,external=MyExternalNet
cleaning-network:
type: Bool
default: no
help: Adds a network for cleaning in OC. Asssumes Ironic in OC was enabled.
- title: Overcloud Public Network
options:
public-network:
type: Bool
default: yes
help: Deploy "public" external network on the overcloud as post-install.
public-net-name:
type: Value
help: |
Specifies the name of the public network.
NOTE: If not provided it will use the default one for the OSP version
public-subnet:
type: VarFile
help: |
Subnet detail for "public" external network on the overcloud as post-install.
(CIDR, Allocation Pool, Gateway)
__LISTYAMLS__
default: default_subnet
public-vlan-ip:
type: Value
help: |
Provide IP address from the external network range for the Undercloud host.
NOTE: The address should be excluded from the external_api pool within the network-envornment.yaml file.
Provide the IP address if overcloud's external ("public") network is on a VLAN that's unreachable from the
Undercloud.
This will configure network access from UnderCloud to overcloud's API/External(floating ips)
network, creating a new VLAN interface connected to ovs's "br-ctlplane" bridge.
NOTE: If your UnderCloud's network is already configured properly, this could disrupt it, making overcloud API unreachable
For more details, see: "VALIDATING THE OVERCLOUD" on https://access.redhat.com/documentation/en/red-hat-openstack-platform/10-beta/paged/director-installation-and-usage/chapter-6-performing-tasks-after-overcloud-creation
external-vlan:
type: Value
help: |
An Optional external VLAN ID of the external network (Not to be confused with the Public API network)
- title: Overcloud storage
options:
storage-external:
type: Bool
help: Whether to use an external storage rather than setting it up with the director
default: no
storage-method:
type: Value
choices:
- puppet
- ansible
help: |
Selecting deploy method when multiple method is possible.
Today this option is only used when the openetsk version is pike or newer and
the storage-external is yes/true, but it can be extended in the future.
Default behavior depends on the OpenStack version.
storage-backend:
type: Value
choices:
- ceph
- swift
- netapp-iscsi
- netapp-nfs
- lvm
- nfs
help: |
The storage that we would like to use.
If not supplied, Infrared will try to discover storage nodes and select appropriate backed.
The 'lvm' value will be used when storage nodes were not found.
NOTE: when not using external storage, this will set the default for "--storage-nodes" to 1.
glance-backend:
type: Value
choices:
- rbd
- swift
default: rbd
help: |
The storage backend type used for glance, enabling to set Swift or RadosGW as the backend when deploying internal Ceph. Default value is 'rbd'
storage-protocol-backend:
type: Value
default: NA
choices:
- nfs-ganesha
- nfs
- iscsi
- NA
help: |
The storage protocol that we would like to use.
nfs-ganesha works only if the storage backand is ceph
NOTE: nfs and iscsi are not implemented but added to be decoupled from storage backend parameter
nova-nfs-backend:
type: Bool
help: |
This options allows configuring NFS backend for Nova component and includes the appropriate
THT template. storage-nova-nfs-share needs to be set when this is set to 'True'
default: False
storage-nova-nfs-share:
type: Value
help: |
The absolute path to an external NFS storage mount
NOTE: this needs to be set when nova-nfs-backend is set to 'True'
storage-config:
type: Value
help: |
Storage configuration file (YAML file)
__LISTYAMLS__
default: internal
ceph-osd-type:
type: Value
help: |
From RHCS v3.2 and later 'bluestore' and 'filestore' is available as OSD types.
default: bluestore
choices:
- bluestore
- filestore
ceph-osd-scenario:
type: Value
help: |
Sets the location of the journal data (for filestore) or the write-ahead log and key-value data (bluestore).
default: lvm
choices:
- lvm
- non-collocated
- collocated
- title: Composable roles
options:
role-files:
type: Value
help: |
For the OSP11 and below:
Specifies a sub-folder under the files/roles/ folder where InfraRed should look for the roles files.
InfraRed will use the composable roles approach when this flag is defined
For the OSP12 and above:
Specifies the list of roles from https://github.com/openstack/tripleo-heat-templates/tree/master/roles
to use. For example, for the controller,compute and ceph topology the following value can be used:
--role-files=Controller,Compute,CephStorage.
If that value is equal to 'auto' or is not a list of roles, then Infrared will try to
automatically discover roles to use.
tht-roles:
type: Bool
default: yes
help: |
Specifies whether the THT(https://github.com/openstack/tripleo-heat-templates/tree/master/roles)
roles should be used for OSP12+ composable deployments. If value is 'no', then the OSP11 approach
will be used.
- title: Control Node Placement
options:
specific-node-ids:
type: Bool
default: no
help: |
Default tagging behaviour is to set properties/capabilities profile, which is based on the
node_type for all nodes from this type. If this value is set to true/yes, default behaviour
will be overwritten and profile will be removed, node id will be added to properties/capabilities
and scheduler hints will be generated.
Examples of node IDs include controller-0, controller-1, compute-0, compute-1, and so forth.
custom-hostnames:
type: Value
help: |
Option to provide custom Hostnames for the nodes.
Note: Custom hostnames can be provided as values or a env file.
Value example:
--custom-hostnames controller-0=ctr-rack-1-0,compute-0=compute-rack-2-0,ceph-0=ceph-rack-3-0
File example:
--custom-hostnames local/path/to/custom_hostnames.yaml
predictable-ips:
type: Bool
default: no
help: |
Assign Overcloud nodes with specific IPs on each network. IPs are outside DHCP pools.
Note: Currently InfraRed only creates template for "resource_registry". Nodes IPs need
to be provided as user environment template, with option --overcloud-templates
- title: Splitstack deployment
options:
splitstack:
type: Bool
default: no
help: |
If customer has already provisioned nodes for an overcloud splitstack should be used to utilize these
nodes.(https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/director_installation_and_usage/chap-configuring_basic_overcloud_requirements_on_pre_provisioned_nodes)
- title: Overcloud Upgrade
options:
upgrade:
type: Bool
help: |
Upgrade Overcloud.
NOTE: Upgrade require overcloud deployment script to be available in home directory of undercloud
user at undercloud node
Currently, there is upgrade possibility from version 9 to version 10 only.
mirror:
type: Value
help: |
Enable usage of specified mirror (for rpm, pip etc) [brq,qeos,tlv - or hostname].
(Specified mirror needs to proxy multiple rpm source hosts and pypi packages.)
updateto:
type: Value
help: |
Deprecated argument. Please use 'ocupdate' argument
default: None
ocupdate:
deprecates: updateto
type: Bool
help: |
Perform minor update of overcloud.
NOTE: Currently, minor update is supported with IR just for versions > 6.
default: False
director-build:
help: |
String represents a timestamp of the OSP director puddle
(for the given product core version). Only applies for
6 < OSPd < 10, and could be used with '--build' flag.
Note: for versions >= 10 only the --build flag should be used to
specify a puddle.
Supports any rhos-release labels.
Examples: "passed_phase1", "2016-08-11.1", "Y1", "Z3", "GA"
If missing, will equal to "latest".
type: Value
default: latest
build:
type: Value
help: |
In conjunction with '--ocupdate' or '--upgrade' specifies the build which to use.
When omitted with update/upgrade - uses 'latest'.
default: None
osrelease:
type: Value
help: |
Override the default RHEL version. Default 'ansible_distribution_version'
buildmods:
type: Value
help: |
List of flags for rhos-release module.
Currently works with
pin - pin puddle (dereference 'latest' links to prevent content from changing)
flea - enable flea repos
unstable - this will enable brew repos or poodles (in old releases)
cdn - use internal mirrors of the CDN repos. (internal use)
none - use none of those flags
default: pin
enable-testing-repos:
type: Value
help: |
Let you the option to enable testing/pending repos with rhos-release. Multiple values have to be coma separated.
Examples: --enable-testing-repos rhel,extras,ceph or --enable-testing-repos all
postreboot:
type: Bool
help: |
Reboot overcloud nodes one-by-one. By default don't reboot.
Useful with '--ocupdate' to reboot nodes after minor update,
or with '--deploy' to reboot after oc is deployed.
default: False
postreboot_evacuate:
type: Bool
help: |
Live migrate instances before rebooting compute nodes and migrate them back after
the node boots.
default: False
dataplaneping:
type: Bool
help: |
Validate connectivity to floating IP doesn't get interrupted during update/upgrade.
default: False
- title: Ironic Configuration
options:
vbmc-username:
type: Value
default: admin
help: |
VBMC username (Relevant when Ironic's driver is 'pxe_ipmitool' - OSP >= 11)
NOTE: If you use non default value for the option, and you execute introspection
and deploy (--introspect yes/--deploy yes) in different IR runs, you need to provide
the option on both runs.
vbmc-password:
type: Value
default: password
help: |
VBMC password (Relevant when Ironic's driver is 'pxe_ipmitool' - OSP >= 11)
NOTE: If you use non default value for the option, and you execute introspection
and deploy (--introspect yes/--deploy yes) in different IR runs, you need to provide
the option on both runs.
vbmc-host:
type: Value
default: hypervisor
choices:
- "hypervisor"
- "undercloud"
help: |
Specifies on what server the virtualbmc service should be installed.
NOTE: If you use non default value for the option, and you execute introspection
and deploy (--introspect yes/--deploy yes) in different IR runs, you need to provide
the option on both runs.
vbmc-force:
type: Bool
default: False
help: |
Specifies whether the vbmc (pxe_ipmitool ironic driver) should be used for
the OSP10 and below.
NOTE: If you use non default value for the option, and you execute introspection
and deploy (--introspect yes/--deploy yes) in different IR runs, you need to provide
the option on both runs.
resource-class-enabled:
type: Bool
default: True
help: |
Scheduling based on resource classes, a Compute service flavor is able to use the
node's resource_class field (available starting with Bare Metal API version 1.21)
for scheduling, instead of the CPU, RAM, and disk properties defined in the flavor.
A flavor can request exactly one instance of a bare metal resource class.
(https://docs.openstack.org/ironic/latest/install/configure-nova-flavors.html#scheduling-based-on-resource-classes)
Scheduling based on resource classes is enabled by default if OSP>=12. This option
allows to disable it.
Example: --resource-class-enabled False
resource-class-override:
type: NestedList
action: append
help: |
This option allows to create custom resource class and tie it to flavor and instances.
The 'node' field supports 'controller' or 'controller-0' patterns.
Example:
--resource-class-override name=baremetal-ctr,flavor=controller,node=controller
--resource-class-override name=baremetal-cmp,flavor=compute,node=compute-0
--resource-class-override name=baremetal-other,flavor=compute,node=swift-0:baremetal
root-disk-override:
type: NestedList
action: append
help: |
This option allows to define custom root disk for multi-disk nodes
The 'node' field supports 'controller' or 'controller-0' patterns.
The 'hint' is property's name that helps to identify the root disk, e.g: serial, wwn
The 'hintvalue' is a specific value for a hint's property, e.g: 123-asb-s1be
Example:
--root-disk-override node=controller,hint=size,hintvalue=50
--root-disk-override node=compute-0,hint=name,hintvalue=/dev/sda
--root-disk-override node=ceph,hint=rotational,hintvalue=false
If this parameter is not set, Infrared will set only ceph root_device to /dev/vda.
To override that behavior use -e ceph_default_disk_name=/dev/sdb option.
boot-mode:
type: Value
help: |
TripleO supports booting overcloud nodes in UEFI mode instead of the default BIOS mode.
This is required to use advanced features like secure boot, and some hardware may only
feature UEFI support.
default: bios
choices:
- bios
- uefi
ironic:
type: Bool
help: |
This options allows adding ironic templates to support overcloud deployment with ironic
enabled services. This is required for booting BM instances in overcloud.
default: False
ironic_inspector:
type: Bool
help: |
This options allows adding ironic-inspector templates to support introspection in overcloud.
Note that this option implicitly enables the ironic option.
default: False
image_direct_deploy:
type: Value
help: |
This option (when set to direct) sets the direct deploy flag on nodes in ironic, instead of the default
iscsi method.
default: iscsi
choices:
- iscsi
- direct
- title: ansible facts
options:
collect-ansible-facts:
type: Bool
help: Save ansible facts as json file(s)
default: False