-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
role: hosted_engine_setup: Use ovirt_host module #275
Conversation
Use `ovirt_host` module to discover iSCSI instead of using REST API. Requires a change in ovirt-hosted-engine-setup and cockpit-ovirt Bug-Url: https://bugzilla.redhat.com/1922748 Signed-off-by: Asaf Rachmani <arachman@redhat.com>
Requires the following changes: |
Verified using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The change [1] in hosted_engine_setup role impacts the structure of the otopi_iscsi_targets variable [1] oVirt/ovirt-ansible-collection#275 Bug-Url: https://bugzilla.redhat.com/1922748 Signed-off-by: Asaf Rachmani <arachman@redhat.com> Change-Id: Ieaa7a787e2815ed26e94c33d3109ea3ad176065e
username: "{{ he_iscsi_discover_username }}" | ||
password: "{{ he_iscsi_discover_password }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if these parameters are null maybe it will be better to omit them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's possible.
Content-Type: application/json | ||
Accept: application/json | ||
Authorization: "Basic {{ ('admin@internal' + ':' + he_admin_password ) | b64encode }}" | ||
- name: iSCSI discover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with this change, I think you need to remove lines # 3-11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'll do remove these lines.
Use
ovirt_host
module to discover iSCSIinstead of using REST API.
Requires a change in ovirt-hosted-engine-setup and cockpit-ovirt
Bug-Url: https://bugzilla.redhat.com/1922748
Signed-off-by: Asaf Rachmani arachman@redhat.com