Skip to content

Conversation

@chusopr
Copy link
Contributor

@chusopr chusopr commented Nov 23, 2022

When the backups storage path is not set, it defaults to the logs bucket as that's the current behaviour:

common__backups_path: "{{ infra.storage.path.backups | default(common__logs_path) }}"

Tested by deploying an environment where the backup storage bucket was explicitly set to be different than the logs one and another one where it was not set.

Signed-off-by: Jesus Perez Rey <jprey@bluemetrix.com>
@wmudge wmudge requested a review from a team April 17, 2023 21:27
@wmudge wmudge added the enhancement MINOR - New feature or enhancement in the CHANGELOG label Apr 17, 2023
@wmudge wmudge added this to the Release 2.1.0 milestone Oct 5, 2023
@wmudge wmudge modified the milestones: Release 2.1.0, Release 2.2.0 Nov 2, 2023
@wmudge wmudge modified the milestones: Release 2.2.0, Release 2.3.0 Nov 20, 2023
Copy link
Contributor

@jimright jimright left a comment

Choose a reason for hiding this comment

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

Hi @chusopr,

Apologies for the delay in getting to this PR. All looks good apart from one change to the backup_location parameter in cloudera.cloud.env.

Once that's in place we will aim to get the update into the next release.

public_ip: "{{ plat__use_public_ip }}"
log_location: "gs://{{ plat__gcp_storage_location_logs }}"
log_identity: "{{ plat__gcp_log_identity_name }}@{{ plat__gcp_project }}.iam.gserviceaccount.com"
backups_location: "gs://{{ plat__gcp_storage_location_backups }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This cloudera.cloud.env parameter is called backup_location.

I think it's because we used the change from cloudera-labs/cloudera.cloud#95 instead of cloudera-labs/cloudera.cloud#80.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it would make sense changing the rest of the variable names (infra.gcp.storage.path.backups, env.gcp.storage.path.backups, common__backups_path, etc) also to singular for consistency?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes that would be good. Although I see that log(s) has the same inconsistencies!

@jimright jimright self-assigned this Dec 20, 2023
@jimright
Copy link
Contributor

Closing as changes have been added in #172.

@jimright jimright closed this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement MINOR - New feature or enhancement in the CHANGELOG

Development

Successfully merging this pull request may close these issues.

3 participants