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

roachprod: change file permissions on prom/grafana files to 0777 #84670

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

msbutler
Copy link
Collaborator

@msbutler msbutler commented Jul 19, 2022

Previously, if a user ran the grafana-start cmd on a roachprod cluster they did not spin up, the command would fail because of file permission errors. This patch prevents this.

@msbutler msbutler added the A-testing Testing tools and infrastructure label Jul 19, 2022
@msbutler msbutler requested a review from irfansharif July 19, 2022 19:35
@msbutler msbutler self-assigned this Jul 19, 2022
@msbutler msbutler requested a review from a team as a code owner July 19, 2022 19:35
@msbutler msbutler requested review from stevendanna and removed request for a team July 19, 2022 19:35
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@msbutler msbutler requested review from tbg and removed request for stevendanna July 19, 2022 19:36
Copy link
Contributor

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

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

Thanks!

@msbutler
Copy link
Collaborator Author

bors r=irfansharif

@renatolabs
Copy link
Contributor

Could someone share the context for this change? I imagine the previous permissions led to a failure somewhere.

@msbutler
Copy link
Collaborator Author

oof, my bad -- I didn't add a commit msg. Just updated the top comment in the PR.

@craig
Copy link
Contributor

craig bot commented Jul 19, 2022

Build succeeded:

@craig craig bot merged commit 121f416 into cockroachdb:master Jul 19, 2022
@msbutler msbutler deleted the roachprod-chmod branch July 20, 2022 14:02
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Jul 22, 2022
Recent regression from cockroachdb#84670. Was seeing the following:

    chmod: cannot access '/etc/grafana/provisioning/dashboards/cockroach.yaml': No such file or directory
    chmod: cannot access '/etc/grafana/provisioning/datasources/prometheus.yaml': No such file or directory

Release note: None
craig bot pushed a commit that referenced this pull request Jul 22, 2022
84689: opt: allow lookup joins to order on index columns r=DrewKimball a=DrewKimball

It is possible for lookup joins to return the results of each lookup
in the order of the lookup index. In the case when the input is ordered
on a key, preserving the input ordering and then returning looked-up rows
in index order is equivalent to performing a sort on the input ordering
with the index columns appended.

This patch teaches the optimizer that lookup joins can preserve the index
ordering. This allows the optimizer to avoid sorting in some cases, which
can significantly improve performance because sorts have to buffer all input
rows.

Fixes #84685

Release note: None

84920: sql: skip TestInformationSchemaMySQL r=wenyihu6 a=wenyihu6

Refs: #84915

Reason: There is a mismatch between MySQL version and CRDB in
`pg_metadata_test.go`. More details in the issue above.

Generated by bin/skip-test.

Release justification: non-production code changes

Release note: None

84930: roachprod: fix grafana-start permission issue r=irfansharif a=irfansharif

Recent regression from #84670. Was seeing the following:

    chmod: cannot access '/etc/grafana/provisioning/dashboards/cockroach.yaml': No such file or directory
    chmod: cannot access '/etc/grafana/provisioning/datasources/prometheus.yaml': No such file or directory

Release note: None

Co-authored-by: DrewKimball <[email protected]>
Co-authored-by: wenyihu3 <[email protected]>
Co-authored-by: irfan sharif <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Testing tools and infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants