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

Changing where staging action gets user id from for cloud data #845

Conversation

eiffel777
Copy link
Contributor

Changing where cloudstaging action gets user id from. Instead of using mod_shredder which does not exist in the xsede version use modw.systemaccount instead and add resource_id to join clause.

This also fixes this error.

ETL\EtlOverseer: Error verifying data endpoints:
('Cloud DB', class=ETL\DataEndpoint\Mysql, config=datawarehouse, schema=mod_shredder, host=tas-db1.ccr.buffalo.edu:3306, user=xdmod): Schema 'mod_shredder' does not exist for user 'xdmod'
#0 /data/www/xdmod/share/classes/ETL/EtlOverseer.php(379): ETL\EtlOverseer->verifyDataEndpoints(Object(ETL\Configuration\EtlConfiguration), true)
#1 /data/www/xdmod/share/tools/etl/etl_overseer.php(612): ETL\EtlOverseer->execute(Object(ETL\Configuration\EtlConfiguration))
#2 {main}

Motivation and Context

Prevents errors with being used with XSEDE and make sure user is retrieved from the correct resource

Tests performed

Manually verified in docker and all test pass

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…_shredder which does not exist in the xsede version use modw.systemaccount instead and add resource_id to join clause
@eiffel777 eiffel777 added bug Bugfixes Category:Cloud Cloud Realm labels Mar 8, 2019
@eiffel777 eiffel777 added this to the 8.1.0 milestone Mar 8, 2019
@eiffel777 eiffel777 self-assigned this Mar 8, 2019
@eiffel777 eiffel777 merged commit aaf96fd into ubccr:xdmod8.1 Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants