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

Migration from beta.9 fails on google cloudsql #1224

Closed
tback opened this issue Dec 11, 2018 · 3 comments
Closed

Migration from beta.9 fails on google cloudsql #1224

tback opened this issue Dec 11, 2018 · 3 comments

Comments

@tback
Copy link

tback commented Dec 11, 2018

Describe the bug
Migration from beta.9 to 1.0.0.rc3-oryos9 fails on cloudsql:

Applying `jwk` SQL migrations...
Applied 0 `jwk` SQL migrations.
Applying `client` SQL migrations...
Applied 0 `client` SQL migrations.
Applying `consent` SQL migrations...
An error occurred while running the migrations: could not apply consent SQL migrations: Could not migrate sql schema, applied 0 migrations: pq: permission denied to set parameter "session_replication_role" handling 7

This is the same issue as the one reported as #1185. Unfortunately the solution doesn't work on cloudsql because the user does not have access to the superuser or replication privilege (https://cloud.google.com/sql/docs/postgres/users#postgresql_roles_and_users)

To Reproduce
Run beta9 with google cloudsql database. Update to rc3.

Expected behavior
I expect the migrations to apply without error.

Version:

  • Environment: Kubernetes (v1.10.7-gke.11)
  • Version v1.0.0-rc.3_oryOS.9
@aeneasr
Copy link
Member

aeneasr commented Dec 11, 2018

Dupe: #1221

@aeneasr aeneasr closed this as completed Dec 11, 2018
@tback
Copy link
Author

tback commented Dec 11, 2018

I assume you meant #1209 ?

@aeneasr
Copy link
Member

aeneasr commented Dec 11, 2018

Sorry, yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants