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

Version 6.2.4.1 not found #464

Closed
cmodijk opened this issue Jul 2, 2018 · 6 comments
Closed

Version 6.2.4.1 not found #464

cmodijk opened this issue Jul 2, 2018 · 6 comments

Comments

@cmodijk
Copy link

cmodijk commented Jul 2, 2018

On Mon Jun 25 08:14:55 2018 I was able to install the 6.2.4.1 version of this role but today I'm getting a error that this version does not exists but this version has a fix that i'm not able to install now. It seems that the 6.2.4.1 version does not exists on ansible galaxy anymore.

requirements.yml

- src: elastic.elasticsearch
  version: 6.2.4.1
  name: elastic.elasticsearch

Provide logs from Ansible:

ansible-galaxy install -r roles/requirements.yml -p ./roles/ --force

- downloading role 'elasticsearch', owned by elastic
 [WARNING]: - elastic.elasticsearch was NOT installed successfully: - the specified version (6.2.4.1) of elastic.elasticsearch was not found in the list of available versions ([{u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.2.4.tar.gz', u'name': u'6.2.4', u'created': u'2018-04-24T17:55:43.179163Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:01.645573Z', u'related': {}, u'commit_date': u'2018-04-24T13:43:29-04:00', u'version': u'6.2.4', u'commit_sha': None, u'active': None, u'id': 58698}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/5.5.1.tar.gz', u'name': u'5.5.1', u'created': u'2017-08-20T21:40:54.301961Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:02.589920Z', u'related': {}, u'commit_date': u'2017-08-20T17:19:33-04:00', u'version': u'5.5.1', u'commit_sha': None, u'active': None, u'id': 37014}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.2.3.tar.gz', u'name': u'6.2.3', u'created': u'2018-03-21T08:46:32.631020Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:01.822475Z', u'related': {}, u'commit_date': u'2018-03-21T04:37:36-04:00', u'version': u'6.2.3', u'commit_sha': None, u'active': None, u'id': 55358}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.3.0.tar.gz', u'name': u'6.3.0', u'created': u'2018-06-20T06:09:47.724819Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:01.305730Z', u'related': {}, u'commit_date': u'2018-06-20T02:06:15-04:00', u'version': u'6.3.0', u'commit_sha': None, u'active': None, u'id': 67992}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/0.1.1.tar.gz', u'name': u'0.1.1', u'created': u'2017-01-05T16:27:10.289887Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:03.067321Z', u'related': {}, u'commit_date': u'2016-03-21T13:49:20-04:00', u'version': u'0.1.1', u'commit_sha': None, u'active': None, u'id': 24048}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.1.3.tar.gz', u'name': u'6.1.3', u'created': u'2018-02-01T14:54:05.743157Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:02.229410Z', u'related': {}, u'commit_date': u'2018-02-01T09:43:31-05:00', u'version': u'6.1.3', u'commit_sha': None, u'active': None, u'id': 52296}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/0.1.2.tar.gz', u'name': u'0.1.2', u'created': u'2017-01-05T16:27:09.825310Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:02.884520Z', u'related': {}, u'commit_date': u'2016-08-29T12:06:09-04:00', u'version': u'0.1.2', u'commit_sha': None, u'active': None, u'id': 24047}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.2.2.tar.gz', u'name': u'6.2.2', u'created': u'2018-02-22T11:40:25.757879Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:02.028412Z', u'related': {}, u'commit_date': u'2018-02-22T06:29:52-05:00', u'version': u'6.2.2', u'commit_sha': None, u'active': None, u'id': 53829}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/0.1.0.tar.gz', u'name': u'0.1.0', u'created': u'2017-01-05T16:27:10.858104Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:03.214038Z', u'related': {}, u'commit_date': u'2016-01-19T10:07:39-05:00', u'version': u'0.1.0', u'commit_sha': None, u'active': None, u'id': 24049}, {u'download_url':
u'https://github.com/elastic/ansible-elasticsearch/archive/6.3.0.1.tar.gz', u'name': u'6.3.0.1', u'created': u'2018-06-28T13:11:01.006603Z', u'url': u'', u'summary_fields': {}, u'modified':
u'2018-06-28T13:11:01.166417Z', u'related': {}, u'commit_date': u'2018-06-28T09:08:37-04:00', u'version': None, u'commit_sha': None, u'active': None, u'id': 69925}]).

ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.

Resources

@Crazybus
Copy link
Contributor

Crazybus commented Jul 2, 2018

Hi @cmodijk

It looks like a new major release of ansible.galaxy.com happened over the weekend. https://github.com/ansible/galaxy/releases/tag/v3.0.0 .

There is already an open issue about this which they are marking as "won't fix" ansible/galaxy#782. I'm going to see if I can re-release it as 6.2.4-1

@Crazybus
Copy link
Contributor

Crazybus commented Jul 2, 2018

So reimporting it is now failing because enforced linting has also been added to the import workflow in ansible/galaxy#415. The silly thing is that the linting is failing on stuff like the .kitchen.yml which has nothing to do with the ansible role itself.

Is it possible for you to use ansible-galaxy install https://github.com/elastic/ansible-elasticsearch/archive/6.2.4.1.tar.gz in the meantime? This doesn't look like it is going to be a simple fix.

@cmodijk
Copy link
Author

cmodijk commented Jul 2, 2018

@Crazybus Thanks for the quick response I changed my requirements.yml to the items below and that seems to bypass the ansible galaxy repository.

- src: 'https://github.com/elastic/ansible-elasticsearch.git'
  scm: git
  name: elastic.elasticsearch
  version: 6.2.4.1

Do you want to keep this open or close it as it is a "wontfix" issue for ansible galaxy?

@Crazybus
Copy link
Contributor

Crazybus commented Jul 2, 2018

Lets close it for now. Since for people who specifically want to use that version there is a known workaround and it won't be fixed by galaxy (depending on how people react I guess).

Thanks for opening up the issue! I now know that I need to fix linting issues for the next release :)

@Crazybus Crazybus closed this as completed Jul 2, 2018
@cmodijk cmodijk changed the title Tag 6.2.4.1 not found Version 6.2.4.1 not found Jul 2, 2018
@cmodijk
Copy link
Author

cmodijk commented Jul 2, 2018

Yeah, I'm not sure how others will respond to this but there is a workaround.

And no problem, thanks for the quick response!

@Crazybus
Copy link
Contributor

Crazybus commented Jul 5, 2018

The "linting errors prevents uploading" feature has been removed in a bug fix release for ansible galaxy. So now ansible-galaxy install elastic.elasticsearch,6.2.4-1 works as expected!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants