Skip to content

Fixes to storage migration - #4533

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
sdodson:storage-migration-fixes
Jul 3, 2017
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
sdodson:storage-migration-fixes

Conversation

@sdodson

@sdodson sdodson commented Jun 21, 2017

Copy link
Copy Markdown
Member

This changes to perform a complete storage migration pre upgrade, a migration of clusterpolices after upgrade but before policy reconciliation, and a complete storage migration after policy reconciliation.

@sdodson
sdodson requested a review from mtnbikenc June 21, 2017 19:46
@sdodson

sdodson commented Jun 21, 2017

Copy link
Copy Markdown
Member Author

@enj please verify process here

@sdodson

sdodson commented Jun 21, 2017

Copy link
Copy Markdown
Member Author

@smarterclayton you too

@sdodson

sdodson commented Jun 21, 2017

Copy link
Copy Markdown
Member Author

[test]

- reconcile_scc_result.rc == 0
run_once: true

- name: Migrate storage post policy reconcile

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This looks to be a PLAY that needs to be outdented from the preceding TASK phase. See Travis errors.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Made it a task in the play and made it run_once.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We should revisit why this entire play's tasks are run_once, I guess that's so that we can set the fact on all masters but only run the data manipulation stuff once.

@enj

enj commented Jun 22, 2017

Copy link
Copy Markdown
Contributor

openshift/origin#14764 is merged so this should work now.

@sdodson
sdodson force-pushed the storage-migration-fixes branch from 7048755 to 4fb156b Compare June 22, 2017 16:25
@sdodson
sdodson force-pushed the storage-migration-fixes branch from 4fb156b to c4e546e Compare June 22, 2017 16:40
@sdodson

sdodson commented Jun 22, 2017

Copy link
Copy Markdown
Member Author

[test]

@sdodson

sdodson commented Jun 28, 2017

Copy link
Copy Markdown
Member Author

aos-ci-test

@sdodson

sdodson commented Jun 28, 2017

Copy link
Copy Markdown
Member Author

[test]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible test up to c4e546e

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.5_NOT_containerized, aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests" for c4e546e (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_NOT_containerized, aos-ci-jenkins/OS_3.6_NOT_containerized_e2e_tests" for c4e546e (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.5_containerized, aos-ci-jenkins/OS_3.5_containerized_e2e_tests" for c4e546e (logs)

@openshift-bot

Copy link
Copy Markdown

success: "aos-ci-jenkins/OS_3.6_containerized, aos-ci-jenkins/OS_3.6_containerized_e2e_tests" for c4e546e (logs)

@openshift-bot

Copy link
Copy Markdown

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible/292/) (Base Commit: 03179d8) (PR Branch Commit: c4e546e)

@sdodson

sdodson commented Jun 30, 2017

Copy link
Copy Markdown
Member Author

@mtnbikenc can you take another look at the recent changes?

@sdodson

sdodson commented Jul 3, 2017

Copy link
Copy Markdown
Member Author

[merge]

@openshift-bot

Copy link
Copy Markdown

Evaluated for openshift ansible merge up to c4e546e

@openshift-bot

openshift-bot commented Jul 3, 2017 •

Copy link
Copy Markdown

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/665/) (Base Commit: d5d909e) (PR Branch Commit: c4e546e)

@sdodson

sdodson commented Jul 6, 2017

Copy link
Copy Markdown
Member Author

@smarterclayton here's the storage migration steps performed on master

- reconcile_scc_result.rc == 0
run_once: true

- name: Upgrade job storage

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sdodson I believe this is named incorrectly.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants