Hmmm… strange…
I was always doing fresh installations before and haven’t really got a chance before to power off and power on the VM. Today, to get the printout you requested I powered it on again… but juju status printouts nothing (it is hanged) and get pods gives status unknown. About an hour has passed from powering on.
i would swear that they were both ok last time I had it opened. I even tried the microstack init after everything on juju status appeared running.
At any case, the settings of the VM is also shown above… (I had to combine 3 images into one)
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.
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
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.
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.
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!
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
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?
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.
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.
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?
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?