-
Notifications
You must be signed in to change notification settings - Fork 28
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
new role for changing engine from local to remote db #145
Open
leistnerova
wants to merge
32
commits into
rhevm-qe-automation:master
Choose a base branch
from
leistnerova:local_to_remote_db
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+508
−31
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a5e9ac7
new role for dumping engine and dwh databases
leistnerova e24a787
Merge remote-tracking branch 'upstream/master'
leistnerova 19b558e
new role ovirt-engine-local-to-remote-db for changing engine from loc…
leistnerova 556109f
update according to comments
leistnerova 0bedcf8
Merge branch 'master' of https://github.com/rhevm-qe-automation/ovirt…
leistnerova 9500dfa
tests form changine engine from local to remote db added, some fixes
leistnerova 739d1ad
fixing whitespaces
leistnerova 36ddc5e
separate test created
lukas-bednar 3235a69
default value in engine-cleanup fixed
leistnerova 9870d31
removed local to remove db flow from other tests
leistnerova e5543e0
check of engine status, reset if not running, remove db in the end
leistnerova a5e1f2a
Merge branch 'master' into local_to_remote_db
leistnerova bf33241
Update .travis.yml
leistnerova 66b4438
text fixed, example of inventory
leistnerova 8994178
Merge branch 'local_to_remote_db' of github.com:leistnerova/ovirt-ans…
leistnerova e57c2e3
travis.yml fix
leistnerova 9691c80
Merge remote-tracking branch 'upstream/master'
leistnerova 532616e
fix for test-promote-db-local-to-remote.yml - load all containers facts
leistnerova 1a389c9
fix of become postgres user
leistnerova e1399a1
changes for ovirt >= 4.2
leistnerova 7f7d264
fix on getting variables from engine settings
leistnerova 12bc29c
condition of dwh db added back to dump db
leistnerova 90e4605
update of README
leistnerova 90aaca1
change of remove db variable, fix ovirt_engine_version
leistnerova 3169b17
fix ovirt_engine_version
leistnerova 29d776e
gix db_dump_local_dir variable use
leistnerova 0c1ad97
Merge remote-tracking branch 'upstream/master'
leistnerova e8ab3ff
Merge branch 'master' into local_to_remote_db
leistnerova 951141f
test in README added, fix restoring db
leistnerova 064bffb
fixing only reset usage
leistnerova 0df0b0e
Merge branch 'master' into local_to_remote_db
leistnerova 9a29cbb
Merge branch 'master' into local_to_remote_db
petr-balogh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/engine-local-to-remote-db.yml → tests/promote-db-local-to-remote.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
- name: Change engines local to remote db | ||
hosts: engine-local-db remote-db-migrate | ||
hosts: engine remote-db | ||
roles: | ||
- role: ovirt-engine-local-to-remote-db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
- include: containers-deploy.yml | ||
- include: engine-deploy.yml | ||
vars: | ||
engine_db_host: "localhost" | ||
engine_dwh_db_host: "localhost" | ||
ovirt_engine_version: "4.1" | ||
ovirt_rpm_repo: "http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm" | ||
|
||
- include: promote-db-local-to-remote.yml | ||
|
||
- include: engine-cleanup.yml | ||
vars: | ||
engine_db_host: "localhost" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. when I move db from local to remote, then here in cleanup I should point to remote one then, no? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 |
||
engine_dwh_db_host: "localhost" | ||
ovirt_engine_version: "4.1" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the trailing
)
in['address'])
here is causing the interpolation errorThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I have overlooked that. I will fix it.