AWS provision issues

Hi!

We are trying to integrate OpenNebula with Edge Clusters in AWS but we are having a lot of problems. First of all, the default Ansible playbook is not working properly as @ahuertas tells in this post. A lot of customization is required to work properly if for example you need use Ubuntu 20.04 in terms of set provision template or Ansible playbooks.

Besides that, we also found a bug in CLI version 6.2 where documentation and the cluster operations guide site says hosts can be added to a deployed provision but it is not available in CLI.

Exists any workaround to handle this problems?

Another question is, can we use OpenNebula to deploy EC2 instances instead of create an KVM Node to host VMs?

Thanks!!


Versions of the related components and OS (frontend, hypervisors, VMs):
OpenNebula 6.2.0
Ubuntu 20.04

Steps to reproduce:
Modify AWS Provisioner to run blank Ansible playbook and execute the query example:

Current results:
CLI Usage

Expected results:
Host deployed and added to existing provision

Hello @david.gar.dom,

if for example you need use Ubuntu 20.04 in terms of set provision template or Ansible playbooks.

This has been changed by default in the new release.

Besides that, we also found a bug in CLI version 6.2 where documentation and the cluster operations guide site says hosts can be added to a deployed provision but it is not available in CLI.

This has been also added to the new release, so this is present only in 6.2.1 version.

Another question is, can we use OpenNebula to deploy EC2 instances instead of create an KVM Node to host VMs?

No, this driver was deprecated in favor of OneProvision.

Best,
Álex.

Hi @ahuertas ,

Thanks for your reply. Can you tell us when is scheduled the update to 6.2.1 in Community Edition??

Bests,
David.

Hi @david.gar.dom! EE and CE follow a separate maintenance cycle until a new major/minor release is produced, when both are syncronized and “OpenNebula Systems contributes to the Community Edition all bug fixes and software patches with minor enhancements that have been developed and incorporated into an Enterprise Edition version during the previous maintenance cycle” (see this for more details). The beta of the new 6.4 will be released by the end of March.

Hello guys! Any update about CE 6.4? :smile:

giphy

1 Like

I have same issue…. .

Hello @jaisegyi,

Are you testing 6.4.0 version? What kind of issue are you having?

Best,
Álex.

Hello there,

I am testing 6.4.0. The problem I had previously with not being able to add or remove hosts is solved but now I have other problems:

  • Providers site is not accesible from Fireedge main page. You have to know the exactly path (/fireedge/provision/dashboard) if not you are redirected to Sunstone site.

  • It is not possible to create virtual providers from the website, only via CLI.

  • Related with previous point, it is not possible to create Provisions in virtual Providers even when they have been created via CLI and appears in the website.

  • A lot of customization is still required in Ansible files.

I will keep trying diferent features to see if I detect some more things!

Regards,
David.

Hi David, may I ask more details on what customization is required?

Did you restart the FireEdge service?

Hi @tinova ,

Following the aws.yml playbook, you need to be consisten in the whole dependent roles: ddc (OS family and version), opennebula-* …

I really don’t know if that is the team idea, but for final user it is not an simple setup. Ansible knowledge is required to start using the software. Furthermore, you can’t edit this files from the website: the gear icon is confusing because it is not for edit, it is to reload the config…

Should I each time I create a new Provision? What will happen to Provisions in Deploying/Deleting states?

The playbooks are not supposed to be modified to launch a provision. They come with a predefined set of instance types, OS families and opennebula packages that are tested and work out of the box.

What issue are you having that forces you to change the playbooks?

Documentation recently updated here: AWS Edge Cluster — OpenNebula 6.4.0 documentation