New OpenNebula Package Repositories

Until now the way to install the latest version of OpenNebula was downloading the packages from our web page and installing them manually or compiling the sources. We have created package repositories for CentOS, Ubuntu, Debian and openSUSE to make the installation and upgrade even easier. Latest contextualization packages for CentOS/RedHat, Ubuntu and Debian are also located in those repositories.

The instructions to add the repositories and install the frontend are as follows, execute as root.

CentOS 6.4

# cat << EOT > /etc/yum.repos.d/opennebula.repo
[opennebula]
name=opennebula
baseurl=http://opennebula.org/repo/CentOS/6/stable/$basearch
enabled=1
gpgcheck=0
EOT
# yum install opennebula-server opennebula-sunstone opennebula-ozones opennebula-gate opennebula-flow

Ubuntu and Debian

Change DISTRIBUTION to Ubuntu/12.04, Ubuntu/13.04 or Debian/7

# wget http://opennebula.org/repo/Debian/repo.key
# apt-key add repo.key
# echo "deb http://opennebula.org/repo/DISTRIBUTION stable opennebula" > /etc/apt/sources.list.d/opennebula.list
# apt-get update
# apt-get install opennebula opennebula-flow opennebula-gate opennebula-tools opennebula-sunstone

openSUSE

# zypper ar -f -n packman http://packman.inode.at/suse/openSUSE_12.3 packman
# zypper addrepo --no-gpgcheck --refresh -t YUM http://opennebula.org/repo/openSUSE/12.3/stable/x86_64 opennebula
# zypper refresh
# zypper install opennebula opennebula-zones opennebula-sunstone
12 replies
  1. Finn
    Finn says:

    Hi,

    I am not able to get the repo to work under CentOS 6.5 any longer. It worked last week, but today when I decided to reinstall my test server I am only getting this when running yum update:
    http://opennebula.org/repo/CentOS/6/stable/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: opennebula. Please verify its path and try again

    Any idea what is going on?

    Thanks for good documentation on OpenNebula,
    Finn

  2. Javier Fontan
    Javier Fontan says:

    The repository url changed from 4.2 to 4.4 to http://downloads.opennebula.org/repo/CentOS/6/stable/x86_64/repodata/repomd.xml. Notice the downloads subdomain.

    We maintained the old repo in the same url but yesterday we changed the web page and the old repo is no longer accesible. Just change the url in the yum configuration and make sure you read the upgrade guide before upgrading.

    http://docs.opennebula.org/stable/design_and_installation/building_your_cloud/upgrade.html

  3. Finn
    Finn says:

    Hi,

    Thank you for your answer. That helped, but now I am not able to register a new host. I have tried a few times with completely fresh install of CentOS and OpenNebula, but the host will just come up with an error. The logs are not helpful either, or I am not understanding what they are logging.

    Thanks,
    Finn

  4. Finn
    Finn says:

    Hi,

    Removed the whole installation. I might try again later this week, but right now I don’t have time.

    Thanks,
    Finn

  5. kifurax
    kifurax says:

    I i instal and edit like [opennebula]
    name=opennebula
    baseurl=http://opennebula.org/repo/CentOS/6/stable/$basearch
    enabled=1
    gpgcheck=0
    EOT

    but i have some error with EOT
    ]# sudo yum install nfs-utils nfs-utils-lib libvirt
    Loaded plugins: downloadonly, fastestmirror, priorities
    Error: File contains parsing errors: file://///etc/yum.repos.d/opennebula.repo
    [line 6]: EOT
    Somebody can help me
    Thanks
    CentOS 6.5

  6. Javier Fontan
    Javier Fontan says:

    There is an extra line in your file you have to delete, the one that says “EOT”. Also we have changed the repository url. The file with the new repository is:


    [opennebula]
    name=opennebula
    baseurl=http://downloads.opennebula.org/repo/CentOS/6/stable/$basearch
    enabled=1
    gpgcheck=0

    You can find more up to date information in the OpenNebula documentation page:

    http://docs.opennebula.org/4.4/design_and_installation/building_your_cloud/ignc.html#installing-on-centos-rhel

  7. faizal
    faizal says:

    hi sir,

    a quick check, is there anything wrong with the installation file. i successfully install opennebula. however i keep getting error “action not defined” when i click refresh or trying to add a new user, template or anything. mostly i will get that error. can i know is there anything else can i check.

    thanks.

  8. Brijina
    Brijina says:

    Hi,

    I have a customised page in opennebula 4.12 and have a created a new tab plugin.js and to migrate this specific tab to 4.14 I am finding a problem. Basically trying to invoke an action on page load to populate all details like in tab click user profile to bring up all user details. I am not able to specifically call and integrate, is there any documentation you could help me on how to get this done.

    Thanks

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *