foreman-packaging icon indicating copy to clipboard operation
foreman-packaging copied to clipboard

Add foreman_opennebula plugin

Open pyslarvt opened this issue 1 year ago • 3 comments

pyslarvt avatar Aug 14 '24 11:08 pyslarvt

Broken dependencies. Don't know how to solve it yet.

    foreman_opennebula (= 2.3.0) was resolved to 2.3.0, which depends on
      fog-opennebula (~> 0.0) was resolved to 0.0.5, which depends on
        opennebula was resolved to 6.8.3, which depends on
          nokogiri (< 1.16)

pyslarvt avatar Aug 14 '24 17:08 pyslarvt

I haven't checked, but it sounds like it either ships nokogiri >= 1.16 or no nokogiri at all.

ekohl avatar Aug 14 '24 18:08 ekohl

I fixed it. Now it works as intended.

pyslarvt avatar Aug 15 '24 17:08 pyslarvt

[2025-09-10T08:52:56.983Z] NameError: uninitialized constant ForemanOpennebula::Opennebula
[2025-09-10T08:52:56.983Z] Did you mean?  OpenNebula

@pyslarvt is foreman_opennebula compatible with Foreman 3.16 and Rails 7?

evgeni avatar Sep 10 '25 08:09 evgeni

[2025-09-10T08:52:56.983Z] NameError: uninitialized constant ForemanOpennebula::Opennebula
[2025-09-10T08:52:56.983Z] Did you mean?  OpenNebula

@pyslarvt is foreman_opennebula compatible with Foreman 3.16 and Rails 7?

Let me check.

pyslarvt avatar Sep 10 '25 09:09 pyslarvt

Fixed. Now it works with Foreman 3.16.0 and Rails 7.

pyslarvt avatar Sep 12 '25 14:09 pyslarvt

Nice, it built. Thanks!

I don't have an opennebula env here, so I'll do a minimal "it installs and shows up in the UI" test on monday, and would merge after that, unless you want to do any extended testing before that?

evgeni avatar Sep 12 '25 17:09 evgeni

it installs and I can pick "OpenNebula" when creating a compute resource, obviously can't save as I don't have an env to talk to, but that's what I can test

evgeni avatar Sep 15 '25 08:09 evgeni

Nice, it built. Thanks!

I don't have an opennebula env here, so I'll do a minimal "it installs and shows up in the UI" test on monday, and would merge after that, unless you want to do any extended testing before that?

Hello. Thank you so much. Where I can download the package from? I can't see this version on the staging server.

pyslarvt avatar Sep 15 '25 09:09 pyslarvt

You can add deb http://stagingdeb.theforeman.org/ plugins pyslarvt to your sources, then it will show up.

if you want the actual .deb directly, it's here: https://stagingdeb.theforeman.org/pool/plugins/pyslarvt/r/ruby-foreman-opennebula/

evgeni avatar Sep 15 '25 09:09 evgeni

I found a bug related to creation of ssh key pair for image based provisioning method. Need some time to fix it.

pyslarvt avatar Sep 16 '25 10:09 pyslarvt

@pyslarvt 4.0.1 is good to go? then I'd merge this and see that we do RPM too.

evgeni avatar Sep 24 '25 13:09 evgeni

Yes. I fixed it. Now everything works good.

pyslarvt avatar Sep 24 '25 14:09 pyslarvt