remyma / ansible-karaf-module

Ansible module to manage karaf console commands.
5 stars 5 forks source link

[Repo (\"mvn:XXX/YYY/0.0.28.13/xml/features\") did not install] and [Feature fails to install] #6

Open kenytux opened 5 years ago

kenytux commented 5 years ago

Hello I can't add repo. I have this message: [Repo (\"mvn:XXX/YYY/0.0.28.13/xml/features\") did not install] And for feature:install, I've have this message: [Feature fails to install].

For both of them, if I execute the command in client it works.

Can you help me? Thank you

kenytux commented 5 years ago

I can add that for repo-add, it add the repo but fail when it test the existence of the repo.

remyma commented 5 years ago

Hello @kenytux Did you try with the karaf_repo provided as example in the readme ?

- karaf_repo: state=present url="mvn:org.apache.camel.karaf/apache-camel/2.18.1/xml/features"

Can you also precise :

Thanks

kenytux commented 5 years ago

Hello @remyma I try it with the karaf_repo provided in the readme.

I can add that for repo-add, it add the repo but fail when it test the existence of the repo. If I change this

_KARAF_COLUMN_SEPARATOR = '\xe2\x94\x82' 

to

_KARAF_COLUMN_SEPARATOR = '|'

it work!!!!

Actually I use Karaf 4.0.7 and Ansible 2.4.6.0

Thanks

kenytux commented 5 years ago

Hello @remyma It's seem that if I add what follow, it's resolve the problem

time.sleep(30)

the function:

add_repo