Skip to content

Commit b1b562d

Browse files
committed
GH#38932: OKD - insecure ovirt config file is invalid
1 parent 46c3ced commit b1b562d

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
@@ -310,7 +310,7 @@ endif::openshift-origin[]
310310
ifdef::openshift-origin[]
311311
[source,terminal]
312312
----
313-
$ curl -k -u ocpadmin@internal:pw123 \
313+
$ curl -k -u admin@internal:pw123 \
314314
https://ovirtlab.example.com/ovirt-engine/api
315315
----
316316
endif::openshift-origin[]
@@ -326,10 +326,18 @@ endif::openshift-origin[]
326326
----
327327
<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:
328328
+
329+
ifndef::openshift-origin[]
329330
[source,terminal]
330331
----
331332
ocpadmin@internal
332333
----
334+
endif::openshift-origin[]
335+
ifdef::openshift-origin[]
336+
[source,terminal]
337+
----
338+
admin@internal
339+
----
340+
endif::openshift-origin[]
333341
+
334342
... For `oVirt engine password`, enter the {rh-virtualization} admin password.
335343
... 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
@@ -335,7 +335,7 @@ endif::openshift-origin[]
335335
ifdef::openshift-origin[]
336336
[source,terminal]
337337
----
338-
$ curl -k -u ocpadmin@internal:pw123 \
338+
$ curl -k -u admin@internal:pw123 \
339339
https://ovirtlab.example.com/ovirt-engine/api
340340
----
341341
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
@@ -29,6 +29,7 @@ $ openshift-install create install-config --dir $ASSETS_DIR
2929

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

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

modules/installing-rhv-insecure-mode.adoc

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

2323
. Add the following content to `ovirt-config.yaml`:
2424
+
25+
ifndef::openshift-origin[]
26+
[source,terminal]
27+
----
28+
ovirt_url: https://ovirt.example.com/ovirt-engine/api <1>
29+
ovirt_fqdn: ovirt.example.com <2>
30+
ovirt_pem_url: ""
31+
ovirt_username: ocpadmin@internal
32+
ovirt_password: super-secret-password <3>
33+
ovirt_insecure: true
34+
----
35+
endif::openshift-origin[]
36+
ifdef::openshift-origin[]
2537
[source,terminal]
2638
----
2739
ovirt_url: https://ovirt.example.com/ovirt-engine/api <1>
@@ -31,6 +43,7 @@ ovirt_username: admin@internal
3143
ovirt_password: super-secret-password <3>
3244
ovirt_insecure: true
3345
----
46+
endif::openshift-origin[]
3447
<1> Specify the hostname or address of your oVirt engine.
3548
<2> Specify the fully qualified domain name of your oVirt engine.
3649
<3> Specify the 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
@@ -68,7 +68,7 @@ endif::openshift-origin[]
6868
ifdef::openshift-origin[]
6969
[source,terminal]
7070
----
71-
$ curl -k -u ocpadmin@internal:pw123 \
71+
$ curl -k -u admin@internal:pw123 \
7272
https://ovirtlab.example.com/ovirt-engine/api
7373
----
7474
endif::openshift-origin[]

0 commit comments

Comments
 (0)