Skip to content

Commit 951cfe8

Browse files
authored
Merge pull request #39019 from mburke5678/GH#38932
GH#38932: OKD - insecure ovirt config file is invalid
2 parents ac9531b + b1b562d commit 951cfe8

5 files changed

+45
-3
lines changed

modules/installation-initializing.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ endif::openshift-origin[]
346346
ifdef::openshift-origin[]
347347
[source,terminal]
348348
----
349-
$ curl -k -u ocpadmin@internal:pw123 \
349+
$ curl -k -u admin@internal:pw123 \
350350
https://ovirtlab.example.com/ovirt-engine/api
351351
----
352352
endif::openshift-origin[]
@@ -362,10 +362,18 @@ endif::openshift-origin[]
362362
----
363363
<1> For `<username>`, specify the user name of an {rh-virtualization} administrator. For `<profile>`, specify the login profile, which you can get by going to the {rh-virtualization} Administration Portal login page and reviewing the *Profile* dropdown list. Together, the user name and profile should look similar to this example:
364364
+
365+
ifndef::openshift-origin[]
365366
[source,terminal]
366367
----
367368
ocpadmin@internal
368369
----
370+
endif::openshift-origin[]
371+
ifdef::openshift-origin[]
372+
[source,terminal]
373+
----
374+
admin@internal
375+
----
376+
endif::openshift-origin[]
369377
+
370378
... For `oVirt engine password`, enter the {rh-virtualization} admin password.
371379
... For `oVirt cluster`, select the cluster for installing {product-title}.

modules/installation-launching-installer.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ endif::openshift-origin[]
363363
ifdef::openshift-origin[]
364364
[source,terminal]
365365
----
366-
$ curl -k -u ocpadmin@internal:pw123 \
366+
$ curl -k -u admin@internal:pw123 \
367367
https://ovirtlab.example.com/ovirt-engine/api
368368
----
369369
endif::openshift-origin[]

modules/installation-rhv-creating-install-config-file.adoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ $ openshift-install create install-config --dir $ASSETS_DIR
3030

3131
. Respond to the installation program's prompts with information about your system.
3232
+
33+
ifndef::openshift-origin[]
3334
.Example output
3435
[source,terminal]
3536
----
@@ -47,6 +48,26 @@ $ openshift-install create install-config --dir $ASSETS_DIR
4748
? Cluster Name <ocp4>
4849
? Pull Secret [? for help] <********>
4950
----
51+
endif::openshift-origin[]
52+
ifndef::openshift-origin[]
53+
.Example output
54+
[source,terminal]
55+
----
56+
? SSH Public Key /home/user/.ssh/id_dsa.pub
57+
? Platform <ovirt>
58+
? Engine FQDN[:PORT] [? for help] <engine.fqdn>
59+
? Enter ovirt-engine username <ocpadmin@internal>
60+
? Enter password <******>
61+
? oVirt cluster <cluster>
62+
? oVirt storage <storage>
63+
? oVirt network <net>
64+
? Internal API virtual IP <172.16.0.252>
65+
? Ingress virtual IP <172.16.0.251>
66+
? Base Domain <example.org>
67+
? Cluster Name <ocp4>
68+
? Pull Secret [? for help] <********>
69+
----
70+
endif::openshift-origin[]
5071

5172
For `Internal API virtual IP` and `Ingress virtual IP`, supply the IP addresses you specified when you configured the DNS service.
5273

modules/installing-rhv-insecure-mode.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ Installing in *insecure* mode is not recommended, because it enables a potential
2323

2424
. Add the following content to `ovirt-config.yaml`:
2525
+
26+
ifndef::openshift-origin[]
27+
[source,terminal]
28+
----
29+
ovirt_url: https://ovirt.example.com/ovirt-engine/api <1>
30+
ovirt_fqdn: ovirt.example.com <2>
31+
ovirt_pem_url: ""
32+
ovirt_username: ocpadmin@internal
33+
ovirt_password: super-secret-password <3>
34+
ovirt_insecure: true
35+
----
36+
endif::openshift-origin[]
37+
ifdef::openshift-origin[]
2638
[source,terminal]
2739
----
2840
ovirt_url: https://ovirt.example.com/ovirt-engine/api <1>
@@ -32,6 +44,7 @@ ovirt_username: admin@internal
3244
ovirt_password: super-secret-password <3>
3345
ovirt_insecure: true
3446
----
47+
endif::openshift-origin[]
3548
<1> Specify the hostname or address of your oVirt engine.
3649
<2> Specify the fully qualified domain name of your oVirt engine.
3750
<3> Specify the admin password for your oVirt engine.

modules/installing-rhv-verifying-rhv-environment.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ endif::openshift-origin[]
6969
ifdef::openshift-origin[]
7070
[source,terminal]
7171
----
72-
$ curl -k -u ocpadmin@internal:pw123 \
72+
$ curl -k -u admin@internal:pw123 \
7373
https://ovirtlab.example.com/ovirt-engine/api
7474
----
7575
endif::openshift-origin[]

0 commit comments

Comments
 (0)