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

verify upgrade targets separately for each group (masters, nodes, etcd) #4321

Merged

Conversation

ingvagabund
Copy link
Member

So we don't check docker and rpm version on nodes if we upgrade the control plane only.

@ingvagabund
Copy link
Member Author

aos-ci-test

@openshift-bot
Copy link

error: aos-ci-jenkins/OS_3.6_containerized for 5374537 (logs)

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

@ingvagabund
Copy link
Member Author

aos-ci-test

ingvagabund added a commit to ingvagabund/openshift-ansible that referenced this pull request May 31, 2017
Copy link
Member

@ashcrow ashcrow left a comment

Choose a reason for hiding this comment

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

I'm a little worried about some of the commands in relation to atomic hosts.

shell: "rpm -q --queryformat '---\ncurr_version: %{VERSION}\navail_version: \n' docker"
register: g_atomic_docker_version_result
when: openshift.common.is_atomic | bool
- name: Determine available Docker
Copy link
Member

Choose a reason for hiding this comment

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

Reminder: This will fail on container-engine instances in the future. However, the same method used to gain docker version on atomic will work.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have not modified the file, just removed the play part and kept all tasks. I can polish the task files if needed. However, we should fix this as a part of another PR, e.g. "towards atomic compatibility".

Copy link
Member Author

Choose a reason for hiding this comment

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

Anyway, I would rather replace the shell with repoquery module and extend the module to be runnable on atomic as well.


- name: Verify containers are available for upgrade
- when: not openshift.common.is_containerized | bool
Copy link
Member

Choose a reason for hiding this comment

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

Not sure, but I don't think this would work on atomic either.

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

@openshift-bot
Copy link

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

Copy link
Member

@ashcrow ashcrow left a comment

Choose a reason for hiding this comment

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

My only ask on this is that a card be put in the backlog to make our hosts Atomic Host friendly and that it get prioritized highly.

@ingvagabund
Copy link
Member Author

[merge][severity: blocker]

@openshift-bot
Copy link

Evaluated for openshift ansible merge up to b54a329

@openshift-bot
Copy link

openshift-bot commented Jun 2, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_openshift_ansible/498/) (Base Commit: 47a269e) (Extended Tests: blocker)

@openshift-bot openshift-bot merged commit b0ce311 into openshift:master Jun 2, 2017
@ingvagabund ingvagabund deleted the verify-targets-separatelly branch June 3, 2017 08:49
@ingvagabund ingvagabund mentioned this pull request Jun 5, 2017
21 tasks
ingvagabund added a commit to ingvagabund/openshift-ansible that referenced this pull request Jun 5, 2017
ingvagabund added a commit to ingvagabund/openshift-ansible that referenced this pull request Jun 5, 2017
ingvagabund added a commit to ingvagabund/openshift-ansible that referenced this pull request Jun 6, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants