Score:0

kolla ansible - missing sudo password

je flag

I try to precheck kolla-ansible before deploy openstack but here is the problem and I don't know how to fix it. I followed this document to setup : https://github.com/hocchudong/ghichep-OpenStack/blob/master/13-Kolla/kolla-ansible/Kolla-Ansible-Docker.md Can anyone help?

UPDATE: I fixed the missing sudo error by installing sshpass on controller and run this command on each node echo "user_name ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/user_name When I prechecked, everything was fine, so I decided to deploy

kolla-ansible -i multinode deploy

And here is the problem enter image description here

berndbausch avatar
us flag
Please don't post images of text. Very hard to read on an ipad, for example. Also, it's not a good idea to follow four years old instructions for an OpenStack version that has been obsolete for a while. Use https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html instead. In any case, could it be that you have not configured password-less sudo for your user account?
Tùng Nguyễn avatar
je flag
Sorry, i am using VMRC client on vSphere and I don't have permission to enable copy & paste between VMRC client and Windows/Linux Virtual Machine. I also follow docs.openstack.org/kolla-ansible/latest/user/quickstart.html but it does not say anything about configuring password-less sudo
berndbausch avatar
us flag
It's a requirement of Ansible. Think about it: How else can you perform tasks that require root privileges? Alternatively, you can provide the password as shown in the sample inventory at https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html#inventory.
Tùng Nguyễn avatar
je flag
Thanks sir, i installed sshpass on my controller and it fixed my problem, but now there is another issue, I've updated it on the post
berndbausch avatar
us flag
Here is where I say I stop reading. My eyes hurt from the blurry red on black, even on a PC. Log on to the Kolla with ssh and replace the image with text. I did see the word "wallaby" - you seem to be using Mitaka instructions for Wallaby. It's very likely that you will run into problems.
Score:0
ug flag

Make sure you enable using insecure docker registry in globals.yml file in order to get past the

ensure fluentd image is present for label check error.

################
# Docker options
################

# Custom docker registry settings:
#docker_registry
# Please read the docs carefully before applying docker_registry_insecure.

docker_registry_insecure: "yes"

#docker_registry_username:
# docker_registry_password is set in the passwords.yml file.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.