Monday, 2017-06-26

*** fergus has joined #openstack-ansible00:36
*** SerenaFeng has joined #openstack-ansible01:03
*** SerenaFeng has quit IRC01:24
*** SerenaFeng has joined #openstack-ansible01:24
*** dxiri has joined #openstack-ansible01:34
*** cuongnv has joined #openstack-ansible01:37
*** SerenaFeng has quit IRC01:43
*** SerenaFeng has joined #openstack-ansible01:44
*** woodard has joined #openstack-ansible01:48
*** woodard has quit IRC01:52
*** charcol has quit IRC01:54
*** dxiri_ has joined #openstack-ansible01:57
*** charcol has joined #openstack-ansible01:57
*** dxiri has quit IRC01:58
*** SerenaFeng has quit IRC01:58
*** SerenaFeng has joined #openstack-ansible01:58
*** SerenaFeng has quit IRC02:10
*** gouthamr has joined #openstack-ansible02:14
*** SerenaFeng has joined #openstack-ansible02:19
*** dxiri_ has quit IRC02:23
*** dxiri has joined #openstack-ansible02:26
*** hybridpollo has quit IRC02:39
*** hybridpollo has joined #openstack-ansible02:44
*** dxiri has quit IRC02:46
*** dxiri has joined #openstack-ansible02:48
*** dxiri has quit IRC02:54
*** dxiri has joined #openstack-ansible02:56
*** strattao has quit IRC02:59
*** strattao has joined #openstack-ansible02:59
*** charcol has quit IRC03:02
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_aodh master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732003:14
*** gkadam has joined #openstack-ansible03:15
*** woodard has joined #openstack-ansible03:15
*** woodard has quit IRC03:16
*** woodard has joined #openstack-ansible03:16
*** woodard has quit IRC03:17
*** woodard has joined #openstack-ansible03:17
*** woodard has quit IRC03:17
*** woodard has joined #openstack-ansible03:18
*** woodard has quit IRC03:18
*** woodard has joined #openstack-ansible03:19
*** woodard has quit IRC03:19
*** woodard has joined #openstack-ansible03:19
*** woodard has quit IRC03:20
*** gouthamr has quit IRC03:22
*** dxiri has quit IRC03:24
*** charcol has joined #openstack-ansible03:27
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_barbican master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732503:28
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_barbican master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732503:29
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_ceilometer master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732603:30
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_cinder master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732803:31
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_cloudkitty master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732903:31
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_designate master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733003:32
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_glance master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733203:33
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_gnocchi master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733303:33
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_heat master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733403:34
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_ironic master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733503:34
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_keystone master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733603:35
openstackgerritzhongshengping proposed openstack/openstack-ansible master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733703:35
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_magnum master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733803:35
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_neutron master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733903:36
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_monasca master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734003:37
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_octavia master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734103:37
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_rally master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734303:38
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_sahara master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734403:38
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_nova master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734503:38
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_searchlight master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734603:38
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_swift master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734703:39
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_tempest master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734803:39
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_trove master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734903:39
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_watcher master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47735003:40
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_zaqar master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47735103:41
*** dxiri has joined #openstack-ansible03:50
*** dxiri has quit IRC03:55
*** rstarmer has joined #openstack-ansible03:57
*** SerenaFeng has quit IRC04:00
*** rstarmer has quit IRC04:05
*** cNilesh has joined #openstack-ansible04:11
*** hybridpollo has quit IRC04:19
*** cNilesh has quit IRC04:24
*** cNilesh has joined #openstack-ansible04:24
*** cNilesh has quit IRC04:24
*** cNilesh has joined #openstack-ansible04:24
*** cNilesh has quit IRC04:27
*** cNilesh has joined #openstack-ansible04:27
*** charcol-v2 has joined #openstack-ansible04:31
*** charcol has quit IRC04:34
*** ccollett has joined #openstack-ansible04:38
*** charcol-v2 has quit IRC04:40
*** ccollett has quit IRC04:45
*** dxiri has joined #openstack-ansible05:04
*** dxiri has quit IRC05:08
*** udesale has joined #openstack-ansible05:24
*** udesale has quit IRC05:24
*** SerenaFeng has joined #openstack-ansible05:27
*** MasterOfBugs has joined #openstack-ansible05:40
*** tobberydberg has joined #openstack-ansible05:46
*** jvidal has joined #openstack-ansible05:48
openstackgerritzhongshengping proposed openstack/openstack-ansible-haproxy_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738305:51
openstackgerritzhongshengping proposed openstack/openstack-ansible-openstack_hosts master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738705:56
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_keystone stable/newton: Correct behaviour for serialised execution  https://review.openstack.org/47708305:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_keystone stable/newton: Split user create and ssh key generation  https://review.openstack.org/47671705:58
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_freezer master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738806:01
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_molteniron master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738906:02
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_monasca-ui master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739006:03
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_monasca-agent master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739106:05
openstackgerritzhongshengping proposed openstack/openstack-ansible-tests master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739206:05
openstackgerritMerged openstack/openstack-ansible-ops master: Fixed ip confliction.  https://review.openstack.org/47695406:07
*** charcol has joined #openstack-ansible06:07
*** vnogin has joined #openstack-ansible06:10
*** Oku_OS-away is now known as Oku_OS06:12
*** MasterOfBugs has quit IRC06:13
*** MasterOfBugs has joined #openstack-ansible06:13
*** vnogin has quit IRC06:14
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_freezer master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738806:19
*** chigang__ has joined #openstack-ansible06:22
openstackgerritzhongshengping proposed openstack/openstack-ansible-apt_package_pinning master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739706:29
openstackgerritzhongshengping proposed openstack/openstack-ansible-ceph_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739806:30
openstackgerritzhongshengping proposed openstack/openstack-ansible-galera_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739906:30
openstackgerritzhongshengping proposed openstack/openstack-ansible-galera_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740006:31
openstackgerritzhongshengping proposed openstack/openstack-ansible-lxc_container_create master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740306:31
openstackgerritzhongshengping proposed openstack/openstack-ansible-lxc_hosts master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740406:32
openstackgerritzhongshengping proposed openstack/openstack-ansible-openstack_openrc master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740506:32
openstackgerritzhongshengping proposed openstack/openstack-ansible-ops master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740606:33
openstackgerritzhongshengping proposed openstack/openstack-ansible-os_almanach master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740706:33
*** charcol has quit IRC06:35
openstackgerritzhongshengping proposed openstack/openstack-ansible-pip_install master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740806:36
*** markus_z has joined #openstack-ansible06:38
openstackgerritzhongshengping proposed openstack/openstack-ansible-pip_lock_down master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741106:42
openstackgerritzhongshengping proposed openstack/openstack-ansible-repo_build master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741206:43
openstackgerritzhongshengping proposed openstack/openstack-ansible-plugins master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741306:43
openstackgerritzhongshengping proposed openstack/openstack-ansible-repo_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741406:43
openstackgerritzhongshengping proposed openstack/openstack-ansible-rsyslog_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741506:44
openstackgerritzhongshengping proposed openstack/openstack-ansible-rsyslog_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741606:44
*** pcaruana has joined #openstack-ansible06:45
openstackgerritzhongshengping proposed openstack/openstack-ansible-pip_lock_down master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741106:46
*** SerenaFeng has quit IRC06:47
*** drifterza has joined #openstack-ansible06:47
*** Neepu has quit IRC06:50
openstackgerritzhongshengping proposed openstack/openstack-ansible-plugins master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741306:52
*** shardy has joined #openstack-ansible06:54
*** shardy has quit IRC06:54
*** HarryHuang has joined #openstack-ansible07:01
*** charcol has joined #openstack-ansible07:01
*** yifei has joined #openstack-ansible07:01
*** hw_wutianwei has joined #openstack-ansible07:01
*** dxiri has joined #openstack-ansible07:05
*** shardy has joined #openstack-ansible07:07
*** dxiri has quit IRC07:10
*** pbandark has joined #openstack-ansible07:19
*** yifei1 has joined #openstack-ansible07:39
*** charcol has quit IRC07:39
*** yifei has quit IRC07:39
*** yifei1 is now known as yifei07:39
*** manheim has joined #openstack-ansible07:45
*** manheim has left #openstack-ansible07:45
*** lkoranda has quit IRC07:52
*** pmannidi has quit IRC07:56
*** lkoranda has joined #openstack-ansible07:58
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Implement rolling upgrades for keystone  https://review.openstack.org/47716507:58
*** pcaruana has quit IRC07:58
*** pmannidi_2 has joined #openstack-ansible07:59
*** pmannidi_2 is now known as pmannidi07:59
*** dxiri has joined #openstack-ansible08:07
*** dxiri has quit IRC08:11
*** pcaruana has joined #openstack-ansible08:12
*** armaan has joined #openstack-ansible08:34
*** pmannidi has quit IRC08:40
*** pmannidi has joined #openstack-ansible08:42
*** rstarmer has joined #openstack-ansible08:46
*** rstarmer has quit IRC08:47
*** MasterOfBugs has quit IRC08:47
*** pmannidi has quit IRC08:47
hw_wutianweiodyssey4me: hi, there are an issue when run setup-openstack08:53
hw_wutianweiodyssey4me: this is the log: "failed": true, "reason": "the file_name '/opt/openstack-ansible/playbooks/common-tasks/haproxy-endpoint-manage.yml' does not exist, or is not readable"}08:54
hw_wutianweiI use stable/ocata08:55
hw_wutianweiodyssey4me: I either don't find this file in https://github.com/openstack/openstack-ansible/tree/stable/ocata/playbooks/common-tasks08:58
*** Martin__ has joined #openstack-ansible09:09
*** tobberyd_ has joined #openstack-ansible09:11
*** tobberydberg has quit IRC09:15
*** electrofelix has joined #openstack-ansible09:20
*** vnogin has joined #openstack-ansible09:22
*** pbandark1 has joined #openstack-ansible09:26
*** pbandark has quit IRC09:27
*** pbandark1 is now known as pbandark09:27
*** Guest58 has joined #openstack-ansible09:28
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova stable/newton: Perform an atomic policy file change  https://review.openstack.org/47746709:30
*** SerenaFeng has joined #openstack-ansible09:44
*** jamesden_ has joined #openstack-ansible09:46
*** jamesdenton has quit IRC09:47
odyssey4mehw_wutianwei oh dear, that managed to slip through without the required file present09:49
odyssey4me:/09:49
odyssey4melet me get a patch up for that quickly09:49
hw_wutianweiodyssey4me: thanks, I found this file in master branch so I copy that file to the directory, but I get another issue: please refer to http://paste.openstack.org/show/613694/09:52
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Add haproxy-endpoint-manage common task  https://review.openstack.org/47747009:53
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/newton: Implement rolling upgrades for cinder  https://review.openstack.org/47625609:56
*** tobberyd_ has quit IRC09:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Implement rolling upgrades for keystone  https://review.openstack.org/47716509:57
*** tobberydberg has joined #openstack-ansible09:57
*** SerenaFeng has quit IRC09:58
*** SerenaFeng has joined #openstack-ansible09:58
*** tobberydberg has quit IRC09:59
*** tobberydberg has joined #openstack-ansible09:59
odyssey4mehw_wutianwei the dynamic address fact find method was not changed - have you executed the current configuration successfully before?09:59
odyssey4medo you have an ip address on your storage bridge?09:59
hw_wutianweiodyssey4me: I have assigned ip to br-storage10:02
hw_wutianweiodyssey4me:10:02
hw_wutianwei[root@host4 ~]# ifconfig br-storage10:02
hw_wutianweibr-storage: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 150010:02
hw_wutianwei        inet 172.16.2.4  netmask 255.255.255.0  broadcast 172.16.2.25510:02
odyssey4mehw_wutianwei was that recently assigned, or was that assigned before you executed any ansible?10:02
hw_wutianweibefore I run any ansible10:03
*** Guest58 is now known as totos10:03
totoshello  on ubuntu 16.04 i downgraded my kernel to 3.19 and on first boot i see the containers get no ip , restarting lxcbr0  made no difference. do i need to rerun parts of the role or something else i need to run10:04
odyssey4mehw_wutianwei it appears that you have 3 haproxy hosts, but one cinder service host - are you sure that your host/group mappings are right? can you pastebin them?10:06
odyssey4metotos unlikely - you'll need to look at logs to figure out what's going wrong in the containers to figure out what's next10:07
odyssey4mecheck the lxc logs on the host first, that may help10:07
totosok thanks10:07
hw_wutianweiodyssey4me: I do do you mean I paste haproxy configuration, or openstack_user_config.yml10:10
hw_wutianweiodyssey4me: do you mean I paste haproxy configuration, or openstack_user_config.yml?10:10
odyssey4mehw_wutianwei openstack_user_config and any conf.d file entries10:11
hw_wutianweiodyssey4me: this is openstack_user_config http://paste.openstack.org/show/613696,  I don't change anything in conf.d10:18
*** rstarmer has joined #openstack-ansible10:27
*** stuartgr has joined #openstack-ansible10:29
*** cathrichardson has quit IRC10:40
*** cathrichardson has joined #openstack-ansible10:41
*** rstarmer has quit IRC10:42
*** fergus has quit IRC10:43
*** dixiaoli has joined #openstack-ansible10:46
*** SerenaFeng has quit IRC10:51
*** lkoranda has quit IRC10:51
*** pcaruana has quit IRC10:53
*** SerenaFeng has joined #openstack-ansible10:55
*** HarryHuang has quit IRC10:58
*** lkoranda has joined #openstack-ansible10:59
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova stable/newton: Perform an atomic policy file change  https://review.openstack.org/47746710:59
*** cuongnv has quit IRC11:01
*** dixiaoli has quit IRC11:01
*** drifterza has quit IRC11:03
*** tobberydberg has quit IRC11:03
*** tobberydberg has joined #openstack-ansible11:04
*** pcaruana has joined #openstack-ansible11:05
*** armaan has quit IRC11:08
*** manheim has joined #openstack-ansible11:08
*** tobberydberg has quit IRC11:09
*** tobberydberg has joined #openstack-ansible11:10
*** tobberydberg has quit IRC11:11
*** tobberydberg has joined #openstack-ansible11:11
*** manheim has quit IRC11:12
*** pomac has joined #openstack-ansible11:14
*** tobberydberg has quit IRC11:16
*** tobberydberg has joined #openstack-ansible11:16
*** manheim has joined #openstack-ansible11:18
hw_wutianwei211:18
*** smatzek has joined #openstack-ansible11:25
*** coolkil has joined #openstack-ansible11:26
*** d9k_ has joined #openstack-ansible11:26
*** d9k has quit IRC11:28
*** manheim has left #openstack-ansible11:34
*** hw_wutianwei has quit IRC11:38
*** hw_wutianwei has joined #openstack-ansible11:39
hwoarangmhayden: hello. do you have 5 min to talk about ansible-hardening?11:47
markus_zcoolkil: I would start to push a few patches for s390x support, wanna be the "co-author"?11:55
coolkilyeah wanna help anyway i can11:56
coolkilhave been working on serial console support unfortunatly no luck yet11:56
markus_zcoolkil: Cool, I'll add you as co-author of the patches I have ATM.11:57
markus_zcoolkil: Ah, any issue I might be helpful?11:57
coolkilwell wednesday I will be giving it another active attempt11:59
markus_zcoolkil: OK, let me know when I can help, I know the feature well(-ish).11:59
markus_zcoolkil: Which name + email should I use for the co-author keyword in the commit messages?12:00
coolkilnoticed saw youre name in a lot of articles and pages around that feature12:00
Martin__Hi! I had some problems with haproxy during setup-infrastructure.yml and someone recommended to destroy the containers and also remove /var/cache/lxc. I did so but now setup-hosts.yml fails during [lxc_hosts : Prepare cached image setup commands]. Error message: Temporary failure resolving 'de.archive.ubuntu.com' (and similar for the other servers).12:01
Martin__The executed command seems to be `chroot /var/lib/lxc/LXC_NAME/rootfs /usr/local/bin/cache-prep-commands.sh` which fails on the control node because /root/repo.keys is not found. But it exists... What is going wrong here?12:02
mgariepygood morning everyone12:03
mgariepyhw_wutianwei, did you find a solution for mariadb issue ?12:05
mgariepyhw_wutianwei, I think you had this one: https://bugs.launchpad.net/openstack-ansible/+bug/169753112:06
openstackLaunchpad bug 1697531 in openstack-ansible "Galera server fail to start on CentOS." [High,Fix released] - Assigned to Major Hayden (rackerhacker)12:06
odyssey4meMartin__ you'll need to clear out the apt-cacher-proxy config file - see https://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#rebuilding-an-aio12:15
*** woodard has joined #openstack-ansible12:16
odyssey4meif any cores have some time available, I'd appreciate reviews for https://review.openstack.org/#/q/owner:jesse-pretorius+status:open+branch:stable/ocata and https://review.openstack.org/#/q/owner:jesse-pretorius+status:open+branch:stable/newton12:19
*** dxiri has joined #openstack-ansible12:20
Martin__odyssey4me I do not have that file. For 00, there are only 00aptitude and 00trustcdrom.12:20
odyssey4meMartin__ no other files with proxy configurations?12:21
*** woodard has quit IRC12:21
Martin__odyssey4me and this is not an aio, just in case this makes a difference12:21
odyssey4meoh, also /root/repo.keys is copied by the playbook from the host into the container rootfs12:22
odyssey4medid you delete /var/cache/lxc or only its contents?12:22
odyssey4methe same principle applies to cleaning up a multi-node deployment12:23
Martin__odyssey4me nope, nothing named like cache or similar, and I deleted taht directory12:23
odyssey4mealthough the best is always to rebuild from the ground up12:23
mhaydenmorning12:23
mhaydenhwoarang: yessir! (just sat down with coffee_12:23
odyssey4meMartin__ ok, try recreating /var/cache/lxc ?12:23
hwoarangmhayden: ok great. so a few questions starding from the Vagrantfile12:24
hwoarangwhy do you use a separate vagrant.yml instead of test.yml which is what the CI uses?12:25
*** dxiri has quit IRC12:25
odyssey4meMartin__ hmm, no we recreate /var/cache/lxc/download it seems, so that won't make a difference12:25
Martin__odyssey4me it is recreated by the playbook12:25
mhaydenhwoarang: that's a good question -- i don't use vagrant ;)12:25
odyssey4meok, then I have no idea - without more debug informaiton it's hard to tell what's going wrong12:25
mhaydenmight want to do a 'git blame' on that file and see why it might be that way12:26
hwoarangmhayden: ok then i will rework the vagrant thing then since i had some other questions about it.12:26
odyssey4memhayden whothat was some sort of legacy reason which may no longer be required12:26
Martin__odyssey4me Want a log?12:26
odyssey4meMartin__ sure, a log of the lxc-hosts playbook with -vvv12:26
odyssey4mepastebin (or similar)12:27
hwoarangmhayden: any objections to replace ansible_os_family with ansible_pkg_mgr for redhat? because ansible_os_family is a bit messed up on suse on old ansible versions12:27
hwoaranglike 'ansible_pkg_mgr in ['yum', 'zypper']' on the tasks that are common to both distros12:27
Martin__odyssey4me can I run that separately from setup-hosts?12:28
odyssey4meMartin__ yes12:28
odyssey4mesetup-hosts is just a meta-playbook which includes a series of others12:28
mhaydenhwoarang: i'm not opposed to that -- we might need to do tinkering when RHEL 8 comes out, but we should be okay with that for a while12:29
hwoarangok12:29
hwoarangnow, 'aide'12:29
mhaydenyay, aide!12:29
hwoarangyou use 'aideinit' to init the db. but this command is only available on ubuntu12:29
Martin__odyssey4me takes a moment12:29
hwoarangso i guess this task may never pass on rhel12:29
hwoarangam i right?12:29
hwoarangat least, i can't see this executable being present in the centos rpm12:29
mhaydenright, ubuntu has a special script for that12:30
hwoarangok will fix that too then for rhel then12:30
mhaydenhmm, there was a reason why i did it that way12:30
* mhayden tries to remember12:30
hwoarangi tried to understand how would that work on rhel but i couldn't find if the db is initialized anywhere else12:31
hwoarangso i presume that it's just broken ;p12:31
mhaydenah, for RHEL it's aide --init12:31
hwoarangyes12:32
mhaydenhwoarang: that's a bug!12:32
hwoarangtrue12:32
hwoarang;p12:32
mhaydeni'll open a bug -- want me to assign it to you?12:32
mhaydenthe RHEL task is just totally missing12:32
hwoarangyeah ok i already have a fix in my branch12:32
hwoaranggood12:32
hwoarangthat's all i can remember for now...12:32
hwoarangwill push that a bit later today for review12:33
mhaydenhttps://bugs.launchpad.net/openstack-ansible/+bug/170052412:33
openstackLaunchpad bug 1700524 in openstack-ansible "AIDE isn't getting initialized on RHEL/CentOS/Fedora" [High,Confirmed]12:33
mhaydenfeel free to grab it12:34
mhaydenthanks for doing that, too12:34
*** tobberydberg has quit IRC12:34
*** tobberydberg has joined #openstack-ansible12:35
*** tobberydberg has quit IRC12:36
*** tobberydberg has joined #openstack-ansible12:37
*** jamesdenton has joined #openstack-ansible12:42
*** jamesden_ has quit IRC12:43
*** SerenaFeng has quit IRC12:43
hwoarangno problem12:45
*** cpuga has joined #openstack-ansible12:45
*** cpuga_ has joined #openstack-ansible12:48
openstackgerritMerged openstack/openstack-ansible-apt_package_pinning master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739712:50
openstackgerritMerged openstack/openstack-ansible-ceph_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739812:50
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740312:51
*** cpuga has quit IRC12:51
openstackgerritMerged openstack/openstack-ansible-ops master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740612:51
openstackgerritMerged openstack/openstack-ansible-galera_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739912:51
openstackgerritMerged openstack/openstack-ansible-plugins master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741312:52
openstackgerritMerged openstack/openstack-ansible-galera_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740012:52
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740412:52
openstackgerritMerged openstack/openstack-ansible-openstack_openrc master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740512:52
openstackgerritMerged openstack/openstack-ansible-os_almanach master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740712:52
openstackgerritMerged openstack/openstack-ansible-pip_install master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47740812:52
openstackgerritMerged openstack/openstack-ansible-repo_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741412:52
openstackgerritMerged openstack/openstack-ansible-rsyslog_client master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741512:52
openstackgerritMerged openstack/openstack-ansible-rsyslog_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741612:53
openstackgerritMerged openstack/openstack-ansible-repo_build master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47741212:53
openstackgerritMerged openstack/openstack-ansible-os_aodh master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732012:54
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732612:54
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732512:54
openstackgerritMerged openstack/openstack-ansible-os_cloudkitty master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732912:54
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47732812:54
Martin__odyssey4me There you go: https://pastebin.com/tJjH3TwU12:56
Martin__odyssey4me Thanks for having a look :)12:56
openstackgerritMerged openstack/openstack-ansible-haproxy_server master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738312:56
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733612:56
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734112:57
openstackgerritMerged openstack/openstack-ansible-tests master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739212:57
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738712:57
openstackgerritMerged openstack/openstack-ansible-os_designate master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733012:57
openstackgerritMerged openstack/openstack-ansible-os_glance master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733212:57
openstackgerritMerged openstack/openstack-ansible-os_heat master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733412:57
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733812:57
openstackgerritMerged openstack/openstack-ansible-os_monasca master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734012:58
openstackgerritMerged openstack/openstack-ansible-os_monasca-agent master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739112:58
openstackgerritMerged openstack/openstack-ansible-os_nova master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734512:58
openstackgerritMerged openstack/openstack-ansible-os_sahara master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734412:58
openstackgerritMerged openstack/openstack-ansible-os_searchlight master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734612:58
openstackgerritMerged openstack/openstack-ansible-os_swift master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734712:58
openstackgerritMerged openstack/openstack-ansible-os_tempest master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734812:58
*** lostRhino has joined #openstack-ansible12:58
openstackgerritMerged openstack/openstack-ansible-os_gnocchi master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733312:58
openstackgerritMerged openstack/openstack-ansible-os_molteniron master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47738912:59
openstackgerritMerged openstack/openstack-ansible-os_monasca-ui master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47739012:59
lostRhinogood morning12:59
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733912:59
openstackgerritMerged openstack/openstack-ansible-os_rally master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734312:59
openstackgerritMerged openstack/openstack-ansible-os_trove master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47734912:59
openstackgerritMerged openstack/openstack-ansible-os_watcher master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47735013:00
odyssey4meMartin__ Can you check the content of /var/lib/lxc/LXC_NAME/rootfs/etc/resolv.conf ? It should match your host, and should be valid.13:00
openstackgerritMerged openstack/openstack-ansible-openstack_hosts master: Improve Python 3 compatibility  https://review.openstack.org/47702113:00
openstackgerritMerged openstack/openstack-ansible-os_zaqar master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47735113:00
lostRhinounder repo_build - while creating the openstack-ansible requirement wheels - is there a way to bypass errors ? I’ve done some googling and cant seem to find a way to get past checking out a detached head state… we’re working off the newton/stable branch …13:00
odyssey4melostRhino Can you share which errors you're seeing?13:01
odyssey4memaybe a pastebin or something?13:01
lostRhinoyes I have to go there…one moment please… loading....13:02
openstackgerritMerged openstack/openstack-ansible master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47733713:02
lostRhinohttp://paste.openstack.org/show/613718/13:02
Martin__odyssey4me nameserver 10.0.3.1, that sound right to me13:03
openstackgerritMarkus Zoeller (markus_z) proposed openstack/openstack-ansible-lxc_hosts master: Add s390x as supported architecture  https://review.openstack.org/47752613:03
odyssey4meMartin__ it should be the host's address on the lxcbr0 interface13:03
Martin__however the container does not have an IP and is stopped according to lxc-ls -f: LXC_NAME STOPPED 0         -      -    -13:04
odyssey4meMartin__ and you should be able to communicate through it.13:04
odyssey4meif you can't, then that's the issue13:04
openstackgerritMarkus Zoeller (markus_z) proposed openstack/openstack-ansible-lxc_container_create master: Add s390x as supported architecture  https://review.openstack.org/47752713:04
odyssey4melostRhino I think https://github.com/openstack/openstack-ansible-repo_build/commit/be660fa134a95ed36fe1c933df5f587c4bf3f298 will actually stop all those horrible log outputs13:05
odyssey4meI'll push a SHA bump for that role to include it in the next release.13:05
Martin__odyssey4me but yes, thats the problem, ifconfig in container statest that the interface lacks an ip address, and the network is unreachable13:05
Martin__so back to lxc-config, yeah...13:05
*** gkadam has quit IRC13:06
odyssey4meMartin__ the container is not supposed to be running13:06
odyssey4methe cache prep process chroots into it13:06
*** drifterza has joined #openstack-ansible13:06
lostRhinobut will it continue … it just hangs13:06
lostRhinofor me13:06
odyssey4meMartin__ if you can just refresh the hosts, do that - it'll save you time13:06
odyssey4melostRhino yes, at that time it's building packages13:07
odyssey4methose are not errors, just notifications13:07
lostRhinoso I need to backport?13:07
lostRhinoor can I override now?13:07
*** acormier has joined #openstack-ansible13:08
*** cNilesh has quit IRC13:11
lostRhinoodyssey4me: actually…. I was not reading for newton/stable  - ok thanks - I’ll see if this fixes our issue13:11
*** cNilesh has joined #openstack-ansible13:11
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Update repo_build SHA to include idempotent wheel build  https://review.openstack.org/47752813:12
*** mrch has joined #openstack-ansible13:13
*** lucasxu has joined #openstack-ansible13:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/newton: Update repo_build SHA to include idempotent wheel build  https://review.openstack.org/47753113:14
odyssey4melostRhino ^ that's the backport to the integrated repo to get it included in the next release13:16
lostRhinowould an offline build be affected by this?13:16
*** gouthamr has joined #openstack-ansible13:16
*** jheroux has joined #openstack-ansible13:19
Martin__odyssey4me Thanks a million. I will have a look if I can pt the control host in a VM, at least for testing13:20
openstackgerritMerged openstack/openstack-ansible-repo_build master: Add protection against no local facts being defined  https://review.openstack.org/47706513:20
odyssey4melostRhino with that patch, a repo_build will not bother doing any build unless requirements have changed13:21
*** dxiri has joined #openstack-ansible13:21
odyssey4meit won't reach out for git updates, for wheels or for venvs unless there's a new tag (and the build has never been done) or requirements have changed13:22
*** electrofelix has quit IRC13:23
openstackgerritMerged openstack/openstack-ansible-tests stable/newton: Update common repo files  https://review.openstack.org/47709613:24
openstackgerritMerged openstack/openstack-ansible-tests stable/ocata: Update common repo files  https://review.openstack.org/47709313:24
*** gouthamr has quit IRC13:26
*** esberglu has joined #openstack-ansible13:26
*** dxiri has quit IRC13:26
openstackgerritMarkus Zoeller (markus_z) proposed openstack/openstack-ansible-lxc_container_create stable/ocata: Add s390x as supported architecture  https://review.openstack.org/47753313:26
*** cathrich_ has joined #openstack-ansible13:27
*** cNilesh has quit IRC13:27
*** cathrichardson has quit IRC13:30
*** thorst has joined #openstack-ansible13:31
*** cNilesh has joined #openstack-ansible13:33
*** klamath has joined #openstack-ansible13:34
*** klamath has quit IRC13:34
*** klamath has joined #openstack-ansible13:35
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Use run_once instead of inventory scoping  https://review.openstack.org/47710313:35
*** kylek3h has joined #openstack-ansible13:37
*** cNilesh has quit IRC13:38
*** jwitko has joined #openstack-ansible13:41
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701713:44
odyssey4melooking for a review for this fix for os_keystone newton: https://review.openstack.org/47708313:44
cloudnullmornings13:44
odyssey4meo/13:44
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_gnocchi master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47657013:44
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_monasca master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47657713:45
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_searchlight master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47658513:45
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-rabbitmq_server master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47753813:45
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-repo_build master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47659413:45
Martin__odyssey4me I think I found the problem: lxcbr0 is not attached to any interface. It cannot because /etc/network/interfaces.d/lxc-net-bridge.cfg connects it to: bridge_ports none. However, overriding the default none to the proper interface13:48
odyssey4meMartin__ so it sounds like perhaps the routing is busted in LXC13:48
Martin__still does not resolve the problem. But no adding an interface seems a bit strange to me...13:48
odyssey4meI think there's a script placed on the host to fix that13:48
*** acormier has quit IRC13:49
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Add s390x as supported architecture  https://review.openstack.org/47752613:49
*** acormier has joined #openstack-ansible13:49
odyssey4meMartin__ /usr/local/bin/lxc-system-manage13:49
odyssey4methat's a tool to fix up broken networking on the lxc host if stuff goes wonky13:50
*** Martin_____ has joined #openstack-ansible13:50
openstackgerritMerged openstack/openstack-ansible-lxc_container_create master: Add s390x as supported architecture  https://review.openstack.org/47752713:52
Martin_____odyssey4me damn, browser crashed :(13:53
*** Martin__ has quit IRC13:53
odyssey4meMartin_____ all IRC conversations in this channel are logged :) http://eavesdrop.openstack.org/irclogs/%23openstack-ansible/13:54
odyssey4meit may take a bit of time for the logs to appear, but they will13:54
*** smatzek has quit IRC13:54
Martin_____odyssey4me yap, I know, I regularly search the logs ;)13:55
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-lxc_container_create stable/ocata: Add s390x as supported architecture  https://review.openstack.org/47753313:55
odyssey4memarkus_z ^ was that an intentional backport?13:56
markus_zodyssey4me: yes, would be cool to have that13:56
markus_zoh, I did the backport wrong?13:57
odyssey4memarkus_z assuming the patches for support are not too onerous, it should be fine13:57
odyssey4meI would guess it'll be small patches like that for the most part.13:57
odyssey4memarkus_z yeah, always wait for master to merge before proposing a backport13:58
markus_zodyssey4me: I assume that, yes, but I'm not fully through.13:58
odyssey4mehttps://docs.openstack.org/developer/openstack-ansible/developer-docs/contribute.html#backporting13:58
markus_zodyssey4me: got it, will be more careful in the future13:58
odyssey4meno worries :)13:58
*** esberglu has quit IRC13:59
*** cpuga_ has quit IRC14:00
*** esberglu has joined #openstack-ansible14:00
markus_zodyssey4me: I'm still not sure how to handle package dependencies like "libmariadbclient-dev" which seems to be in earliest in ubuntu zesty. Got a tip for that?14:02
odyssey4memarkus_z we get that from the mariadb repositories14:02
odyssey4menot from ubuntu14:03
markus_zodyssey4me: Is that what "galera_repo_url" is used for?14:03
coolkilyea but the problem is the mariadb repo dont have support for s390x14:04
*** esberglu has quit IRC14:04
odyssey4mecoolkil markus_z do any mariadb repositories have s390x packages?14:05
markus_zWe're talking about this https://downloads.mariadb.org/mariadb/repositories/# ?14:05
odyssey4meyep14:05
openstackgerritMerged openstack/openstack-ansible-os_nova stable/ocata: Add reload support to init file  https://review.openstack.org/47707214:05
markus_zI haven't yet found one TBH14:06
odyssey4mehmm, that's unfortunate14:06
openstackgerritMerged openstack/openstack-ansible master: Change the variable name play_hosts to ansible_play_hosts  https://review.openstack.org/47319714:07
openstackgerritMerged openstack/openstack-ansible stable/ocata: Implement rolling upgrades for neutron  https://review.openstack.org/47710014:07
markus_zI still have to ask around. Right now I know only the ubuntu zesty sources and this wiki: https://github.com/linux-on-ibm-z/docs/wiki/Building-MariaDB-10.1-on-RHEL-7,-RHEL6,-SLES-12-and-Ubuntu-16.0414:07
coolkilwhat would maria db need to get the packages in their repo?? access to s390x vm??14:09
markus_zthe mariadb folks only link to mirros AFAIK, is that right?14:09
*** cpuga has joined #openstack-ansible14:11
coolkilactualy why bother. once ubuntu 18.04 comes out i asume openstack-ansible will move to that. ubuntu 18.04 will have the right mariadb in repo. till that time we need a simple way to add the ubuntu repo and set package pinning. or am I wrong?14:11
odyssey4mecoolkil markus_z well, yeah - you can opt to use whatever is in the distro or UCA as an alternative, and push patches to allow disabling of anything that's not available14:13
*** totos has quit IRC14:14
*** drifterza has quit IRC14:14
*** smatzek has joined #openstack-ansible14:14
markus_zMy folks here are usually on the conservative side when it comes to distro upgrades, IOW 16.04 will probably used for longer than until 18.0414:15
markus_zcomes out14:15
markus_zI have to think a little how to do that properly14:16
coolkilyeah that is also true.. will those folks also have issues with sneaking in packages from 17.04?14:16
*** dxiri has joined #openstack-ansible14:16
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701714:17
markus_zhm, maybe, I have to discuss it14:17
markus_zI think I'm going to ask Ubuntu folks for their opinion on backports to Xenial14:18
*** cNilesh has joined #openstack-ansible14:18
coolkilthat would be the best solution14:18
coolkili think14:18
coolkileither that or ask the mariadb guys to add s390x support for their repo14:19
*** mrch has quit IRC14:20
markus_zyes, that's the second road I can go14:21
*** dxiri has quit IRC14:23
coolkilfor test purposes right now it is fine to use the work arround method of adding the zesty repo and apt-package pinning14:24
markus_zyeah, think so too14:24
*** dxiri has joined #openstack-ansible14:27
*** jvidal has quit IRC14:30
*** tobberyd_ has joined #openstack-ansible14:31
*** esberglu has joined #openstack-ansible14:32
*** tobberydberg has quit IRC14:34
*** tobberyd_ has quit IRC14:35
lostRhinois there anyway we can add a file to any container during setup-inventory.yml  (or even a specific container?)14:38
openstackgerritDimitrios Markou proposed openstack/openstack-ansible-specs master: Blueprint for Openvswitch with NSH support in OSA  https://review.openstack.org/47612114:42
*** chyka has joined #openstack-ansible14:43
*** jvidal has joined #openstack-ansible14:44
*** electrofelix has joined #openstack-ansible14:44
*** Guest58 has joined #openstack-ansible14:46
*** dxiri has quit IRC14:48
odyssey4melostRhino yes, hang on14:49
odyssey4melostRhino you can add to the lxc cache14:49
openstackgerritMerged openstack/openstack-ansible-os_keystone stable/newton: Correct behaviour for serialised execution  https://review.openstack.org/47708314:49
odyssey4meif the containers are already there, then that won't work for you though14:49
*** nollide has joined #openstack-ansible14:49
lostRhinoif its for a fresh install of OSA could we use the LXC cache?14:50
odyssey4melostRhino to get stuff into the cache, you can add commands to run into lxc_cache_prep_pre_commands or lxc_cache_prep_post_commands14:51
odyssey4methey're run before and after: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/vars/ubuntu-16.04.yml#L58-L9014:51
lostRhinoodyssey4me: i think we found it - lxc_container_cache_files ?14:52
*** cuongnv has joined #openstack-ansible14:52
odyssey4melostRhino alternatively you can use lxc_container_commands which will execute commands when the container is created14:52
odyssey4melostRhino or yes, to add just files to the cache you can use lxc_container_cache_files14:53
lostRhinocan lxc_container_commands be applied to individual containers for exampe “utility”>14:53
lostRhino?14:53
*** dxiri has joined #openstack-ansible14:55
*** woodard has joined #openstack-ansible15:03
openstackgerritMerged openstack/openstack-ansible master: Allow keystone playbook to work with limits  https://review.openstack.org/47710215:04
openstackgerritMerged openstack/openstack-ansible stable/ocata: Add haproxy-endpoint-manage common task  https://review.openstack.org/47747015:04
*** Martin_____ has quit IRC15:06
*** vnogin has quit IRC15:06
openstackgerritMerged openstack/openstack-ansible stable/ocata: Implement rolling upgrades for keystone  https://review.openstack.org/47716515:10
*** mbuil has joined #openstack-ansible15:11
*** marst has joined #openstack-ansible15:17
*** jvidal has quit IRC15:19
*** dxiri has quit IRC15:20
*** jwitko has quit IRC15:21
mbuilHey, I have an aio deployment and I wanted to restart the installation. I ran lxc-containers-destroy.yml and then tried to execute setup-everything.yml but I keep getting the problem: "Failed to update apt cache.". Any idea what might be wrong? apt-get update does not work and throws apt-secure problems15:22
*** Bico_Fino has joined #openstack-ansible15:23
Bico_FinoHello, its safe to use the branch ocata from openstack-ansible github? I’m getting these http://paste.openstack.org/show/613733/15:24
*** dxiri has joined #openstack-ansible15:25
mgariepymbuil, you'll need to clear out the apt-cacher-proxy config file - see https://docs.openstack.org/developer/openstack-ansible/developer-docs/quickstart-aio.html#rebuilding-an-aio15:29
*** cNilesh has quit IRC15:32
*** coolkil has quit IRC15:32
mbuilmgariepy: thanks!15:33
mgariepymbuil, no problem I just copied what odyssey4me has said earlier :D15:34
odyssey4melostRhino yes, if you use group_vars to apply it to the group alone15:34
lostRhinothank you sir15:35
odyssey4meBico_Fino have you rebootstrapped ansible recently?15:36
Bico_Finono odyssey4me15:36
odyssey4meif you update your git repo, you should also execute bootstrap-ansible to pick up the new roles and settings that come with it15:36
Bico_FinoShould I run scripts/bootstrap-ansible.sh again?15:36
Bico_FinoThanks, going try that15:36
odyssey4meBico_Fino also, some fixes for stable/ocata just merged - so update to the latest head of stable/ocata15:37
*** Oku_OS is now known as Oku_OS-away15:37
*** dxiri has quit IRC15:39
*** dxiri has joined #openstack-ansible15:41
*** lostRhino has left #openstack-ansible15:42
Bico_Finoodyssey4me: Just ran ./bootstrap-ansible.sh, it don’t create the system_crontab_coordination role inside common-playbooks15:42
odyssey4meBico_Fino it won't, because that's not where it is15:42
Bico_FinoShould I start over the whole process? I’m on the part setup-openstack.yml15:42
Bico_FinoThis is the error: ERROR! the role 'system_crontab_coordination' was not found in /opt/openstack-ansible/playbooks/common-playbooks/roles:/etc/ansible/roles:/root/roles:/opt/openstack-ansible/playbooks/common-playbooks15:42
odyssey4metry running the setup-openstack.yml playbook again15:43
Bico_Finosame error15:43
*** nollide has left #openstack-ansible15:43
odyssey4mehmm, I could have sworn that I had fixed that issue15:44
Bico_FinoThe error appears to have been in '/opt/openstack-ansible/playbooks/common-playbooks/cinder.yml': line 116, column 7, but may15:44
Bico_FinoStarted today after I did a git pull. :)15:46
odyssey4meBico_Fino yep, this is why it's not released yet15:47
odyssey4meif you need something stable, please revert to the last published tag15:48
Bico_Finoon it odyssey4me15:48
openstackgerritNolan Brubaker proposed openstack/openstack-ansible-os_glance master: Only sync glance database on major versions  https://review.openstack.org/47547015:49
*** markus_z has quit IRC15:50
*** dxiri has quit IRC15:54
*** dxiri has joined #openstack-ansible15:55
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Ensure that role path is absolute  https://review.openstack.org/47759915:55
odyssey4meBico_Fino ^ that should solve the issue - but will require a rebootstrap of ansible15:56
Bico_Finogoing try ocata tag odyssey4me15:56
Bico_FinoI think all this time we were using the unstable.15:56
odyssey4meBico_Fino I'm causing a bit of churn in the stable branches in order to get rolling upgrades implemented... apologies. :)15:58
odyssey4meI think the reward will be worth the pain.15:58
Bico_FinoI’m trying to implement 4 node compute/infra with ceph(4 nodes too)15:58
odyssey4meif any cores are available, assuming https://review.openstack.org/477599 passes we'll need to get it ported back asap.15:58
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Ensure that role path is absolute  https://review.openstack.org/47759915:59
*** drifterza has joined #openstack-ansible16:00
*** lkoranda has quit IRC16:01
openstackgerritMerged openstack/openstack-ansible-repo_build master: Updated from OpenStack Ansible Tests  https://review.openstack.org/47659416:03
*** pcaruana has quit IRC16:03
*** lucasxu has quit IRC16:08
*** armaan has joined #openstack-ansible16:08
*** armaan_ has joined #openstack-ansible16:09
*** lkoranda has joined #openstack-ansible16:09
*** armaan_ has quit IRC16:09
*** klamath has quit IRC16:09
*** armaan has quit IRC16:11
*** dxiri has quit IRC16:11
*** dxiri has joined #openstack-ansible16:12
*** pcaruana has joined #openstack-ansible16:14
*** vnogin has joined #openstack-ansible16:15
*** vnogin has quit IRC16:16
*** armaan has joined #openstack-ansible16:22
*** vnogin has joined #openstack-ansible16:26
*** tobberydberg has joined #openstack-ansible16:28
*** cuongnv has quit IRC16:37
*** klamath has joined #openstack-ansible16:38
*** dxiri has quit IRC16:38
*** lostRhino has joined #openstack-ansible16:38
lostRhinois there any OSA code that takes care of pydistutils.cfg for the nodes and/or containers?16:39
odyssey4melostRhino not to my knowledge16:41
lostRhinowell16:41
lostRhinothere should be16:41
lostRhino:D16:41
lostRhinoif pydistutils is not modified lets say under the container - it will continue to point to https://pypi.python.org/pypi not a different mirror specified -16:42
lostRhinowhen it does the wheel build16:42
lostRhinofor example16:42
*** nollide has joined #openstack-ansible16:42
odyssey4melostRhino but we have other vars to specify which mirrors should be used16:43
odyssey4mefor the default and for extras16:43
odyssey4mehttps://github.com/openstack/openstack-ansible-repo_build/blob/master/defaults/main.yml#L73-L7816:43
lostRhinowe’ve been trying to use the default index (repo_build_pip_default_index) and it does not work for us… the build hangs16:44
odyssey4meoh really?16:45
lostRhinoyes16:45
lostRhinowhich is why my comment above is noted…16:45
odyssey4meif the index correctly setup?16:45
*** dxiri has joined #openstack-ansible16:45
lostRhinoyessir16:45
odyssey4meoh weird, I wonder if something broke in pip then16:46
lostRhinowe’re using 9.0.116:46
odyssey4meI'm not really in a position to verify that right now, but if you can register a bug hopefully I can another time.16:47
odyssey4meor someone else might beat me to it16:47
openstackgerritMerged openstack/openstack-ansible-os_keystone stable/newton: Split user create and ssh key generation  https://review.openstack.org/47671716:47
lostRhinoI will try the extra indexes really quick…16:47
*** mbuil has quit IRC16:47
odyssey4methat definitely works - we use it for all gating16:48
lostRhinoextra or index? or both16:48
odyssey4methe extra indexes16:48
lostRhinoI’ll tell you in a couple if it works in our environment16:49
*** armaan has quit IRC16:53
*** cpuga has quit IRC16:54
lostRhinoits not working sir17:01
lostRhinohangs on aodh17:01
lostRhinorepo_build : Create OpenStack-Ansible requirement wheels17:01
*** pcaruana has quit IRC17:03
*** dxiri has quit IRC17:03
*** dxiri has joined #openstack-ansible17:03
lostRhinothe error we get is :  http://paste.openstack.org/show/613739/17:04
*** schwicht has quit IRC17:04
lostRhinothe repo_index and repo_extra_indexes is defined17:05
spotz_lostRhino: You guys are doing offline install?17:06
lostRhinoyes17:07
lostRhinowe only point to internal resources17:07
lostRhinohttp://paste.openstack.org/show/613740/17:07
spotz_internal pypi configed too?17:08
lostRhinoyes17:08
lostRhinohowever whenever we modify the pydistutils.cfg and point to our internal mirrors - everything works fine and nothing hangs17:09
lostRhinomore specifically /root/.pydistutils.cfg under the repo container - it starts to do the whole shebang17:09
*** lkoranda has quit IRC17:09
lostRhinothe problem is with the command ‘python setup.py egg_info’17:10
spotz_Yeah cause it looks like the efg_info isn't even trying your local pypi17:10
spotz_from that error bit17:10
lostRhinoConnectionError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /pypi/pip/json (Caused by NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f593d0196d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',))17:12
*** schwicht has joined #openstack-ansible17:13
spotz_lostRhino: Ok assuming that you're allowing it to connect to external pypi. reachable from your network or no? Just trying to figure out the whole picture17:14
*** pbandark has quit IRC17:16
lostRhinowe are NOT allowing it to route to an external pypi -17:16
lostRhinowe have an internal pypi17:16
spotz_Ok so the issue is that it's not even trying... got it17:17
spotz_Running on little sleep, slower then normal17:17
*** lkoranda has joined #openstack-ansible17:17
lostRhinoits not even getting to the other indexes what-so-ever , the overrides are not setting the correct things that need to be overriden for specific commands17:17
spotz_lostRhino: Has it ever worked or first time trying?17:18
lostRhinonope - we’ve been troubleshooting for 3 days and finally said f-it .. - we had a similar issue with our deployment host17:19
spotz_Hrm reading the scrolls looks like odyssey4me has run into something similar in getting. Can you remove the aodh part and see if it'll complete? Might end up being a bug in the one part17:22
*** lucasxu has joined #openstack-ansible17:24
odyssey4menah, I think aodh is just the first one being done17:24
lostRhinoit is17:24
lostRhinoit just hangs17:24
lostRhinoon aodh trying to get to pypi17:24
*** dxiri_ has joined #openstack-ansible17:24
*** dxiri has quit IRC17:25
*** ricardoas has joined #openstack-ansible17:26
spotz_bah I was hoping for isolation!17:26
lostRhinoplease dont isolate yourself!!!!17:26
spotz_So odyssey4me you broke it?:)17:26
odyssey4melol17:27
spotz_heheh I like to isolate parts when troubleshooting. Narrow things down but if it's stopping on the first thing:(17:27
odyssey4meit worked a few series ago17:27
spotz_We could blame stevelle?:) I miss him:(17:28
odyssey4meI would suggest a bare system with just pip first to test whether using the default index on the CLI works at all for installing a package17:28
odyssey4meif that works, then try a git repo build17:28
odyssey4meif both work, then it must be something in what we're doing17:28
odyssey4meif you can register a bug and put all the info there then that'll be useful17:28
lostRhinoIm also wondering if your gate servers are “”truly disconnected17:29
odyssey4methey're not17:29
odyssey4meour gating uses the pypi default, and the local servers as extras17:29
lostRhinothe repo container will always build the wheels no matter what if it can reach pypi …17:30
odyssey4melostRhino yep17:30
odyssey4meso for our environment we're doing the repo build in a CI job, then saving the resulting build into a data set which can be used offline17:31
odyssey4methe CI job is online, and it does the build17:31
odyssey4methe deployments are offline17:31
odyssey4mewell, that's the aim - still busy working on the fully offline bit17:32
lostRhinohave you heard of pypiserver (https://pypi.python.org/pypi/pypiserver) its a quick and simple pypi server that you can just copy wheels and tar.gz files to - and it will build a simple index17:32
lostRhinoits very helpful…. for getting the wheels/pip files you need and serving them up offline17:32
odyssey4mewell, our repo server does that already :p17:33
*** cpuga has joined #openstack-ansible17:38
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: [WIP] Add ignore_none_type to config template  https://review.openstack.org/47701017:40
*** cpuga_ has joined #openstack-ansible17:43
*** shardy is now known as shardy_afk17:44
*** cpuga has quit IRC17:46
*** electrofelix has quit IRC17:53
*** dxiri_ has quit IRC17:54
*** dxiri has joined #openstack-ansible17:56
*** tobberydberg has quit IRC17:57
*** tobberydberg has joined #openstack-ansible17:57
*** poopcat has joined #openstack-ansible18:00
*** tobberydberg has quit IRC18:02
*** stuartgr has quit IRC18:03
*** acormier_ has joined #openstack-ansible18:14
*** dxiri has quit IRC18:15
*** dxiri has joined #openstack-ansible18:15
*** craigs has joined #openstack-ansible18:15
*** acormier_ has quit IRC18:16
*** acormier has quit IRC18:18
*** acormier has joined #openstack-ansible18:18
*** dxiri has quit IRC18:18
*** dxiri has joined #openstack-ansible18:19
*** acormier has quit IRC18:24
*** acormier has joined #openstack-ansible18:24
*** lostRhino has left #openstack-ansible18:37
*** toddnni has quit IRC18:43
Bico_Finoodyssey4me: finished the install18:46
Bico_FinoBut when I restart an container it come out without networking18:47
Bico_Fino:(18:47
odyssey4meBico_Fino check the lxc logs and dmesg/syslog in the container18:48
Bico_Finonetworking.service: Failed with result 'timeout'.18:49
Bico_FinoIf I attach to the container and run a service networking restart works fine.18:50
Bico_Fino:P18:50
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701018:53
Bico_Finoodyssey4me: lxc_conf - conf.c:lxc_delete_network:3072 - Interface "eth1" with index 283 already deleted or existing in different network namespace.18:54
Bico_Finothis is the only odd log18:54
odyssey4meBico_Fino try using the container management script we put into /usr/local/bin on the lxc hosts?18:55
Bico_Finoinventory-manage.py?18:55
Bico_Fino./lxc-system-manage18:56
Bico_Finothis one? ^18:56
odyssey4meyeah, the last one18:58
odyssey4mewe found that when containers restart they leave hanging veths18:58
odyssey4methat has a command to clean those up18:58
odyssey4methe interface restart is meant to activate it to fix them18:59
Bico_Finolooks like lxc-system-manage system-rebuild fixed them18:59
*** shardy_afk is now known as shardy18:59
Bico_Finoits safe to do a host reboot?18:59
odyssey4meBico_Fino if not, we'd like to know!19:02
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701019:02
Bico_Finothis issue happened after a host reboot odyssey4me19:03
odyssey4meok, a bug report will be important - with steps to reproduce19:03
Bico_Finogoing try it again19:03
*** hybridpollo has joined #openstack-ansible19:06
Bico_Finostrange, nova hypervisor-list returns empty19:08
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701019:09
*** smatzek has quit IRC19:11
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701019:11
*** hybridpollo has quit IRC19:11
*** hybridpollo has joined #openstack-ansible19:11
openstackgerritMiguel Alex Cantu (alextricity25) proposed openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701019:12
*** hybridpollo has quit IRC19:12
Bico_Finoodyssey4me: that explains -> ERROR nova.compute.manager RuntimeError: rbd python libraries not found19:13
odyssey4meah19:16
odyssey4medo you have all the ceph bits set to ensure that they install the packages?19:16
Bico_Finoinside openstack_user_config.yml and user_variables.yml?19:17
Bico_FinoI think I do.19:17
*** acormier has quit IRC19:18
*** acormier has joined #openstack-ansible19:18
*** hybridpollo has joined #openstack-ansible19:19
Bico_Finoodyssey4me: Looks like the same issue here -> https://bugs.launchpad.net/openstack-ansible/+bug/165594119:19
openstackLaunchpad bug 1655941 in openstack-ansible "openstack-ansible rbd python libraries not found" [Undecided,Expired]19:19
odyssey4meBico_Fino user_variables.yml19:19
Bico_Finoyeap19:20
Bico_Finonova_libvirt_images_rbd_pool: ephemeral-vms19:20
*** acormier_ has joined #openstack-ansible19:21
odyssey4methese are the automated decisions made based on settings: https://github.com/openstack/openstack-ansible/blob/215bb56fb3666446ab34c33eb436d9fd8afeed28/group_vars/all/cinder.yml#L21-L3319:21
*** drifterza has quit IRC19:22
odyssey4meso cinder will have rbd enabled if 'cinder.volume.drivers.rbd.RBDDriver' is one of the backend drivers19:22
Bico_Finogot that too19:22
odyssey4meglance_default_store will need rbd: https://github.com/openstack/openstack-ansible/blob/77ac88197c223968e845e57706b81af24d6aa443/playbooks/os-glance-install.yml#L7619:22
*** acormier has quit IRC19:22
odyssey4meor it needs to be an additional store19:23
odyssey4mehttps://github.com/openstack/openstack-ansible/blob/77ac88197c223968e845e57706b81af24d6aa443/playbooks/os-nova-install.yml#L15219:23
odyssey4meand nova_libvirt_images_rbd_pool needs to be set19:23
odyssey4methis is a bit complicated because our ceph implementation is a bit raw19:23
odyssey4meit needs work to make it more friendly19:23
*** acormier_ has quit IRC19:24
Bico_FinoWhen I was using the new versions(git pull)19:24
Bico_Finodidn’t had this issue19:24
mgariepyBico_Fino, what is your userconfig like ? can you pastebin the ceph bits ?19:24
*** acormier has joined #openstack-ansible19:24
Bico_Finomgariepy: sure, hold on.19:24
mgariepyand you are on ocata ? right ?19:24
odyssey4meI'm unfortunately not well versed on the ceph setup details. :/19:24
Bico_Finook19:24
Bico_Finofixed19:24
Bico_Finoocata19:25
Bico_Finolet me put all on a pastebin19:25
odyssey4meif ocata has it fixed, then potentially there's a patch that can be ported back?19:25
Bico_Finoodyssey4me: http://paste.openstack.org/show/613750/19:26
Bico_Finomgariepy: http://paste.openstack.org/show/613750/19:26
Bico_FinoHad to copy the lib to the virtualenv -> https://bugs.launchpad.net/openstack-ansible/+bug/165594119:27
openstackLaunchpad bug 1655941 in openstack-ansible "openstack-ansible rbd python libraries not found" [Undecided,Expired]19:27
mgariepythis is the tasks that does it for you  :: https://github.com/openstack/openstack-ansible-ceph_client/blob/master/tasks/ceph_install_python_libs.yml19:27
odyssey4meBico_Fino you shouldn't need to - if you have the settings right then they're linked in19:29
mgariepyBico_Fino, I do have : nova_ceph_client and nova_ceph_client_uuid19:29
mgariepysame for cinder and glance19:29
mgariepyin my user_variables.19:30
*** dxiri has quit IRC19:30
*** ChanServ has quit IRC19:30
Bico_FinoI see.19:30
Bico_Finoglance worked fine with ceph19:30
Bico_Finowith only that configs19:30
Bico_Finowas able to upload an image19:31
mgariepyno glance_ceph_client_uuid..19:31
mgariepybut for cinder and nova I do.19:31
Bico_FinoSo my user_variables.yml is missing these?19:32
mgariepyhttps://github.com/openstack/openstack-ansible-ceph_client/blob/master/tasks/ceph_auth.yml#L98-L12119:33
mgariepyI think so.19:33
mgariepyBico_Fino, you want to use ceph for ephemeral backend ?19:34
*** smatzek has joined #openstack-ansible19:34
Bico_FinoYeap19:35
*** ChanServ has joined #openstack-ansible19:35
*** card.freenode.net sets mode: +o ChanServ19:35
Bico_FinoTrying to use ceph19:35
*** smatzek has quit IRC19:35
*** smatzek has joined #openstack-ansible19:36
*** NeilHanlon has quit IRC19:36
*** NeilHanlon has joined #openstack-ansible19:36
mgariepyhmm. maybe i'm wrong with the user and uuid,19:42
mgariepylogan-, would know tho.19:42
Bico_FinoI’m checking inside nova.conf on a host19:43
Bico_Finothe configuration for ceph is there, rbd_secret_uuid and rbd_user19:43
mgariepyok and :  virsh secret-list19:44
Bico_Finoceph client.cinder secret19:45
Bico_Finoits there19:45
mgariepyok: python -c 'import rados; print rados.__file__'19:46
Bico_Finoalso good19:47
Bico_Finoroot@openstack1:~# python -c 'import rados; print rados.__file__'19:47
Bico_Fino> /usr/lib/python2.7/dist-packages/rados.so19:47
mgariepyand is it linked on : /openstack/venv/nova-*/lib/python2.7/site-packages/ ?19:48
Bico_Finoyeap19:49
Bico_FinoBut I copied the libs by hand19:49
mgariepyis it a link or a file ?19:49
Bico_Finofile19:49
mgariepyosa links it to the libs.19:49
Bico_Finogoing restart the services and try to launch an instance19:50
mgariepylike so : /openstack/venvs/nova-14.2.4/lib/python2.7/site-packages/rados.so -> /usr/lib/python2.7/dist-packages/rados.so19:51
mgariepyhttps://github.com/openstack/openstack-ansible-ceph_client/blob/stable/ocata/tasks/ceph_install_python_libs.yml#L26-L3319:51
mgariepyBico_Fino, you are on Ubuntu ?19:51
openstackgerritCharles Farquhar proposed openstack/openstack-ansible-repo_build stable/ocata: Honor proxy configuration when cloning git repos  https://review.openstack.org/47765419:52
Bico_Finomgariepy: Yes, Ubuntu 16.04.19:52
*** klamath has quit IRC19:53
openstackgerritCharles Farquhar proposed openstack/openstack-ansible-repo_build stable/newton: Honor proxy configuration when cloning git repos  https://review.openstack.org/47765619:53
*** vnogin has quit IRC19:55
*** vnogin has joined #openstack-ansible19:56
mgariepyok19:56
mgariepyso is your test successful ?19:56
Bico_Finonot yet19:56
Bico_Finorestarting the containers19:56
*** tobberydberg has joined #openstack-ansible19:58
mgariepyI'll take a look at the scroll back tomorrow morning19:58
Bico_Finosure19:59
*** klamath has joined #openstack-ansible19:59
mgariepyIt's weird that you needed to copy the rados/rbd.so file manually and the ceph key was added to libvirt.19:59
Bico_Finoagree. :(19:59
mgariepymaybe you can take a look at your ansible logs to see if ceph_client tasks were executed when you installed your compute nodes.20:00
*** vadim_ has joined #openstack-ansible20:00
mgariepyBico_Fino, should be in : /openstack/log/ansible-logging/ansible.log (I think)20:00
Bico_Finogood idea, checking.20:01
mgariepyor you can re-run the nova installation.20:01
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: [TEST] Revert "Work around bad DNS resolution"  https://review.openstack.org/47766120:01
*** marst has quit IRC20:01
mgariepyhave a nice evening. let us know if it works or not.20:01
*** marst has joined #openstack-ansible20:01
Bico_FinoThanks, I will mgariepy20:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: [TEST] Revert "Work around bad DNS resolution"  https://review.openstack.org/47766220:02
*** vnogin has quit IRC20:02
Bico_Finoceph_install_python_libs.yml only ran for glance mgariepy !20:03
*** vnogin has joined #openstack-ansible20:04
*** shardy has quit IRC20:22
vadim_i'm haveing issues with nova-compute in a container.20:33
vadim_1st systemd-machined failed to start: Failed at step NAMESPACE spawning /usr/lib/systemd/systemd-machined: Invalid argument20:34
*** schwicht has quit IRC20:35
*** schwicht has joined #openstack-ansible20:36
vadim_do you recommend to run nova-compute on metal or container?20:40
*** schwicht has quit IRC20:45
odyssey4mevadim_ we put it directly onto the host because some things it does don't work in a container20:47
odyssey4mefor example, iscsi connectivity20:47
vadim_i do not use iscsi, I use ceph.20:48
*** dxiri has joined #openstack-ansible20:48
vadim_if i change PrivateDevice=no for mahined service, machined can start, so libvirtd will not fail on this.20:49
vadim_however livirt will fail with libvirtError: cannot set CPU affinit y on process 941: Operation not permitted20:49
odyssey4mevadim_ sure, if you're doing ironic or lxc hypervisors then it definitely works20:49
*** jheroux has quit IRC20:49
odyssey4mefor kvm as a hypervisor, though, it won't with the defaults we have20:50
odyssey4methis may help you along the way: https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiIsLrJsdzUAhWGJlAKHR9HD_IQFggqMAA&url=https%3A%2F%2Fcloudnull.io%2F2016%2F11%2Fmulti-hypervisor-openstack-cloud%2F&usg=AFQjCNElamU3jTxZ1RqsTYIb3pKlecMs4Q20:50
odyssey4meoops, https://cloudnull.io/2016/11/multi-hypervisor-openstack-cloud/20:50
cloudnull++20:51
odyssey4mebbiab20:51
*** vnogin has quit IRC20:57
*** vnogin has joined #openstack-ansible20:57
Bico_Finoodyssey4me: looks like I found my issue20:59
Bico_Finonova-placement-api is not running21:00
*** DimGR has joined #openstack-ansible21:01
Bico_Finohttp://paste.openstack.org/show/613755/21:02
odyssey4meBico_Fino that's Ocata only though - I thought you were running Newton?21:02
*** vnogin has quit IRC21:02
Bico_FinoShould I stick with Ocata or go for Newton?21:02
odyssey4meOcata should be fine, it deployed in the periodic this morning21:02
odyssey4meany of the tags21:03
odyssey4mewell, the recent tags21:03
odyssey4medo you have your ansible logs for it? it's weird that the uwsgi file wasn't placed21:03
Bico_FinoI’m using 15.1.521:03
odyssey4metry re-running os-nova-install.yml --tags nova-config21:03
Bico_Finook21:04
odyssey4mewhat SHA is the role at?21:04
odyssey4mecheck ansible-role-requirements21:04
Bico_Finorunning21:05
Bico_Finointeresting!21:07
Bico_Finowith os-nova-install.yml —tags nova-config it created the file21:07
odyssey4mehmm, that may mean that another task for that host failed in the earlier run21:07
*** woodard_ has joined #openstack-ansible21:07
odyssey4meI think we should probably enable any failure being a blanket failure21:08
odyssey4meespecially on the control plane21:08
Bico_FinoGoing try spin an instance now21:08
odyssey4methis is a test environment, right?21:08
Bico_Finoyes sir21:08
odyssey4meyeah, it's plausible that the tes/fail/retest is causing some trouble21:08
odyssey4meonce you have a working config, it's good to refresh the hosts and get it all back to zero, then retry21:09
odyssey4mea good host kick system is your friend :)21:09
odyssey4meas is a good test & staging environment for better testing before shifting changes to prod21:09
Bico_Finosomething else now. :P21:10
Bico_FinoNo valid host was found. There are not enough hosts available.21:10
*** woodard has quit IRC21:11
*** vnogin has joined #openstack-ansible21:11
Bico_Finofinally some good logs21:12
Bico_FinoFailed to create resource provider record in placement API for UUID21:12
*** woodard_ has quit IRC21:12
*** kevinbenton has quit IRC21:12
odyssey4methat may be normal21:12
odyssey4methe placement api enrollment is a bit batshit21:12
odyssey4meyou may need to restart nova-compute21:12
Bico_Finolet me try21:13
odyssey4methen these need to run: https://github.com/openstack/openstack-ansible-os_nova/blob/17dd2dd8c53897ce839f283fecb48b8c80410b07/tasks/nova_db_setup.yml21:13
Bico_FinoHow do I run this specific task?21:14
*** perniciouscaffei has joined #openstack-ansible21:14
*** kevinbenton has joined #openstack-ansible21:15
*** dxiri has quit IRC21:15
openstackgerritMerged openstack/openstack-ansible-plugins master: Add ignore_none_type to config template  https://review.openstack.org/47701021:15
odyssey4methey're all tagged 'nova-db-setup', so try using that tag21:15
Bico_Finorunning21:16
Bico_Finodon’t need to restart nova containers?(conductor, api, etc)21:17
*** dixiaoli has joined #openstack-ansible21:17
*** smatzek has quit IRC21:18
odyssey4meBico_Fino restarting containers is almost never necessary21:18
odyssey4methis is not windows ;)21:18
Bico_Fino:P21:18
Bico_Finosame error21:19
Bico_FinoERROR nova.scheduler.client.report [req-35442bd6-bc3d-47e9-bc3b-5f892dd941bf - - - - -] Failed to create resource provider record in placement API for UUID a08b96b1-96ac-4c08-a925-128b6055df8e. Got 503: <html><body><h1>503 Service Unavailable</h1>21:19
odyssey4mehmm, and the api service - is it running?21:19
*** ThiagoCMC has quit IRC21:19
Bico_Finoplacement?21:19
odyssey4mein the logs - do you see anything useful?21:19
*** acormier has quit IRC21:19
odyssey4mesorry - placement21:19
odyssey4meandymccr knows the placement service better than most of us, and logan- does a bit21:19
Bico_Finochecking placement container21:20
*** acormier has joined #openstack-ansible21:20
odyssey4meI doubt andymccr is in - he's at openstack days in germany right now.21:20
Bico_Finohum21:21
Bico_Finonot a single hit on placement21:21
Bico_Finochecked the 3 containers21:21
*** dixiaoli has quit IRC21:21
odyssey4methe placement containers?21:21
odyssey4meare there placement containers?21:21
Bico_Finoyes21:22
Bico_Fino321:22
odyssey4meok, hmm21:22
odyssey4meis the wsgi file there?21:22
odyssey4medo the logs show anything?21:22
Bico_Finoonly that it started21:22
odyssey4medo you have debug logging enabled?21:22
openstackgerritCharles Farquhar proposed openstack/openstack-ansible-os_swift stable/ocata: Add support for swift3 middleware  https://review.openstack.org/47767621:22
Bico_FinoI think it has something with haproxy21:22
odyssey4meyep, good idea to check that haproxy thinks it's up21:23
odyssey4meok, so IIRC the api service is a uwsgi service that's reverse proxied by nginx21:24
odyssey4mecheck whether nginx is running in the container?21:24
*** acormier has quit IRC21:24
Bico_Finoyes21:24
Bico_Finoit is21:24
Bico_Finothe endpoint that its using is broken21:25
Bico_Fino<html><body><h1>503 Service Unavailable</h1>21:25
Bico_Finojust did a openstack endpoint list21:25
odyssey4meah ok21:25
odyssey4medoes haproxy think it's up?21:25
odyssey4meand does nginx think that the uwsgi service is up?21:26
odyssey4meand does the URL for the endpoint look right in the service catalog21:26
Bico_Fino    server infra1_nova_api_placement_container-374796a1 10.20.20.219:8780 check port 8780 inter 12000 rise 3 fall 321:26
odyssey4medoes that look right?21:26
Bico_Finono21:26
odyssey4mehmm, ok21:27
Bico_Finoinside the container21:27
Bico_Finotcp        0      0 127.0.0.1:8781          0.0.0.0:*               LISTEN      3076/uwsgi21:27
Bico_Finosee ^?21:27
openstackgerritMerged openstack/openstack-ansible-repo_build stable/newton: Honor proxy configuration when cloning git repos  https://review.openstack.org/47765621:27
odyssey4mere-run the haproxy playbook?21:27
openstackgerritMerged openstack/openstack-ansible-repo_build stable/ocata: Honor proxy configuration when cloning git repos  https://review.openstack.org/47765421:27
Bico_Finolet me check the nginx config inside the container21:27
odyssey4meit's unfortunate that openstack has so, so many moving parts21:28
Bico_Finoyeah, and the generic log errors are the best21:28
odyssey4melol21:29
odyssey4meI have nightmares about the moving parts sometimes.21:29
Bico_Finonginx is fine21:29
Bico_Finojust needed a restart!!21:29
odyssey4meah yes21:29
Bico_Finonginx is 878021:30
Bico_Finoplacement is 878121:30
odyssey4meI've seen the web server sometimes mark a reverse proxied service as down for far too long.21:30
odyssey4meWe should perhaps change the timouts/check times.21:30
openstackgerritCharles Farquhar proposed openstack/openstack-ansible-os_swift stable/ocata: Add support for swift3 middleware  https://review.openstack.org/47768221:30
Bico_Finolooks good now21:30
Bico_Finotrying again21:31
Bico_Fino;)21:31
odyssey4mewe'll be revisiting the nginx/uwsgi design implementation for Queens, I think, seeing as more services are switching to uwsgi now.21:31
odyssey4meAlso, apparently using a web server in front of uWSGI gives more than 10x a performance improvement.21:31
Bico_Finooh21:31
Bico_Finobuild!21:31
odyssey4meexcellent :)21:31
Bico_FinoBlock Device Mapping21:31
*** esberglu has quit IRC21:32
Bico_FinoBuilding!21:32
Bico_Finoceph part is ok!21:32
odyssey4mebrilliant!21:32
*** esberglu has joined #openstack-ansible21:32
Bico_Finoand...21:33
Bico_FinoNo valid host was found. There are not enough hosts available21:33
odyssey4mehmm, ok21:33
odyssey4mecheck that the compute host is registered21:33
odyssey4meand check whether it's mapped to the cell21:33
odyssey4memaybe do that db registration bit again21:33
Bico_FinoERROR nova.compute.manager [instance: 1f8a3184-acf2-4271-a888-70395f2bde1f] TypeError: Argument must be bytes or unicode, got 'NoneType'21:33
Bico_FinoI seem this before.21:33
odyssey4meunfortunately from ocata onwards, every host has to be in a  cell21:34
odyssey4meand you can't rgister the host into the cell until it's up, and the placement service is up21:34
odyssey4meso now that the placement service is up, the host needs to get in there21:34
odyssey4methat error though - so descriptive21:34
Bico_FinoI think is cinder related21:35
odyssey4meah, could be21:35
odyssey4meis cinder-volume up?21:35
odyssey4meand does it know about its back-ends - no log errors21:35
Bico_Finoyou mean the service?21:36
Bico_Finoit shows on service list ->  cinder    | volume    |21:36
*** tobberydberg has quit IRC21:37
*** tobberydberg has joined #openstack-ansible21:37
*** esberglu has quit IRC21:37
*** tobberydberg has quit IRC21:38
odyssey4meBico_Fino no, I mean the service in the container21:38
odyssey4menot in the catalog21:39
odyssey4methe catalog entry of backends may have something to do with it21:39
*** tobberydberg has joined #openstack-ansible21:39
Bico_Finolooks up odyssey4me21:39
odyssey4mebut first veryify that the service is up and that there are no errors in the log21:39
Bico_Finoops21:40
Bico_FinoJun 26 12:48:32 ceph1 cinder-volume[36611]: IOError: [Errno 2] No such file or directory: '/var/log/cinder/cinder-volume.log'21:40
odyssey4mehmm, odd21:40
odyssey4meis cinder-volume in a container or on a host21:40
Bico_Finohost21:40
odyssey4methis should be setting that up: https://github.com/openstack/openstack-ansible/blob/15.1.5/playbooks/os-cinder-install.yml#L65-L6921:41
*** lucasxu has quit IRC21:41
odyssey4metry running the os-cinder-install.yml playbook again?21:42
Bico_Finotrying21:42
odyssey4meif it creates that folder then you'll likely need to restart the service21:42
Bico_Finorunning21:43
*** tobberydberg has quit IRC21:43
*** tobberydberg has joined #openstack-ansible21:43
*** thorst has quit IRC21:44
*** thorst has joined #openstack-ansible21:46
Bico_Finodone21:47
Bico_Finotrying again21:48
*** tobberydberg has quit IRC21:48
odyssey4mefor future reference, you can put cinder-volume into a container for ceph: https://docs.openstack.org/developer/openstack-ansible-os_cinder/configure-cinder.html#configuring-cinder-to-use-ceph21:48
odyssey4mehowever, that will not work for *any* iSCSI back-ends21:48
odyssey4meand I've also heard about trouble using cinder-backup, but that's not fully confirmed21:49
Bico_FinoScheduling21:49
Bico_Finonew status. :P21:49
Bico_Finoand...21:50
Bico_FinoError: No valid host was found. There are not enough hosts available21:50
odyssey4meargh, scheduler logs are the worst21:50
odyssey4mebut with a debug log it should show the hosts its considering - hopefully21:50
*** thorst has quit IRC21:50
odyssey4meif you look at the logs you should see the check-ins and what they're showing they have.21:51
Bico_Finonova-scheduler now21:51
Bico_Finoright21:51
odyssey4meit could be something like a pool with no space, or a back-end not showing up as ready to use.21:51
Bico_Finono errors on compute node21:51
odyssey4mewell, it's either cinder, neutron or nova21:52
odyssey4meif the nova-compute agent is registered and assigned to a cell, then that should be fine21:52
odyssey4meif the neutron lb agent is registered, itll be fine as long as the subnet is running and allocated to a running compute node21:52
odyssey4meI have, in the past, edited the code to get more debug info - but I'm not sure if that's necessary these days21:53
Bico_Finotrying to find the log21:53
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701721:53
odyssey4meI used to run an Essex/Folsom/Grizzly set of clusters.21:53
odyssey4meare there any back-ends registered for cinder now?21:54
odyssey4mevolume types21:54
openstackgerritMerged openstack/openstack-ansible-os_glance master: Only sync glance database on major versions  https://review.openstack.org/47547021:54
Bico_Finohow do I check that?21:54
odyssey4mehttps://github.com/openstack/openstack-ansible-os_cinder/blob/stable/ocata/tasks/cinder_backends.yml21:55
odyssey4meso it looks like doing 'cinder type-list'21:55
Bico_Fino| 5627c318-db6c-4a7a-9d5a-cc98927c86e8 | rbd  | -           | True      |21:56
odyssey4methen maybe 'type show' on the item21:56
odyssey4meto verify that it's assigned right21:56
odyssey4meto the volume_backend_name21:56
Bico_Fino| extra_specs                     | {'volume_backend_name': 'rbd'}       |21:56
*** nollide has quit IRC21:57
odyssey4mecan you create volumes outside of nova?21:57
Bico_Fino| name                            | rbd                                  |21:57
*** esberglu has joined #openstack-ansible21:57
odyssey4mejust cinder on its own21:57
Bico_FinoI think we passed this part21:57
Bico_Finobecause I don’t got the None error again21:57
Bico_FinoThe instance has an ID -> 74ef1eaa-587c-40ad-9104-6812661c09d221:58
Bico_Finoit’s safe to grep logs with this ID?21:58
*** esberglu has quit IRC21:58
*** esberglu has joined #openstack-ansible21:58
Bico_Finoneutron logs looks good: [{"status": "completed", "code": 200, "name": "network-changed", "server_uuid": "74ef1eaa-587c-40ad-9104-6812661c09d2"}]}21:59
odyssey4meyou can try22:00
odyssey4mebear in mind that you have an rsyslog container which should contain all logs22:00
Bico_Finoah22:00
Bico_Finofound the error22:00
Bico_Finou"RescheduledException: Build of instance 74ef1eaa-587c-40ad-9104-6812661c09d2 was re-scheduled: Argument must be bytes or unicode, got 'NoneType'\n"22:00
odyssey4mealso, in /openstack/logs on every container host you'll find all the container logs22:00
*** nollide has joined #openstack-ansible22:00
odyssey4mehmm, have you verified that the host is assigned to a cell?22:01
Bico_Finohow I do that?22:01
*** kylek3h has quit IRC22:01
odyssey4mehonestly, I have no idea22:02
*** kylek3h has joined #openstack-ansible22:02
*** acormier has joined #openstack-ansible22:02
odyssey4methe clues are here: https://github.com/openstack/openstack-ansible-os_nova/blob/17dd2dd8c53897ce839f283fecb48b8c80410b07/tasks/nova_db_setup.yml22:03
odyssey4memaybe there's a way to verify that the cell is there22:03
Bico_Finogoing check it out22:03
Bico_Finothanks for all the help odyssey4me22:03
*** nollide has left #openstack-ansible22:04
*** acormier has quit IRC22:04
*** thorst has joined #openstack-ansible22:05
*** acormier has joined #openstack-ansible22:05
*** kylek3h has quit IRC22:06
*** thorst has quit IRC22:09
odyssey4meBico_Fino It's been a pleasure. I've learned, or refreshed a few things in my mind. :)22:13
*** cpuga_ has quit IRC22:14
*** mrhillsman is now known as codebauss22:22
*** codebauss is now known as mrhillsman22:22
*** marst has quit IRC22:32
*** marst has joined #openstack-ansible22:35
*** chyka_ has joined #openstack-ansible22:44
*** chyka has quit IRC22:46
*** acormier has quit IRC22:55
*** acormier has joined #openstack-ansible22:55
*** acormier has quit IRC23:00
*** marst has quit IRC23:13
*** acormier has joined #openstack-ansible23:15
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: gen-projects-list.sh: Add ability to include extra OSA projects  https://review.openstack.org/47770623:17
*** drifterza has joined #openstack-ansible23:19
*** drifterza has quit IRC23:23
*** klamath has quit IRC23:30
*** vnogin has quit IRC23:32
*** marst has joined #openstack-ansible23:44
*** charcol has joined #openstack-ansible23:46
*** perniciouscaffei has quit IRC23:50
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701723:52
*** acormier has quit IRC23:53
*** acormier has joined #openstack-ansible23:53
*** acormier has quit IRC23:58

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!