Skip to content

Conversation

@ManviGupta-prog
Copy link
Contributor

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 17, 2025
@@ -0,0 +1,11 @@
data "oci_identity_tenancy" "test_tenancy" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this named "test_tenancy"? We should give it a different name. I suspect this was lifted directly from OCI sample code where everything is "test_something".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You renamed this to "tenancy_ocid". That really isn't what this is. Sure, we're only getting the tenancy so we can get its ocid, but what is actually returned is the full tenancy info. Maybe rename to "current_tenancy" or "user_tenancy"?

@telake
Copy link
Member

telake commented Apr 18, 2025

I'm not seeing a way to specify an existing profile, but maybe I'm missing that. I saw from your slack message that you don't think this should be available in the UI (to be discussed), but why not in the terraform?

plugin_policy_statement2 = "Allow dynamic-group ${oci_identity_dynamic_group.wlsc_instance_principal_group.name} to use wlms-managed-instance-plugins in tenancy"
plugin_policy_statement = compact([local.plugin_policy_statement1, local.plugin_policy_statement2])

#Policies required for enabling the osmh plugin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a corresponding orahub MR. Is this all going to be done through terraform? If so then we don't need dynamic group policies. If there is going to be an image change to scripts for the enabling please explain in that MR why we need these policies. These are very powerful root privileges.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

…efore profile creation to avoid failure scenarios
Copy link
Member

@telake telake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, but I'd really like comment #316 (comment) addressed. tenancy_ocid is just not a good name. I can live with it, but it doesn't really reflect what resource is being returned; the resource is a tenancy but we just happen to use this to get the tenancy ocid.

"ol8_mysql80_tools_community-x86_64",
"ol8_uekr7-x86_64",
"ol8_mysql80_community-x86_64"
]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to provide mysql packages from OSMH OOB? WLS for OCI recommends using Oracle database in general. This is more a PM question if we want to provides updates to mysql by default.

@telake telake merged commit f73ad12 into development Apr 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants