Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Removing package version hold when es_version_hold: false #601

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

LukeRoz
Copy link

@LukeRoz LukeRoz commented Aug 19, 2019

Fix for #499

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@ghost
Copy link

ghost commented Aug 19, 2019

Hi @LukeRoz, we have found your signature in our records, but it seems like you have signed with a different e-mail than the one used in your Git commit. Can you please add both of these e-mails into your Github profile (they can be hidden), so we can match your e-mails to your Github profile?

@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch from 94b9525 to b9774ad Compare August 19, 2019 15:37
@jmlrt
Copy link
Member

jmlrt commented Sep 4, 2019

jenkins test this please

@jmlrt
Copy link
Member

jmlrt commented Sep 4, 2019

@LukeRoz test are failing on CentOS with the following error:

07:53:52        TASK [elasticsearch : RedHat - check elasticsearch version lock] ***************
07:53:53         [WARNING]: Consider using the yum module rather than running 'yum'.  If you
07:53:53        need to use command because yum is insufficient you can add 'warn: false' to
07:53:53        this command task or set 'command_warnings=False' in ansible.cfg to get rid of
07:53:53        this message.
07:53:53        
07:53:53        fatal: [localhost]: FAILED! => {"changed": true, "cmd": "yum versionlock list | grep -c elasticsearch", "delta": "0:00:00.698033", "end": "2019-09-04 07:53:53.894887", "msg": "non-zero return code", "rc": 1, "start": "2019-09-04 07:53:53.196854", "stderr": "", "stderr_lines": [], "stdout": "0", "stdout_lines": ["0"]}

https://devops-ci.elastic.co/job/elastic+ansible-elasticsearch+pull-request/41/OS=centos-7,TEST_TYPE=oss,VERSION=7.x,label=linux/console

tasks/elasticsearch-RedHat-version-lock.yml Outdated Show resolved Hide resolved
@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch from b9774ad to d421b4f Compare September 4, 2019 14:53
@jmlrt
Copy link
Member

jmlrt commented Sep 4, 2019

jenkins test this please

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

unhold elasticsearch package when switching to a different package type task on debian and RedHat - unlock elasticsearch version task on redhat are failing at idempotency tests:

These tasks shouldn't change anything during the second ansible deployment.

@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch from 9ebd4b6 to 7806d23 Compare September 5, 2019 10:05
@jmlrt
Copy link
Member

jmlrt commented Sep 5, 2019

jenkins test this please

1 similar comment
@jmlrt
Copy link
Member

jmlrt commented Sep 5, 2019

jenkins test this please

@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch from d0ae673 to aed5bcd Compare September 5, 2019 11:51
@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch 2 times, most recently from 6a69739 to 09b90aa Compare September 5, 2019 14:29

- name: RedHat - unlock elasticsearch version
become: yes
shell: yum versionlock delete 0:elasticsearch* | cat
Copy link
Member

Choose a reason for hiding this comment

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

why do you need a | cat here?

Copy link
Author

Choose a reason for hiding this comment

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

Hm... OK, | cat is unnecessary now. Deleting.

@jmlrt
Copy link
Member

jmlrt commented Sep 5, 2019

jenkins test this please

@LukeRoz LukeRoz force-pushed the fixing-package-version-hold branch from 09b90aa to fd3ceed Compare September 6, 2019 09:09
@jmlrt
Copy link
Member

jmlrt commented Sep 6, 2019

jenkins test this please

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@jmlrt jmlrt merged commit 2d1bbf5 into elastic:master Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants