OSM Development Stack

I can also see an error if I use the -A in get pods:

maybe it is relevant…

Having an issue installing as well.

sudo snap install juju --classic
sudo snap install osmclient --edge
sudo snap connect osmclient:juju-client-observe

Probelem when I run “snap connect osmclient:juju-client-observe” I get an error that
error: snap “osmclient” has no plug named “juju-client.observe”

Will be glad to know how i can get past this issue.
The rest are fine so far.

Thank you so much,

Michael

Hello Michael

It looks that this post is not completely updated. You can follow the instructions to install Charmed OSM in this link of the ETSI OSM documentation

Please let me know if this works for you.

Best regards,

Guillermo

Hello Guillermo,

I have installed charmed OSM from the above link and Microstack on the same VM. Everything went well and I was able to desploy the test Network Service.

However, I cannot see the OSM parameters on Grafana dashboard. I do not find the ‘osm_mano_automated’ dashboard in Grafana.

Additonal note, when I reboot the VM, some of the units including mon-k8s under juju status show the agent failed. Is there a way to refresh/restart juju charms.

Any help is much appreciated.
Thank you.

Hello Anusha,

Sorry for the late answer.
Regarding the Grafana dashboard, this is a known issue. You can import the dashboard manually. You can find OSM dashboards in devops repository in /installers/docker/grafana folder. The dashboards you need to import are: osm-sample-dashboard.json and osm-system-dashboard.json.

And regarding the status of mon-k8s, it takes some minutes to the pod in order to be available. In case, the issue persists, then try the following commmand that will restart the agent:
microk8s.kubectl -n osm delete pods mon-k8s-operator-0 --force --grace-period 0

I hope this helps.

Hi Anusha,

2 questions:

  1. The link from ETSi installs OSM as well as micro k8s, right?
  2. Can you please share the link you used for installing microstack?

Thanks,
Nishank

Hi Galvino,

Thanks for the response.
I think something went wrong during my charmed osm installation and Grafana is not configured properly. However, I was able to query the metrics via osm_prometheus under ‘Explore’

Regarding the juju status, the above command did not work and I’m yet to find out how to restart terminated components.

Hi Nishank,

  1. Yes. Here is the link : https://osm.etsi.org/docs/user-guide/03-installing-osm.html#charmed-installation
  2. For microstack : https://ubuntu.com/tutorials/microstack-get-started#2-install-microstack

All the best!
Best Regards,
Anusha

Thank you for the links, Anusha.

Have installed OSM via ETSI link.
We do not explicitly need to add microk8s to OSM, like say we add a VIM (openstack), right?

Onto microstack now.

Thanks again,
Nishank

Hello,

I have followed the isntructions and have managed to install OSM Charmed but I’m having an issue with setting up my the Basic network service example as shown in this page.

While I am able to download and upload the packages into OSM, after using the create a basic network service command in my terminal that status stays at building and does not move any further.

Could you help me with this please as im unsure where to go from here. Let me know if there is any further information that I need to provide as well.

Cheers,
Rajiv

Hi again,

just wanted to update that this issue has been resolved. I realized that Nested Virtualization is required when installing OSM Chamed as a virtual machine. I have managed to instantiate the basic NS service example. I would appreciate it if the community could provide any useful resources to help me go forward from here. Any advice is always appreciated! :smiley:

Cheers,
Rajiv

Hello Anusha,

Sorry for the late reply, we had an event last week and we were preparing it. I don’t know if you are still facing the issue. If that is the case, could you try to reboot both the operator and the mon Pods?

microk8s.kubectl -n osm delete pods mon-k8s-operator-0 --force --grace-period 0
microk8s.kubectl -n osm delete pods mon-k8s-0 --force --grace-period 0

If that doesn’t work, could you provide more information? Could you paste the output of the following commands?

juju status
microk8s.kubectl get pods -n osm
microk8s.kubectl logs <MON_pod> -n osm
microk8s.kubectl describe <MON_pod> -n osm

Thank you very much!

Best regards,

Guillermo

Hi all,

I’m facing this error on my VM, could someone take a look?

ubuntu@ubuntu-KVM:~$ juju bootstrap localhost osm-lxd
Since Juju 2 is being run for the first time, downloaded the latest public cloud information.
ERROR Permission denied, are you in the lxd group?

Please configure LXD by running:
$ newgrp lxd
$ lxd init

ubuntu@ubuntu-KVM:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.5 LTS”

Try id to see what groups you are in, and if you are not in the lxd group then add yourself to that group. Also, you may need to initialize LXD as it says.

Hello Guillermo,

I have the same problem as Michael. I read your answer and I went at the link that you gave. But I got very confused.

Here we have started installing osm from snap, as opposed to the link that they want us to install the osm from the: https://osm-download.etsi.org.

Could you please explain to me a bit about how to do it?

Thanks, Dionysia!!!

Hello Dionysia,

Thank you very much for your comment. The osm snap will only install the osm client only. You will use the osm client to communicate with your osm installation.

Please, use the instructions provided in the previous link. This installation contains the install of the osm client from snap.

If you face any issue withyou installation let me know.

Hey Guillermo,

Thanks for your fast reply :)!!!

I just installed the charmed osm, but I get the same issue:

sudo snap connect osmclient:juju-client-observe error: snap “osmclient” has no plug named “juju-client-observe”

What do you think that I should do??

Thanks again, Dionysia!!!

Have uninstalled the osm client before installing OSM? If you haven’t that could be the issue. Try to uninstall it:

sudo snap remove osmclient --purge

And then install it again:

sudo snap install osmclient

Also, please check if you can connect to the OSM GUI, for that open a browser and try to access to https://ui.<HOST_IP>.nip.io and tell me if you can access.

Finally, did you get any error during the installation?

Best regards,

Guillermo

Guillermo???

So, the thing is that I cannot make it work … so, I decided to start from the beginning with a fresh Ubuntu 18.04 installation, and start the whole procedure…

So, could I ask you about the order of the installation process???

Should I install first the osm charmed with command that is found in the 3.2.6.1?

And then continue with the rest: *bootstrap juju onLXD

  • Install MicroK8s
  • Install osmclient snap *etc

Or should I: *firstly install juju and microk8s *and secondly install the osm charmed?

Thanks once more,

Dionysia!!!

If you start with a fresh VM, then you just need to execute the comands found in 3.2.6.1:

wget https://osm-download.etsi.org/ftp/osm-10.0-ten/install_osm.sh
chmod +x install_osm.sh
./install_osm.sh --charmed

And that should be it. install_osm.sh script will install microk8s, lxd and the osmclient snap for you, you don’t need to install them manually.

I hope this helps!

Guillermo