Blog Article:

New OpenNebula Package Repositories

Javier Fontan

Aug 26, 2013

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=https://opennebula.io/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 https://opennebula.io/repo/Debian/repo.key
# apt-key add repo.key
# echo "deb https://opennebula.io/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 https://opennebula.io/repo/openSUSE/12.3/stable/x86_64 opennebula
# zypper refresh
# zypper install opennebula opennebula-zones opennebula-sunstone

14 Comments

  1. Finn

    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:
    https://opennebula.io/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

    Reply
  2. Javier Fontan

    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

    Reply
  3. Finn

    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

    Reply
  4. Finn

    Hi,

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

    Thanks,
    Finn

    Reply
  5. Andrew

    debian key is not found, wrong link.

    Reply
  6. kifurax

    I i instal and edit like [opennebula]
    name=opennebula
    baseurl=https://opennebula.io/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

    Reply
  7. Javier Fontan

    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

    Reply
  8. faizal

    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.

    Reply
  9. Brijina

    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

    Reply

Submit a Comment

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