Skip to content
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

Adding a host using 'add_physical_host' does not allow for Oracle discovery (if used against Rubrik CDM 5.2) #244

Open
JanPillarRubrik opened this issue Jul 20, 2020 · 0 comments
Labels

Comments

@JanPillarRubrik
Copy link
Contributor

Expected Behavior

Adding a host using 'add_physical_host' does not allow for Oracle discovery (if used against Rubrik CDM 5.2)

Current Behavior

Currently, 'add_physical_host' does not take parameter whether to discover Oracle and what the username of Oracle user should be.
When adding a Linux / Unix host this way, the host is added but Oracle discovery is not selected for the host in Rubrik CDM 5.2.

Failure Information (for bugs)

None

Steps to Reproduce

(1) Have Rubrik CDM 5.2 cluster or EDGE.
(2) Run add_physical_host for a host which has Oracle on it.
(3) The host is added but Oracle discovery is not enabled.

Context

The issue is that the Python SDK (physical.py) adds the host using two out of 4 parameters used by 5.2:

return self.post('internal', '/host/bulk', config, timeout)

However, in Rubrik CDM 5.2, you need to provide two additional pieces of information for Oracle discovery in the bulk API:

[{"hostname":"192.168.200.85","hasAgent":true,"isOracleHost":true,"oracleSysDbaUser":"oracle"}]

"isOracleHost" and "oracleSysDbaUser" are not currently included in the Ansible or SDK options.

This is also affecting Rubrik Ansible module and 'rubrik_physical_host_action' which relies on this SDK - see: rubrikinc/rubrik-modules-for-ansible#99

  • Version of project: 2.0.10
  • Version of Rubrik CDM: 5.2.0
  • Version of operating system: Oracle Linux Server 7.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant