# Job composer problem after update to ansible role 3.0

**URL:** <https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046>\
**Category:** Get Help\
**Tags:** question\
**Created:** [October 25, 2023, 2:54am UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046 "2023-10-25T02:54:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenny](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/kenny/32/1688_2.png) [@Kenny](https://discourse.openondemand.org/u/Kenny)\
**Post date:** [October 25, 2023, 2:54am UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046/1 "2023-10-25T02:54:27Z")

</div>

Hi @jeff.ohrstrom , I am trying to fix the job composer problem after updated OpenOndemand to version 3.0. I have read some of the topics that I know I need to updated the rdoc to fix it. I ran gem install rdoc -v 6.3.3 to update it, so I got

```auto
[cloud-user@ondemand ~]$ gem which rdoc
/var/lib/cloud-user/.local/share/gem/ruby/gems/rdoc-6.3.3/lib/rdoc.rb

```

but ondemand seems still using the old one, could you please provide me with a hint what I was doing incorrectly?

```auto
[cloud-user@ondemand ~]$ ls /usr/share/gems/gems/
bigdecimal-3.0.0 bundler-2.2.24 erb-2.2.0 io-console-0.5.7 irb-1.2.6 json-2.5.1 psych-3.3.2 rake-13.0.1 rdoc-6.2.1.1

```

and

```auto
[cloud-user@ondemand ~]$ rpm -q rubygem-rdoc
rubygem-rdoc-6.2.1.1-138.module+el8.6.0+1001+b5678180.noarch

```

By the way, dnf upgrade did fix this issue, but it broke some other stuff, so we have to roll back by reimage the instance.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 25, 2023, 1:32pm UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046/2 "2023-10-25T13:32:59Z")

</div>

> [@Kenny](#):
>
> ```auto
> [cloud-user@ondemand ~]$ gem which rdoc
> /var/lib/cloud-user/.local/share/gem/ruby/gems/rdoc-6.3.3/lib/rdoc.rb
> 
> ```

This location seems to be specific to the `cloud-user` user. It’s not a system location.

I think this is coming from the `ondemand-gems` package specifically - so maybe just updating/refreshing it would suffice.

---

<div class="post-metadata">

**Author:** ![lost](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/lost/32/862_2.png) [@lost](https://discourse.openondemand.org/u/lost)\
**Post date:** [October 26, 2023, 1:55pm UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046/3 "2023-10-26T13:55:15Z")

</div>

I’ve reproduced this in a test environment. This had OOD v2 installed (via ood-ansible v2.0.8). Running ood-ansible v3.0.6 resulted in an error `Could not find rdoc-6.3.3 in any of the sources` in the job composer.

I can’t work out where the problem is here (I tracked down the requirement for this version to [here](https://github.com/OSC/ondemand/blob/master/apps/myjobs/Gemfile.lock), but couldn’t work out what’s driving the appropriate package install).

What I can say is that running `dnf install rubygem-rdoc` upgraded that package from `6.2.1.1-139.module+el8.8.0+1320+d2449f6f` to `6.3.3-141.module+el8.6.0+1002+a7dba0ac` and fixed the problem.

I’ll wait and see if @Kenny wants to close this as fixed, but if it helps anyone else I’m happy to grab info out of the test environment before/after upgrade from v2 to v3.

---

<div class="post-metadata">

**Author:** ![Kenny](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/kenny/32/1688_2.png) [@Kenny](https://discourse.openondemand.org/u/Kenny)\
**Post date:** [October 29, 2023, 8:55pm UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046/4 "2023-10-29T20:55:04Z")

</div>

Thank you @lost , I am just wondering if @jeff.ohrstrom has any thoughts on this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [April 26, 2024, 8:55pm UTC](https://discourse.openondemand.org/t/job-composer-problem-after-update-to-ansible-role-3-0/3046/5 "2024-04-26T20:55:49Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
