Bug 1449561
| Summary: | [RFE] allow changing the gateway IP hosted-engine-ha checks use | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-hosted-engine-ha | Reporter: | Evgheni Dereveanchin <ederevea> |
| Component: | RFEs | Assignee: | Martin Sivák <msivak> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.1.0.6 | CC: | bugs, dfediuck, mavital, mgoldboi, msivak, stirabos |
| Target Milestone: | ovirt-4.3.0 | Keywords: | FutureFeature, TestOnly, Triaged |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.3?
mavital: testing_plan_complete? rule-engine: planning_ack? rule-engine: devel_ack+ rule-engine: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-02-13 07:45:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1457357 | ||
| Bug Blocks: | |||
|
Description
Evgheni Dereveanchin
2017-05-10 09:22:25 UTC
Also, what would be the current manual process of changing the router IP? Is it enough to edit /etc/ovirt-hosted-engine/hosted-engine.conf on hosts one by one and reboot them? Jenny, is this supported using the HE config utility? Actually the gateway address is host specific and is changeable manually in /etc/ovirt-hosted-engine/hosted-engine.conf. Lets use this bug to track an RFE of puting the gateway IP to the shared configuration. This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?. (In reply to Martin Sivák from comment #4) > Lets use this bug to track an RFE of puting the gateway IP to the shared > configuration. Or having an Ansible role to configure it locally across all hosts... (I wonder if ovirt hosts facts have the information who is a HE host...). (BTW, if we move to DNS queries, we'll still need this - which address you are trying to resolve?) We know the hosts addresses from the metadata, but we do not have the credentials to ssh there. So ansible is out of the question unless the engine is up (it knows the hosts and it has ssh keys). This has been implemented in 4.2.2 as part of https://bugzilla.redhat.com/show_bug.cgi?id=1543988 In short, I've got some explanations from Martin, this RFE is all about changing the pingable IP address from existing to another, by default pingable IP address that was set during deployment taken from default gateway, but it is not mandatory to be it, it can be any external pingable IP address.
Please provide me with documentation on how should "pingable" IP address be changed in order to verify this RFE.
# hosted-engine --set-shared-config --help
Usage: /usr/sbin/hosted-engine --set-shared-config key value [--type=<type>]
Set shared storage configuration.
Valid types are: he_local, he_shared, ha, broker.
Available only after deployment has completed.
New values for he_shared (hosted-engine.conf source on the shared storage)
will be used by all hosts (re)deployed after the configuration change.
Currently running hosts will still use the old values.
New values for he_local will be set in the local instance of
he configuration file on the local host.
[root@alma03 ~]# hosted-engine --set-shared-config --type=he_shared
You must specify a new value to set
[root@alma03 ~]# hosted-engine --set-shared-config --type=he_shared xx
Moving to ON_QA according to https://bugzilla.redhat.com/show_bug.cgi?id=1449561#c8 Works for me on HE environment, which was deployed on FC storage domain.
puma18 ~]# hosted-engine --set-shared-config --help
Usage: /usr/sbin/hosted-engine --set-shared-config key value [--type=<type>]
Set shared storage configuration.
Valid types are: he_local, he_shared, ha, broker.
Available only after deployment has completed.
New values for he_shared (hosted-engine.conf source on the shared storage)
will be used by all hosts (re)deployed after the configuration change.
Currently running hosts will still use the old values.
New values for he_local will be set in the local instance of
he configuration file on the local host.
[root@puma18 ~]# hosted-engine --get-shared-config --help
Usage: /usr/sbin/hosted-engine --get-shared-config key [--type=<type>]
Get shared storage configuration.
Valid types are: he_local, he_shared, ha, broker.
Available only after deployment has completed.
puma18 ~]# hosted-engine --get-shared-config gateway --type=he_shared
gateway : 10.35.163.254, type : he_shared
puma18 ~]# hosted-engine --get-shared-config gateway --type=he_local
gateway : 10.35.163.254, type : he_local
puma18 ~]# hosted-engine --set-shared-config gateway 8.8.8.8 --type=he_shared
[root@puma18 ~]# hosted-engine --get-shared-config gateway --type=he_shared
gateway : 8.8.8.8, type : he_shared
puma18 ~]# hosted-engine --get-shared-config gateway --type=he_local
gateway : 10.35.163.254, type : he_local
Tested on:
ovirt-hosted-engine-ha-2.3.0-0.2.master.20181212075523.gitde89e03.el7.noarch
ovirt-hosted-engine-setup-2.3.0-0.2.master.20181211213852.git82b1918.el7.noarch
ovirt-engine-appliance-4.3-20181211.1.el7.noarch
Linux 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 15 17:36:42 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.6 (Maipo)
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |