Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

cvmanager not working with Sat 6.5.2? #70

Open
jlim0930 opened this issue Aug 26, 2019 · 5 comments
Open

cvmanager not working with Sat 6.5.2? #70

jlim0930 opened this issue Aug 26, 2019 · 5 comments

Comments

@jlim0930
Copy link

jlim0930 commented Aug 26, 2019

Just upgraded from 6.2 to 6.5 and testing out various cvmanager commands.

using the same yaml file that I used to use on 6.2

---
:settings:
  :user: user
  :pass: userpass
  :uri: https://localhost
  :timeout: 300
  :org: 1
  :lifecycle: 58
  :keep: 3
:cv:
  rhel-7-server: latest
:promote:
  - rhel-7-server
:publish:
  - rhel-7-server

./cvmanager --config=rhel-7-server.yaml --wait publish
Inspecting rhel-7-server as listed in CSV

and nothing happens... same for update and promote.

no new version created or promoted

@golgotow
Copy link

Hello,

this appear after upgrade satellite from 6.4. to 6.5.2

/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- apipie-bindings (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in require'
from /opt/scripts/katello-cvmanager/cvmanager:20:in `

'

@matuxmar
Copy link

matuxmar commented Oct 5, 2019

Hi,
I have same problem as above after upgrade from 6.4 to 6.5.2. Will be there a new release of cvmanager or a fix that work with Sat 6.5 ?

@evgeni
Copy link
Member

evgeni commented Oct 7, 2019

please execute cvmanager with a ruby that has the apipie-bindings gem, e.g. /usr/bin/tfm-ruby on a Satellite install

@brightdroid
Copy link

This works for me, thanks. Though why is there a special ruby version and the gem not installed for the system default ruby?

@evgeni
Copy link
Member

evgeni commented Oct 24, 2019

System ruby on el7 is 2.0, but the foreman/satellite stack needs 2.5, so the ruby25 scl is used. tfm-ruby is just a shortcut.

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

5 participants