ansible inconsistant behavor

616 views
Skip to first unread message

hce h

unread,
Feb 18, 2015, 11:27:48 PM2/18/15
to ansible...@googlegroups.com
Hi,

I've got following issues to rum yum module on compute node CentOS 6.5, some node (compute0) could not install sssd (but can install other packages), and some node (compute1) can install without any issues. When I went to compute0 and run "yum install sssd" manually, there is no problem at all, the sssd was installed. There is no difference between compute0 and compute1. What could cause that issues?

failed: [compute0] => (item=sssd,sssd-common,sssd-client) => {"changed": false, "failed": true, "item": "sssd,sssd-common,sssd-client", "rc": 0, "results": []}
msg: The following packages have pending transactions: sssd-x86_64

ok: [compute1] => (item=sssd,sssd-common,sssd-client) => {"changed": false, "item": "sssd,sssd-common,sssd-client", "msg": "", "rc": 0, "results": ["All packages providing sssd are up to date", "All packages providing sssd-common are up to date", "All packages providing sssd-client are up to date"]}

The ansible is version 1.9.

Thanks.

-j



Dick Davies

unread,
Feb 19, 2015, 3:08:32 AM2/19/15
to ansible list
Possibly an environment variable that's present in the shell but not
the ansible environment -
do you need to set a proxy maybe?
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/771c018e-3e38-42de-818b-6ed531c19e31%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Giovanni Tirloni

unread,
Feb 20, 2015, 5:12:56 AM2/20/15
to ansible...@googlegroups.com
On Wed, 18 Feb 2015 20:27 -0800, hce h <jupit...@gmail.com> wrote:
> Hi,
>
> I've got following issues to rum yum module on compute node CentOS 6.5,
> some node (compute0) could not install sssd (but can install other
> packages), and some node (compute1) can install without any issues. When
> I
> went to compute0 and run "yum install sssd" manually, there is no problem
> at all, the sssd was installed. There is no difference between compute0
> and
> compute1. What could cause that issues?
>
> failed: [compute0] => (item=sssd,sssd-common,sssd-client) => {"changed":
> false, "failed": true, "item": "sssd,sssd-common,sssd-client", "rc": 0,
> "results": []}
> msg: The following packages have pending transactions: sssd-x86_64

Is this the result of the first time you tried to install the sssd
package?

The installation might have broken, that's why you're getting the
pending transactions message.

jimi-c has done some work on the front:
https://github.com/ansible/ansible/issues/4649

Giovanni
Reply all
Reply to author
Forward
0 new messages