Package Details: opennebula 5.0.2-3

Git Clone URL: https://aur.archlinux.org/opennebula.git (read-only)
Package Base: opennebula
Description: Virtual management infrastructure as a service (IaaS) toolkit for cloud computing (NOTE: Read the PKGBUILD!)
Upstream URL: http://docs.opennebula.org/stable
Licenses: Apache
Conflicts: opennebula-unstable
Submitter: manzo
Maintainer: manzo
Last Packager: manzo
Votes: 3
Popularity: 0.084790
First Submitted: 2016-02-17 21:18
Last Updated: 2016-09-12 17:59

Dependencies (24)

Required by (0)

Sources (9)

Latest Comments

manzo commented on 2016-06-29 18:51

AUR probably don't support PR, but I've created an github mirror so I can get contributions faster and easier: https://github.com/rafamanzo/aur-opennebula

Thanks again!

sulaweyo commented on 2016-06-29 18:42

I'm already at 5.0.1 but your changes look pretty much like what i did - except the backup which is awesome!

I'd add some systems service files (econe and oneflow) if that's fine with you. They are basically just copies of the existing ones just for the additional services. Not sure if I can do a pull request here, have to try tomorrow

manzo commented on 2016-06-29 18:34

Thanks for the heads up! I've bumped the version, tested locally and found some bugs regarding the configuration overwrite. Now it works here. Please upgrade and let me know about issues that were not present on my machine.

sulaweyo commented on 2016-06-28 07:19

OpenNebula 5.0 is out
url: http://downloads.opennebula.org/packages/opennebula-5.0.1/opennebula-5.0.1.tar.gz
sum: 335dc802f4e24e33177854466ca1dc76e08f784dd6ca2748989870cfed3581eb208c1091a1ecbfd962fe7b4461fde62a4ba89fdfd62a928790e27a834f9b4475

http://docs.opennebula.org/5.0/intro_release_notes/release_notes/whats_new.html

Just did a local build with the adjusted pkgbuild (dropped the gems) and it built fine. Needed to copy a bunch of configs over manually though - not sure what caused that.

manzo commented on 2016-05-25 16:19

Thanks for the suggestions sulaweyo. I've updated the package following them.

sulaweyo commented on 2016-05-15 11:15

I'd suggest to extend the 2 systemd units with dependencies and permission fixes to the run and lock directories. At least i ran into errors there:

Addition to both [Unit] sections:
After=network.target
After=local-fs.target
After=remote-fs.target

Addition to both [Service] sections
PermissionsStartOnly=true
ExecStartPre=/usr/bin/mkdir -p /var/run/one
ExecStartPre=/usr/bin/mkdir -p /var/lock/one
ExecStartPre=/usr/bin/chown -R oneadmin:cloud /var/run/one
ExecStartPre=/usr/bin/chown -R oneadmin:cloud /var/lock/one

manzo commented on 2016-04-22 18:38

Thanks for the input mhubig!

Can you provide more info on the conflicts you faced? I've tried on a fresh install on my spare computer and it worked.

About the outdated versions, I've noticed that as well and I'll try to annoy the other submitters to update them.

Finally, I do like to install all gems through rubygems. Unfortunately that doesn't look like a packaging good practice from a sysadmin perspective because (I was told by a Debian developer this) it makes system updates unreliable without the security and compatibility assurances good packages have. And I tend to agree with that in this case.

If I could give the same approach as the gitlab does vendorizing all the gems I'd go with that. Unfortunately this relies on bundler and adding a new dependency seems worse.

Do you see any other options? Thanks again!

mhubig commented on 2016-04-21 16:34

I think this AUR package would be much easier to maintain if you leave all the ruby gems out of the dependencies and add a note on how to install them later on.

I tried to use the AUR packages for the gems but they are outdated and the versions don't match each other. I ended up removing ruby-builder, ruby-nokogiri, ruby-opennebula and ruby-sinatra from the PKGBUILD dependencies and installing them via the '/usr/share/one/install_gems' script.

https://github.com/mhubig/arch-opennebula/tree/free_the_gems

manzo commented on 2016-02-27 15:59

You're correct. Just pushed a new version making the dependency on ruby-nokogiri explicit.

But I'm confused as you've said you have ruby-nokogiri installed, correct? Are you using RVM or RBENV? If so, make sure you are using the system ruby.

Thanks for the report.

pinkflozd commented on 2016-02-26 19:35

getting a error about missing nokogiri when starting sunstone (ruby-nokogiro is installed)

/usr/lib/one/ruby/opennebula/xml_utils.rb:144:in `<module:OpenNebula>': nokogiri gem not installed. (RuntimeError)
from /usr/lib/one/ruby/opennebula/xml_utils.rb:19:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/ruby/opennebula.rb:27:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/ruby/cloud/CloudServer.rb:17:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/sunstone/models/SunstoneServer.rb:17:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/one/sunstone/sunstone-server.rb:65:in `<main>'