[kolla-ansible][magnum]
Hello everyone. Here's a problem I can't solve. In my test cluster (2 nodes, Ubuntu 2022.4, Cinder LVM, kolla-ansible Antelope, 2023.1) everything is fine. In a month, my students will be able to start from scratch and build an Openstack cluster with quite a few features in around twenty hours. The challenge is to guide them in building a cluster, ensuring that they seek to solve problems, without it being too difficult. So you have to guide them, start with virtual machines then move on to real servers. In the end, I wanted to test "magnum" because they know Kubernetes. I edit globals.yml, reconfigure, grab Fedorac-coreos (qcow2 file) and add the image to peek. In Horizon, I create a cluster template. everything is working. Then, with the admin account, I try to create a cluster from the model and there I have the problem Failed to create trustee XXX in domain XXX” Okay, I create the file /etc/kolla/config/magnum.conf with enable_cluster_user_trust = True I reconfigure but it doesn't work. I'm looking for other solutions but I can't find them. Should we give special rights to the admin user (for my example) on the magnum domain? Franck
Hi Frank, According to the official kolla docs the option needs to be in globals.yml Ensure that you understand the consequences before enabling this option. Inglobals.yml: In case this also doesn’t work, you can try: yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True *www.roksblog.de Cheers, Oliver Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>: enable_cluster_user_trust = True
Hi Oliver and thanks you for this help. I was wrong in my explications. I had seen this article (roksblog.de ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work. I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True Same problem. That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?) Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. Inglobals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
enable_cluster_user_trust = True
Hi Frank. Sorry that is my blog. But I think you are missing the [trust] in the conf file. Von meinem iPhone gesendet
Am 25.12.2023 um 19:27 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
Hi Oliver and thanks you for this help.
I was wrong in my explications. I had seen this article (roksblog.de ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work.
I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True
Same problem.
That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?)
Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. Inglobals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
enable_cluster_user_trust = True
Franck, sorry for misspelling your name. Von meinem iPhone gesendet
Am 25.12.2023 um 21:33 schrieb Oliver Weinmann <oliver.weinmann@me.com>:
Hi Frank.
Sorry that is my blog. But I think you are missing the [trust] in the conf file.
Von meinem iPhone gesendet
Am 25.12.2023 um 19:27 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
Hi Oliver and thanks you for this help.
I was wrong in my explications. I had seen this article (roksblog.de ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work.
I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True
Same problem.
That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?)
Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. Inglobals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
enable_cluster_user_trust = True
Hello. I just reconfigure -t magnum in my scenario. https://docs.openstack.org/kolla-ansible/latest/reference/containers/magnum-... Nguyen Huu Khoi On Tue, Dec 26, 2023 at 3:49 AM Oliver Weinmann <oliver.weinmann@me.com> wrote:
Franck, sorry for misspelling your name.
Von meinem iPhone gesendet
Am 25.12.2023 um 21:33 schrieb Oliver Weinmann <oliver.weinmann@me.com>:
Hi Frank.
Sorry that is my blog. But I think you are missing the [trust] in the conf file.
Von meinem iPhone gesendet
Am 25.12.2023 um 19:27 schrieb Franck VEDEL < franck.vedel@univ-grenoble-alpes.fr>:
Hi Oliver and thanks you for this help.
I was wrong in my explications. I had seen this article (roksblog.de ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work.
I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True
Same problem.
That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?)
Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. In globals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL < franck.vedel@univ-grenoble-alpes.fr>:
enable_cluster_user_trust = True
Same thing for me. I did this. Thanks a lot Franck
Le 26 déc. 2023 à 08:45, Nguyễn Hữu Khôi <nguyenhuukhoinw@gmail.com> a écrit :
Hello.
I just reconfigure -t magnum in my scenario.
https://docs.openstack.org/kolla-ansible/latest/reference/containers/magnum-...
Nguyen Huu Khoi
On Tue, Dec 26, 2023 at 3:49 AM Oliver Weinmann <oliver.weinmann@me.com <mailto:oliver.weinmann@me.com>> wrote:
Franck, sorry for misspelling your name.
Von meinem iPhone gesendet
Am 25.12.2023 um 21:33 schrieb Oliver Weinmann <oliver.weinmann@me.com <mailto:oliver.weinmann@me.com>>:
Hi Frank.
Sorry that is my blog. But I think you are missing the [trust] in the conf file.
Von meinem iPhone gesendet
Am 25.12.2023 um 19:27 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr <mailto:franck.vedel@univ-grenoble-alpes.fr>>:
Hi Oliver and thanks you for this help.
I was wrong in my explications. I had seen this article (roksblog.de <http://roksblog.de/> ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work.
I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True
Same problem.
That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?)
Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com <mailto:oliver.weinmann@me.com>> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. Inglobals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de <http://www.roksblog.de/>
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr <mailto:franck.vedel@univ-grenoble-alpes.fr>>:
enable_cluster_user_trust = True
I will check as soon as possible (university closed during the end-of-year holidays) but I think I did the right thing ([trust]). Thank you very much and no worries about the first name Franck
Le 25 déc. 2023 à 21:44, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Franck, sorry for misspelling your name.
Von meinem iPhone gesendet
Am 25.12.2023 um 21:33 schrieb Oliver Weinmann <oliver.weinmann@me.com>:
Hi Frank.
Sorry that is my blog. But I think you are missing the [trust] in the conf file.
Von meinem iPhone gesendet
Am 25.12.2023 um 19:27 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
Hi Oliver and thanks you for this help.
I was wrong in my explications. I had seen this article (roksblog.de ) and I did what it said: I first tried: enable_cluster_user_trust = True in globals.yml It didn't work.
I then made the modification in /etc/kolla/config/magnum.conf: cluster_user_trust = True
Same problem.
That's why I asked the question. Is this really the way to do it? If so, I will have to restart the containers (keystone?)
Franck
Le 25 déc. 2023 à 18:40, Oliver Weinmann <oliver.weinmann@me.com> a écrit :
Hi Frank,
According to the official kolla docs the option needs to be in globals.yml
Ensure that you understand the consequences before enabling this option. Inglobals.yml:
In case this also doesn’t work, you can try:
yoga) [vagrant@seed ~]$ cat /etc/kolla/config/magnum.conf [trust] cluster_user_trust = True
*www.roksblog.de
Cheers, Oliver
Von meinem iPhone gesendet
Am 25.12.2023 um 18:10 schrieb Franck VEDEL <franck.vedel@univ-grenoble-alpes.fr>:
enable_cluster_user_trust = True
participants (3)
-
Franck VEDEL
-
Nguyễn Hữu Khôi
-
Oliver Weinmann