*** wuchunyang has quit IRC | 00:02 | |
*** sean-k-mooney has quit IRC | 00:05 | |
*** wuchunyang has joined #openstack-kolla | 00:18 | |
*** wuchunyang has quit IRC | 00:48 | |
*** diurnalist has joined #openstack-kolla | 01:17 | |
*** mcnugit has quit IRC | 02:34 | |
*** mcnugit has joined #openstack-kolla | 03:50 | |
*** oncall-pokemon has quit IRC | 04:00 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #openstack-kolla | 04:33 | |
*** diurnalist has quit IRC | 04:34 | |
*** abdysn has joined #openstack-kolla | 05:04 | |
*** bsanjeewa has joined #openstack-kolla | 05:05 | |
*** bsanjeewa_ has joined #openstack-kolla | 05:13 | |
*** bsanjeewa has quit IRC | 05:16 | |
*** dciabrin_ has joined #openstack-kolla | 06:33 | |
*** dciabrin has quit IRC | 06:36 | |
*** mcnugit has quit IRC | 06:46 | |
*** wuchunyang has joined #openstack-kolla | 06:51 | |
*** bsanjeewa has joined #openstack-kolla | 06:51 | |
*** bsanjeewa_ has quit IRC | 06:53 | |
*** bsanjeewa_ has joined #openstack-kolla | 07:22 | |
*** bsanjeewa has quit IRC | 07:26 | |
*** bsanjeewa has joined #openstack-kolla | 07:26 | |
*** bsanjeewa_ has quit IRC | 07:27 | |
openstackgerrit | wu.chunyang proposed openstack/kolla-ansible master: fix prechecks failed when use venv with allinone https://review.opendev.org/737022 | 07:37 |
---|---|---|
*** mcnugit has joined #openstack-kolla | 07:45 | |
*** jonaspaulo has joined #openstack-kolla | 08:16 | |
*** diurnalist has joined #openstack-kolla | 08:31 | |
*** diurnalist has quit IRC | 08:36 | |
*** kemopq has quit IRC | 08:39 | |
*** bsanjeewa_ has joined #openstack-kolla | 08:58 | |
*** bsanjeewa has quit IRC | 09:01 | |
*** kemopq has joined #openstack-kolla | 09:10 | |
openstackgerrit | Merged openstack/kolla stable/ussuri: Revert "Enable mod_wsgi in Nova API container" https://review.opendev.org/735821 | 09:33 |
*** born2bake has joined #openstack-kolla | 09:44 | |
*** bsanjeewa has joined #openstack-kolla | 09:50 | |
*** bsanjeewa_ has quit IRC | 09:53 | |
*** ykarel has joined #openstack-kolla | 10:03 | |
*** ykarel|away has quit IRC | 10:04 | |
*** kemopq has quit IRC | 10:06 | |
*** kevko has joined #openstack-kolla | 10:26 | |
*** kevko has quit IRC | 10:38 | |
*** kemopq has joined #openstack-kolla | 10:59 | |
admin0 | checking if anyone is available who knows about the issue i am having .... resolving hostnames | 11:12 |
*** kemopq has quit IRC | 11:29 | |
*** kemopq has joined #openstack-kolla | 11:30 | |
*** kemopq__ has joined #openstack-kolla | 11:42 | |
*** kemopq has quit IRC | 11:43 | |
*** kemopq__ has quit IRC | 11:47 | |
*** kemopq has joined #openstack-kolla | 11:52 | |
*** jovial[m] has quit IRC | 11:55 | |
sorin-mihai | admin0, not long ago i noticed some issues on my deployment, i ended up adding A records in the public DNS pointing to the private IPs, that's why i asked how do you verify the resolving | 12:06 |
admin0 | sorin-mihai, .. if hostnames are say k1.domain.com, it should resolve to the API ip ? | 12:07 |
admin0 | and when i do hostname and hostname -f , should it show k1 or full k1.domain.com ? | 12:08 |
sorin-mihai | 'hostname' depends on /etc/hostname, it should contain 'k1' only, while /etc/hosts should have 'ip k1.domain.com k1' and the ip should be the IP that you actually use to connect to the node, not 127.0.1.1. in my case, 'host' never resolves properly, apparently it doesn't read /etc/hosts, hence the need to add A records in public DNS | 12:14 |
admin0 | sorin-mihai, https://gist.github.com/a1git/b1b692d99e7e22823111b5dd31638705 -- this is what i have so far | 12:15 |
sorin-mihai | also, if you changed the hostname after the OS installation, maybe 'hostnamectl set-hostname k1' will fix it | 12:16 |
admin0 | my server has 2 ips .. one for ssh and one for its API network | 12:16 |
admin0 | 10.11.12.x is for ssh , 172.29.236.x is for the api network ( the deploy has dual ips, so can connect to both) | 12:16 |
sorin-mihai | how is /etc/hosts looking? | 12:17 |
admin0 | its there .. like 91 - 101 | 12:17 |
admin0 | i have not added anything in /etc/hosts yet | 12:17 |
sorin-mihai | also, hostname should output only a1, so you need to fix it with the hostnamectl command and check if /etc/hostname is updated | 12:18 |
admin0 | ok | 12:19 |
admin0 | so add api_ip host.domain.com host and set hostname to just host and not host.domain.com | 12:19 |
admin0 | i will do and report | 12:19 |
sorin-mihai | since you're not adding A records in public DNS, i'd just make sure that /etc/hosts in all nodes is the same | 12:20 |
admin0 | so hostname returns host , hostname -f returns host.domain.com and in /etc/hosts, it has api_ip host.domain.com host | 12:22 |
admin0 | i am going to try again now | 12:23 |
admin0 | did not worked | 12:24 |
admin0 | stuck in the same error message | 12:24 |
admin0 | sorin-mihai, i updated in the comment what i see https://gist.github.com/a1git/b1b692d99e7e22823111b5dd31638705 | 12:26 |
admin0 | the error it barbs out HostVars object' has no attribute u'x.x.x.x' -- here the x.x.x.x ip seems to be random based on what it picks up first .. so that ip rotates | 12:27 |
*** Tony31 has quit IRC | 12:29 | |
sorin-mihai | to me, it looks like ansible is not actually able to connect and if it does, is not able to write the file | 12:34 |
*** kemopq has quit IRC | 12:39 | |
sorin-mihai | admin0, is there any diff between your /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml and https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/baremetal/tasks/pre-install.yml ? | 12:44 |
sorin-mihai | also, maybe try to bootstrap again with -vvvv and before that double check if the user you're using is able to use sudo without password | 12:47 |
admin0 | the diff is this 1 line added when: ansible_distribution_major_version == '8' | 12:58 |
*** bsanjeewa_ has joined #openstack-kolla | 12:59 | |
admin0 | sorin-mihai, i did - https://asciinema.org/a/CgkB1VGNEraJPUsUvIoTGpgTh | 13:02 |
*** bsanjeewa has quit IRC | 13:03 | |
sorin-mihai | right, so the nodes are reachable. it's a bit over my understanding, but it looks like you're using root in the deployment node. have you tried to use a normal user with sudo rights? i see 'establish ssh connection for user: none' is the root user used in the other nodes too? do you have entries in /root/.ssh/config in the deployment node pointing to all the other nodes? | 13:17 |
*** kemopq has joined #openstack-kolla | 13:17 | |
*** also_stingrayza has joined #openstack-kolla | 13:20 | |
sorin-mihai | admin0, i'd sugest that a ~/.ssh/config look like this http://paste.openstack.org/raw/CrTY88GPZAKQPwdvG6qf/ | 13:22 |
*** diurnalist has joined #openstack-kolla | 13:22 | |
*** stingrayza has quit IRC | 13:22 | |
sorin-mihai | obviously, not necessarily exactly the same, there are also other options that can be set, but the extra options in Host * in my case have been helpful to keep the connection alive in certain networks and i've kept it as a default everywhere | 13:22 |
admin0 | i don't see how the keepalive connection thing solves the undefined variable error ansible is giving | 13:23 |
sorin-mihai | true, but the question is if you have entries in the ansible node for all the other nodes | 13:24 |
sorin-mihai | in ~/.ssh/config i mean | 13:24 |
admin0 | i am using ips in multinode .. the user executing the ansible playbook is root itself .. and root can login well by doing ssh 172.29.236.11 -ip address | 13:25 |
sorin-mihai | what about other ansible commands, are they functional? | 13:26 |
*** diurnalist has quit IRC | 13:26 | |
sorin-mihai | like i said, a bit over my understanding, but i think that this is just a ansible connectivity issue, even if the nodes are reachable by ping and 'ssh ip' works. i'd use the hostnames from /etc/hosts in the ansible inventory file, instead of IPs, and adding entries for each hostname in ~/.ssh/config using the api IPs. given your use case with 2 classes of IPs, i'd have a 2nd entry per host, with the management IP that would not | 13:35 |
sorin-mihai | be used by ansible. maybe i'm overcomplicating this | 13:35 |
*** bsanjeewa_ has quit IRC | 13:53 | |
*** abdysn has quit IRC | 13:55 | |
admin0 | ansible -i multinode all -m ping works fine ..what i did was setup DNS .. so that a1.mero.cloud resolves internally from the internal dns the servers are using, and then also added a1.mero.cloud and its api ip to /etc/hosts and re-ran the playbook .. gives me the same error | 14:06 |
admin0 | i fail to understand from the ansible erorr what exactly its complaining about and what i need to fix | 14:07 |
admin0 | also in the documentation, there is no mention of what hostname to set and how to set it so that bootstrap does not fail | 14:07 |
admin0 | and also its bootstrap .. its supposed to fix stuff | 14:07 |
*** wuchunyang has quit IRC | 14:27 | |
*** wuchunyang has joined #openstack-kolla | 14:28 | |
sorin-mihai | admin0, have you tried other ansible commands? try a whoami playbook or something like that. i have the feeling that the ping module only pings but doesn't ssh. i might be totally wrong, though | 14:37 |
admin0 | sorin-mihai, https://gist.github.com/a1git/2235f640a9d629f5acd62ad158fbf038 -- see that i have used both hostname as well as IPs | 14:38 |
admin0 | i appreciate your help, but i think its directed towards the wrong thing .. there is no ssh issue :) | 14:39 |
*** kemopq has quit IRC | 14:42 | |
openstackgerrit | wu.chunyang proposed openstack/kolla-ansible master: nova-cell role clone failed https://review.opendev.org/737182 | 14:44 |
*** kemopq has joined #openstack-kolla | 14:46 | |
*** jonaspaulo has quit IRC | 15:19 | |
*** mcnugit has quit IRC | 15:55 | |
*** diurnalist has joined #openstack-kolla | 16:06 | |
*** wuchunyang has quit IRC | 16:10 | |
*** diurnalist has quit IRC | 16:49 | |
*** faizy98 has joined #openstack-kolla | 17:07 | |
*** mgoddard has quit IRC | 17:26 | |
*** mgoddard has joined #openstack-kolla | 17:31 | |
*** faizy98 has left #openstack-kolla | 18:06 | |
*** mcnugit has joined #openstack-kolla | 19:16 | |
*** kevko has joined #openstack-kolla | 19:27 | |
openstackgerrit | Hongbin Lu proposed openstack/kolla-ansible master: [DNM] Test Zun job with TLS https://review.opendev.org/737192 | 19:37 |
*** kevko has quit IRC | 19:38 | |
*** mcnugit has quit IRC | 19:42 | |
*** hongbin has joined #openstack-kolla | 19:49 | |
*** kemopq has quit IRC | 19:55 | |
*** diurnalist has joined #openstack-kolla | 20:00 | |
*** kemopq has joined #openstack-kolla | 20:00 | |
*** diurnalist has quit IRC | 20:10 | |
*** hongbin has quit IRC | 20:18 | |
*** hongbin has joined #openstack-kolla | 21:44 | |
*** sorin-mihai has quit IRC | 21:47 | |
*** born2bake has quit IRC | 22:18 | |
openstackgerrit | Hongbin Lu proposed openstack/kolla-ansible master: [DNM] Test Zun job with TLS https://review.opendev.org/737192 | 22:22 |
*** mcnugit has joined #openstack-kolla | 23:05 | |
openstackgerrit | Hongbin Lu proposed openstack/kolla-ansible stable/rocky: [DNM] Test Zun job https://review.opendev.org/733997 | 23:08 |
openstackgerrit | Hongbin Lu proposed openstack/kolla-ansible stable/rocky: [DNM] Test Zun job https://review.opendev.org/733997 | 23:09 |
*** mcnugit has quit IRC | 23:13 | |
openstackgerrit | Hongbin Lu proposed openstack/kolla stable/rocky: Add /var/lib/kolla/venv/bin to Zun exec_dirs https://review.opendev.org/737198 | 23:31 |
openstackgerrit | Hongbin Lu proposed openstack/kolla stable/rocky: Add /var/lib/kolla/venv/bin to Zun exec_dirs https://review.opendev.org/737198 | 23:33 |
openstackgerrit | Hongbin Lu proposed openstack/kolla-ansible master: [DNM] Test Zun job with TLS https://review.opendev.org/737192 | 23:48 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!