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

Superuser creation failure when stack doesn't reference backups #2738

Closed
scottx611x opened this issue May 3, 2018 · 1 comment
Closed

Superuser creation failure when stack doesn't reference backups #2738

scottx611x opened this issue May 3, 2018 · 1 comment

Comments

@scottx611x
Copy link
Member

  • Specific code commit: 120559a
  • Environment where the error occurred (Vagrant VM and site conf mode or AWS instance): AWS

Steps to reproduce

Please list all the actions and the input data used:

  1. Bring up a stack (terraform and cloudformation) that doesn't specify RDS_SNAPSHOT or DATA_SNAPSHOT
  2. Watch /var/log/cloud-init-output.log

Observed behavior

Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns:   File "/srv/refinery-platform/deployment/bin/generate-superuser", line 39, in <module>
Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns:     main()
Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns:   File "/srv/refinery-platform/deployment/bin/generate-superuser", line 19, in main
Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns:     with open("/home/ubuntu/s3-config") as inp:
Notice: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns: IOError: [Errno 2] No such file or directory: '/home/ubuntu/s3-config'
Error: /home/ubuntu/.virtualenvs/refinery-platform/bin/python /srv/refinery-platform/deployment/bin/generate-superuser > /srv/refinery-platform/refinery/core/fixtures/superuser.json.new returned 1 instead of one of [0]
Error: /Stage[main]/Refinery::Aws/Exec[generate_superuser_json]/returns: change from notrun to 0 failed: /home/ubuntu/.virtualenvs/refinery-platform/bin/python /srv/refinery-platform/deployment/bin/generate-superuser > /srv/refinery-platform/refinery/core/fixtures/superuser.json.new returned 1 instead of one of [0]
Notice: /Stage[main]/Refinery::Aws/Exec[copy_superuser_json]: Dependency Exec[generate_superuser_json] has failures: true

Expected behavior

  • Superuser to be created without errors
@scottx611x
Copy link
Member Author

This was my own fault, closing

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

No branches or pull requests

1 participant