Friday, 2017-11-24

*** threestrands has joined #openstack-ansible00:05
*** threestrands has quit IRC00:05
*** threestrands has joined #openstack-ansible00:05
openstackgerritMerged openstack/openstack-ansible-os_nova stable/pike: Update filters to support over-commit  https://review.openstack.org/51642900:14
*** chyka has quit IRC00:14
*** lbragstad has quit IRC00:28
*** savvas_ has quit IRC00:33
*** chyka has joined #openstack-ansible00:46
*** chyka has quit IRC00:50
*** newmember has quit IRC01:07
*** hw_wutianwei has joined #openstack-ansible01:16
*** japestinho has joined #openstack-ansible01:40
openstackgerritMerged openstack/openstack-ansible master: Add dynamic table for our tested Scenarios  https://review.openstack.org/52029403:02
openstackgerritMerged openstack/openstack-ansible master: Do not implement reload for novnc/spice service  https://review.openstack.org/52252603:04
openstackgerritGuoqiang Ding proposed openstack/openstack-ansible-os_neutron master: Update the doc link  https://review.openstack.org/52252003:25
openstackgerritGuoqiang Ding proposed openstack/openstack-ansible-os_neutron master: Update the doc link  https://review.openstack.org/52252003:31
openstackgerritGuoqiang Ding proposed openstack/openstack-ansible-os_neutron master: Update the doc link for release notes  https://review.openstack.org/52269703:38
cloudnullany cores around mind giving this a tap through https://review.openstack.org/#/c/52133103:58
cloudnullThomasS: sorry there's a good lot of us off for the US holiday03:58
cloudnullThomasS: what release is this  ?03:59
cloudnullhave you tried just rebuilding all of the rabbitmq containers?03:59
cloudnull`openstack-ansible lxc-container-destroy.yml lxc-container-create.yml rabbitmq-install.yml --limit shared-infra_hosts:rabbitmq_all`04:00
cloudnullis this a new deployment?04:01
cloudnullif troubleshooting, can you resolve the noted hostnames of all rabbitmq nodes within the rabbitmq container ?04:01
* cloudnull running off again as I too am out for the holiday however ThomasS let us know how it goes.04:03
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701704:06
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Modify LXC container create to JIT create  https://review.openstack.org/49097604:06
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: [WIP] Add nspawn container driver  https://review.openstack.org/47701704:06
*** savvas_ has joined #openstack-ansible04:23
*** savvas_ has joined #openstack-ansible04:23
*** savvas_ has quit IRC04:27
*** udesale has joined #openstack-ansible04:52
*** germs1 has quit IRC04:59
*** germs has joined #openstack-ansible04:59
*** germs has quit IRC05:00
*** threestrands_ has joined #openstack-ansible05:02
openstackgerritGuoqiang Ding proposed openstack/openstack-ansible-os_horizon master: Update the doc theme  https://review.openstack.org/51989605:03
*** threestrands has quit IRC05:04
openstackgerritMerged openstack/openstack-ansible-os_nova master: Do not implement reload for novnc/spice service  https://review.openstack.org/52251005:12
*** threestrands_ has quit IRC05:14
*** udesale__ has joined #openstack-ansible05:32
*** udesale has quit IRC05:35
*** gkadam has joined #openstack-ansible05:38
*** gkadam has quit IRC05:50
*** gkadam has joined #openstack-ansible05:51
openstackgerritKevin Carter (cloudnull) proposed openstack/openstack-ansible master: Converge neutron agents onto Baremetal  https://review.openstack.org/45445006:08
prometheanfirego to bed06:14
*** gkadam has quit IRC06:19
ThomasShi06:24
ThomasSi am still struggeling with the install06:25
ThomasSso far after running destroy-containers playbook i started over with setup-hosts06:26
*** cjloader has joined #openstack-ansible06:26
ThomasSthen the apt repo was not working06:26
ThomasSi was not sure why so i started "troublehsooting" on infra106:27
ThomasScleared iptables rules06:27
ThomasSkilled dnsmasq06:27
ThomasSat the end it turned out that it was a config in apt.conf.d which pointed to the repo container which was gone06:27
ThomasSthe i re-ran setup hosts which worked perfect06:28
ThomasSthe i did setup-infra06:28
ThomasScontainers got no IP on infra106:28
ThomasSi figured out that the dnsmasq was still killed and the iptables were missing06:29
ThomasSi did iptables-save / iptables-restore from infra2 to infra106:29
ThomasSand copied the commandline from dnsmasq from infra2 to infra1 and just strated it06:30
prometheanfirewhy not run setup-everything?06:34
ThomasSi am following the guide :-)06:34
*** cjloader has quit IRC06:35
*** cjloader has joined #openstack-ansible06:36
ThomasSproblem is that all worked great expect the rabbit container on the first node said that there was a mismatch with hostnames06:36
prometheanfireiirc hostnames are not removed with lxc-container-delete06:37
ThomasSwhere can i set the internal container network?06:37
ThomasSyes hosts was still bloated :-)06:38
prometheanfireopenstack-user-config.yml iirc06:38
ThomasSi guess which config option?06:39
*** cjloader has quit IRC06:40
ThomasSthe container net is set06:40
ThomasS10.0.100.10106:41
ThomasSbut the internal is 10.0.3.006:41
ThomasSwhich is in use06:41
ThomasSvery strange did not find it06:44
ThomasSi think i found it06:45
ThomasSlxc_net_address: 10.0.3.106:45
*** udesale has joined #openstack-ansible06:59
*** udesale__ has quit IRC07:00
openstackgerritLogan V proposed openstack/openstack-ansible master: [WIP] Implement iptables management  https://review.openstack.org/51209907:01
*** jvidal has joined #openstack-ansible07:02
ThomasSmhh the new ip is not picked up yet and configured in the iptables07:03
ThomasSsetup-hosts is responsible for this right?07:03
ThomasSalso dnsmasq is still listening on 10.0.3.107:04
openstackgerritLogan V proposed openstack/openstack-ansible master: [WIP] Implement iptables management  https://review.openstack.org/51209907:07
ThomasSok it is all in the lxc_hosts role07:10
ThomasSwhen is it run?07:10
ThomasScan i enforce a re-config of the network?07:10
ThomasSalso changed the dhcp range now07:10
*** pcaruana has joined #openstack-ansible07:12
ThomasSstrange07:17
openstackgerritLogan V proposed openstack/openstack-ansible master: [WIP] Implement iptables management  https://review.openstack.org/51209907:17
ThomasSthe new lxc network config is not picked up even after running the lxc_hosts playbook07:18
*** Taseer has quit IRC07:20
*** Taseer has joined #openstack-ansible07:20
ThomasSmaybe someone has a hint07:20
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/pike: Do not implement reload for novnc/spice service  https://review.openstack.org/52273107:29
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/ocata: Do not implement reload for novnc/spice service  https://review.openstack.org/52273207:29
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Update the doc link  https://review.openstack.org/52252007:30
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Update the doc link for release notes  https://review.openstack.org/52269707:30
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible stable/newton: Do not implement reload for novnc/spice service  https://review.openstack.org/52273407:36
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova stable/pike: Do not implement reload for novnc/spice service  https://review.openstack.org/52273507:37
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova stable/ocata: Do not implement reload for novnc/spice service  https://review.openstack.org/52273607:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_nova stable/newton: Do not implement reload for novnc/spice service  https://review.openstack.org/52273707:39
*** hamza has joined #openstack-ansible07:45
openstackgerritMerged openstack/openstack-ansible-os_zaqar stable/ocata: Initial Zuul v3 role jobs  https://review.openstack.org/51429907:47
openstackgerritMerged openstack/openstack-ansible-os_rally stable/pike: Constraint ansible installation  https://review.openstack.org/52250107:52
openstackgerritMerged openstack/openstack-ansible master: Add infra healthchecks  https://review.openstack.org/49549207:53
openstackgerritMerged openstack/openstack-ansible-os_trove master: Adds CentOS 7 support  https://review.openstack.org/52254108:02
*** michelv has joined #openstack-ansible08:03
openstackgerritMerged openstack/openstack-ansible-os_horizon master: Update the doc theme  https://review.openstack.org/51989608:12
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server master: Implement pypiserver and pypi proxy cache  https://review.openstack.org/52175408:15
*** mbuil has joined #openstack-ansible08:17
*** armaan has joined #openstack-ansible08:31
*** gkadam has joined #openstack-ansible08:42
*** armaan has quit IRC08:49
*** mardim__ has joined #openstack-ansible08:52
ThomasSso on setup infrastruture i get this error08:54
ThomasShttps://pastebin.com/eV11zpfe08:54
ThomasSone of the 3 rabbit mq containers fails on the task Apply rabbitmq policies]08:55
ThomasSthe host file on infra1 looks fine08:55
openstackgerritDimitrios Markou proposed openstack/openstack-ansible master: Add openvswitch_nsh group to inventory  https://review.openstack.org/51726908:55
*** armaan has joined #openstack-ansible08:57
ThomasShttps://pastebin.com/BaZkY9vk08:57
ThomasSand the host file in the rabbit container looks like this08:57
ThomasShttps://pastebin.com/6gTD1VAd08:58
ThomasSi am getting nuts :-(08:58
*** armaan has quit IRC08:58
*** armaan has joined #openstack-ansible08:59
ThomasSi am open for any hint08:59
ThomasSthnaks08:59
evrardjpwhat's the issue?09:12
evrardjpThomasS: destroy the containers for rabbit, and re-build them, then reinstall rabbit. Should work :)09:15
evrardjpdon't try to debug that hard, these are rabbitmq containers.09:16
*** mrch has joined #openstack-ansible09:26
*** shardy has joined #openstack-ansible09:29
ThomasSi destroyed all containers09:29
ThomasSand restaretd09:29
ThomasS :-(09:29
ThomasSso container-destroy - setup-hosts - setup-infra09:30
ThomasShttps://pastebin.com/eV11zpfe09:30
ThomasSthis looks very strange09:30
*** holmsten has joined #openstack-ansible09:30
ThomasSi am really getting nuts09:32
ThomasSthe hosts file on the host infra1 also looks ok09:32
ThomasShttps://pastebin.com/BaZkY9vk09:32
ThomasSand also in the container09:32
ThomasShttps://pastebin.com/6gTD1VAd09:32
ThomasSdestroying again and again will not fix it unfortunatly09:33
*** Miouge has left #openstack-ansible09:33
*** Miouge has joined #openstack-ansible09:33
evrardjpyou can do more targetted plays, to avoid running the whole thing again and again09:34
evrardjpon top of it you can limit to rabbitmq09:34
yifeiDoes OSA support to configure the NTP server? I found that in OSA ocata configures different sources in the hosts in my environment.09:34
yifeiNov 24 01:19:16 host5 chronyd[32038]: Selected source 162.210.111.409:35
yifeiNov 24 01:19:20 host4 chronyd[32057]: Selected source 204.2.134.16409:35
evrardjpThomasS: I don't see what's wrong in your pastebin09:35
evrardjpThomasS: could you paste your openstack_user_config and your user_* variables somewhere?09:35
ThomasScan do it, have destroyed the rabbit mq container and done setup-hosts -l infra1 and setup-infra -l infra1 -l infra1_rabbit_mq_container-315b2af609:36
evrardjpyifei: you should have an ntp indeed. I think the ansible-hardening role configures chronu09:36
evrardjpchrony*09:36
ThomasSsure09:36
ThomasSone second09:36
yifeievrardjp: Do you mean I need to configure NTP server in user_variables.yml?09:37
evrardjpyifei: I didn't say that09:37
evrardjpdoesn't it work by default?09:37
yifeievrardjp: sorry, didn 't catch your idea09:38
evrardjpyifei: what is the issue?09:38
yifeievrardjp: the chrony source in different hosts are not the same09:38
evrardjpyifei: yes, you need a properly configured ntp09:38
ThomasShttps://paste.ee/p/ib8Nc openstack_user_vars09:39
yifeievrardjp: do you know the variable name?09:39
evrardjpyifei: https://github.com/openstack/ansible-hardening/blob/master/templates/chrony.conf.j2#L22-L24 ?09:39
evrardjpyifei: https://github.com/openstack/ansible-hardening/blob/master/doc/source/getting-started.rst09:40
ThomasSuser vars09:40
ThomasShttps://paste.ee/p/c4Vjn09:40
ThomasSthey are pretty much the example09:40
yifeievrardjp: Got it. Thanks a lot09:40
evrardjpyifei: so if you didn't follow the documentation and have overriden your own, you are probably using the defaults:09:40
evrardjphttps://github.com/openstack/ansible-hardening/blob/master/defaults/main.yml#L265-L26909:40
evrardjpyifei: it should be alright I think09:40
openstackgerritDimitrios Markou proposed openstack/openstack-ansible-os_neutron master: Add OvS-NSH support  https://review.openstack.org/51725909:41
yifeievrardjp: I did not do any configuration, but different sources came out09:41
yifeiin my environment09:41
evrardjpyifei: yes, see my paste on defaults.09:41
evrardjpbut you can override with what you need :)09:42
openstackgerritDimitrios Markou proposed openstack/openstack-ansible master: Add openvswitch_nsh group to inventory  https://review.openstack.org/51726909:43
evrardjpThomasS: it looks ok.09:43
ThomasSthanks09:43
evrardjpThomasS: so what is your issue?09:43
ThomasSthe rabbit mq container tasks fail09:43
evrardjpcould you post a log about the failure?09:44
evrardjpplease re-run the  rabbitmq playbook09:44
ThomasSfirst error onRead rabbit cookie] *09:44
ThomasShttps://pastebin.com/eV11zpfe09:44
evrardjpopenstack-ansible rabbitmq-install.yml09:44
evrardjpThomasS: on first run that's normal09:44
evrardjpas you can see the task is rescued09:44
ThomasSyes looks like it09:45
evrardjpthe deploys continue and doesn't show as failed.09:45
ThomasSbut the hostname mismatch is the problem09:45
evrardjpthe summary still shows failed=1 because ansible doesn't report rescued tasks yet09:45
yifeievrardjp: Thank you09:45
ThomasSyes but the second error stops the deploy09:45
ThomasShttps://pastebin.com/eV11zpfe09:45
evrardjpso you say:09:46
evrardjp1) you have the openstack_user_config file there, and the user_* variables09:46
odyssey4meyifei the sources for ntp use a pool, so yes they'll be different on every host unless you change the use of the ntp pools09:46
ThomasSyes09:47
ThomasSuser_varaiables and secrets09:47
evrardjp2) you destroyed your rabbitmq containers, re-created them, and re-ran the rabbitmq playbook09:47
ThomasSyes and also all containers09:47
evrardjpand you get an issue with a problematic hosts09:47
ThomasSso something basic is broken i guess?09:47
yifeiodyssey4me: if i define "security_ntp_servers", then it will use the one I configured right?09:47
odyssey4meyifei these addresses (the defaults) are anycast: https://github.com/openstack/ansible-hardening/blob/422b793b804bcac6fa4059d70ce368c5beab9d5d/defaults/main.yml#L265-L26909:48
odyssey4meyifei yes09:48
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Add ability to set the default index  https://review.openstack.org/52276109:48
evrardjpThomasS: not on our side, it works everywhere. There is pretty much something wrong in your environment09:48
evrardjpare your /etc/hosts corrects on the physical nodes themselves?09:48
ThomasSi guess so but what?09:48
ThomasSfor me it looks like it09:48
ThomasShere is the hosts file from infra109:48
evrardjpThomasS: I don't know, I don't know what you do with your hosts :)09:49
ThomasS https://pastebin.com/BaZkY9vk09:49
ThomasS:-(09:49
ThomasSthe hosts file in the problematic container looks like this09:49
ThomasShttps://pastebin.com/6gTD1VAd09:49
evrardjpwhat's this L94 on your first hosts file?09:50
yifeiodyssey4me: but in my another environment, using the default ones, it failed to create VM due to the clocks are not synchronized, will deep into it. Any way, thank you fist09:50
ThomasSL94?09:50
ThomasSpaste error09:51
ThomasSthe ( is not in the file09:51
evrardjpk09:51
evrardjpodyssey4me: if you have an idea on ThomasS issue, I have none.09:51
evrardjpThomasS: which version are you running?09:52
ThomasS16.0.309:52
*** electrofelix has joined #openstack-ansible09:52
ThomasSi messed up the hostfile the first run and then did a reinstall as odyssey4me adviced09:53
ThomasSand also stopped the stupid job to copy over the hosts file :-)09:53
odyssey4meevrardjp I've seen another report of the rabbit policy task failing too, but only one. And we aren't seeing it in the gates. I think it's a run_once task, which is why it only fails on one host.09:54
evrardjpI am deploying a 16.0.3 right now, to compare the hosts file. It will take a while. Please ping me back a little later.09:54
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Add ability to set the default index  https://review.openstack.org/52276109:54
odyssey4meBut yes, it would seem that the cluster isn't ready to accept the policy being applied, so the start point would be to check the health of the cluster and to figure out why it's not ready09:55
evrardjpThomasS: could you ping me in like 1h?09:55
odyssey4mepreviously there was a job overwriting the hosts file that was interfering, but apparently that's fixed now09:55
ThomasSi will try to09:55
openstackgerritMerged openstack/openstack-ansible-tests stable/newton: Depth argument is prome to failure for ansible<2.3  https://review.openstack.org/52250809:56
evrardjpThomasS: in the meantime, maybe worth restarting manually, see what it gives.09:56
ThomasSyes and the rabbit task worked there!09:56
odyssey4meso I dunno - possibly best to dig into some rabbitmq logs to see what's going on with the cluster, and use google to help understand how to debug a failed rabbit cluster09:56
evrardjpThomasS: I agree with odyssey4me there ^09:56
ThomasSmhhh ok thanks09:56
ThomasSthe strange think is that the first time with the broken hosts file worked fine09:57
evrardjpThomasS: do you have inconsistencies between the host files and dns?09:57
evrardjpjust wondering...09:58
ThomasSno not in this enviroment09:58
ThomasSthe hosts use a public dns09:58
evrardjplogan-: is there an issue with your CI, or is there a neutron change that broke it?09:58
odyssey4meThomasS rabbitmq is *very* sensitive to dns resolution issues, so it's *most* likely the cause09:58
evrardjpodyssey4me: thanks for the vote on https://review.openstack.org/#/c/522542/09:58
ThomasSi guess so09:58
odyssey4meevrardjp oh sure - I thought it looked related to ansible 2.409:59
evrardjp:)09:59
ThomasSthe hostfiles look correct or not?09:59
evrardjpyeah next commit is to test ansible 2.4.09:59
ThomasSso what can i try?09:59
evrardjpThomasS: like odyssey4me said, manually connect to that node, trying to restart rabbit, checking the logs.09:59
evrardjptrying to see if there is no resolution issue in the container etc.10:00
odyssey4meThomasS you'll need to debug the cluster start failure - or at least confirm whether the cluster is up10:00
odyssey4methis is going to be something you need to understand to run the cluster operationally anyway, so think of it as a learning experience10:00
evrardjpThomasS: https://docs.openstack.org/openstack-ansible/latest/admin/maintenance-tasks/rabbitmq-maintain.html10:00
evrardjpmight help you10:01
*** armaan has quit IRC10:02
*** armaan has joined #openstack-ansible10:03
ThomasSok10:03
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_rally stable/newton: Updated from OpenStack Ansible Tests  https://review.openstack.org/52276410:03
ThomasSso at least only infra1 is online10:03
ThomasSwhy is it resolving 127.0.1.1?10:05
ThomasSthat looks wired10:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally stable/newton: Constraint ansible installation  https://review.openstack.org/52276510:06
ThomasSother question10:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally stable/newton: Used cached git sources and enable depends-on  https://review.openstack.org/51829310:06
ThomasShow can re-confgure the lxc network and dnsmasq?10:07
ThomasSeven the lxc_hosts playbook does not do it10:07
ThomasSwanted to change the internal ip range because 10.0.3.0 can lead to problems10:08
ThomasSchanged vars in openstack_user_config10:08
ThomasS# lxc network #lxc_net_address: 172.16.16.1 #lxc_net_netmask: 255.255.255.0 #lxc_net_dhcp_range: 172.16.16.1,172.16.16.25310:08
ThomasScommented them out because setup-hosts was not changing dnsmasq and iptables10:09
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Lighter ceph gates  https://review.openstack.org/52276610:09
ThomasSi think this is the root cause of the problem10:09
ThomasSbecause the containers resolve through 10.0.3.110:09
ThomasSand yesterday while debugging we killed the dnsmasq10:10
ThomasSand i "just" started it again by coping the commandline from from infra210:10
ThomasSso to sum it up, what is responsible for setting this up?10:11
ThomasSit looks not like setup-hosts playbook :-)10:11
evrardjprobcresswell: do you know if it's possible to test the dashboard plugin of project x without running project x? Like deploying the horizon fwaas plugin but not having configured fwaas in neutron at all.10:12
evrardjpI know it will probably burp when using it, but it shouldn't fail in the deploy part, right?10:12
evrardjp(and on top of it, how do we test that)10:12
odyssey4meevrardjp the horizon role does exactly that today as far as I know10:13
evrardjpoh you mean we are testing all our plugins directly there?10:13
odyssey4meit does a deployment, then tests just the login I think10:13
odyssey4mewe could probably enable the plugins - it'll most likely work, at least in terms of convergence10:14
ThomasSany idea guys or where i can look?10:14
evrardjpodyssey4me: yeah, showing that the dashboard is there10:14
evrardjpis probably enough*10:14
*** mardim__ has quit IRC10:14
evrardjpodyssey4me: yeah my goal is to have a "dashboard" scenario, but still not overlap with the translations one. On top of it the translations is only a periodic10:14
odyssey4meThomasS I'm not sure why you want to adjust those, but it can be set using the vars in https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/defaults/main.yml#L60-L78 as you have already discovered10:15
ThomasSok and how do i reconfigure?10:16
ThomasSplaced them in openstack_user_config10:16
ThomasSand then ran setup-hosts10:16
odyssey4meThomasS make sure that your net range and dhcp range match, obviously, and also make sure that you don't have clashes between those and the ranges in your openstack_user_config10:16
odyssey4meThomasS these should not be set in openstack_user_config - they should be set in user_variables10:17
ThomasSok10:17
ThomasSand then which playbook das the reconfigure of the iptables masq rules and dnsmasq?10:17
odyssey4meall variable overrides except those that go into the inventory should be set in user_variables... if you put them into openstack_user_config then they become persistant in the inventory which is a hassle later10:17
ThomasSomk10:18
ThomasSthanks for clarifing this10:18
odyssey4meThomasS these settings kinda need to be set right from the start - I'm not sure if reconfiguring a running environment will work very well10:18
odyssey4meyou may have to destroy all the containers, change these, and run setup-hosts again10:18
ThomasSok will do10:19
ThomasSand you are sure that dnsmasq and iptables are set?10:19
ThomasSbecause i tried this....10:19
odyssey4mewith all this mucking about of the foundaitonal elements, it might also be a good idea for you to rebuild the hosts you're working on10:19
*** mardim__ has joined #openstack-ansible10:19
odyssey4menetworking configs go wrong, and stay broken unless you understand how to fix them properly... which requires understanding everything that's being done in these plays... and you're still learning10:20
ThomasSoh :-(10:20
ThomasSreally?10:20
ThomasSopenstack-ansible lxc-containers-destroy.yml10:21
odyssey4meso I would suggest rebuilding the hosts if you can - if not then you may have to work around the issue by doing a reboot after reconfiguring or something like that10:21
ThomasSwill do this and then setup-everything10:21
odyssey4meat this stage I don't know - you are going to have to take responsibility for doing your own troubleshooting... we know that the tools work - we're confident because they're tested daily and used by many installations... so what you're hitting is some kind of edge case specific to your environment and configuration10:22
odyssey4meit's usually best to figure out your desired config in a test environment where you can rebuild your hosts quickly, because it will take some time to get all the network configs and other things right and you'll want to rebuild/retest many, many times before you actually think you have your production config right.10:23
ThomasSyes you are totally right10:30
ThomasSi will give it one more try and hope the dnsmasq is reconfigured with the new settings10:30
ThomasSif not, it is configured somewhere else10:31
ThomasSdoes it make sense to clean the ansible_facts dir?10:32
ThomasSor how can i rebuild the inventory?10:32
*** hw_wutianwei has quit IRC10:33
*** cjloader has joined #openstack-ansible10:38
*** pradiprwt has joined #openstack-ansible10:38
openstackgerritManuel Buil proposed openstack/openstack-ansible-os_neutron master: Fix the neutron_package_list condition  https://review.openstack.org/52277510:40
*** cjloader has quit IRC10:42
pradiprwtHi, I facing issue while installing nova it is getting failed, here is console error>> http://paste.openstack.org/show/627311/ . I observed in one of  infra node few containers are STOPPED state, manually I tried to start but it is not starting10:43
pradiprwtanyone have idea how I can solve this10:43
*** DanyC has joined #openstack-ansible10:49
odyssey4mepradiprwt read the container log to see if it helps you figure out why the container won't start10:51
odyssey4mefailing that, destroy the container and rebuild it10:51
pradiprwtodyssey4me : Is it possible to destroy the single container and rebuild it ?10:52
odyssey4mepradiprwt yes: openstack-ansible lxc-containers-destroy.yml --limit <container name>10:53
odyssey4methen: openstack-ansible lxc-containers-create.yml --limit lxc_hosts,<container name>10:53
pradiprwtgreat10:53
pradiprwtlxc_hosts will be IP ?10:54
odyssey4meno, that's the group name - no need to translate it into anything10:57
pradiprwtok10:57
odyssey4meonly replace what's between the <>10:57
pradiprwtI have deleted the infra1_nova_conductor_container-45b7a6ea container10:57
pradiprwtbut it getting fail to create10:58
pradiprwtcreated :)10:58
odyssey4meand so you have to do what I first suggested - figure out why10:59
odyssey4meonce it's recreated, you'll need to run the os-nova-install.yml playbook again to configure nova on it10:59
pradiprwtContainer creation in progress, it is creating container in the host which has problem11:00
*** michelv has quit IRC11:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally stable/newton: Used cached git sources and enable depends-on  https://review.openstack.org/51829311:04
pradiprwtodyssey4me : The container creation playbook is fridge from last 10 min, container is stopped state in first infra node11:06
pradiprwtThere is no any useful log in logfile11:08
odyssey4mepradiprwt well, you're going to have to find the information somewhere - it's up to you to figure it out11:08
pradiprwtsure11:09
*** michelv has joined #openstack-ansible11:09
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use Ansible 2.4  https://review.openstack.org/52277811:10
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Fix ansible-lint test failures for ironic  https://review.openstack.org/52277911:10
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use Ansible 2.4  https://review.openstack.org/52277811:11
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use Ansible 2.4  https://review.openstack.org/52277811:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ironic master: Resolve ansible-lint test failures  https://review.openstack.org/52278011:13
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ironic master: Use group_names to check a host belongs to group  https://review.openstack.org/52098711:14
*** yifei has quit IRC11:17
evrardjpThomasS: http://paste.openstack.org/show/627318/ so I think your generated hosts file is fine. You have another issue maybe.11:17
ThomasSok11:21
ThomasSthanks for the debug11:21
ThomasSdoing resinstall with different lxc network now11:21
ThomasSdnsmasq and iptables are already fixed by setup-hosts11:22
*** udesale has quit IRC11:24
mardim__hwoarang, odyssey4me evrardjp  I think I identified why we have the transient error in ovs-nsh gate11:27
mardim__regarding the headers installation11:27
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: [TEST] Check the existing global pip.conf contents  https://review.openstack.org/52278211:27
evrardjpmardim__: yeah?11:27
mardim__I found why sometimes it succededs11:28
mardim__and sometimes it fails11:28
mardim__let me expalin what I am observing11:28
evrardjpodyssey4me: for your test you should probably add a debug task ;)11:28
evrardjpelse it will just run cat on your host11:28
odyssey4meevrardjp hmm, good point11:28
evrardjp:p11:28
mardim__when we have this it succeds TASK [os_neutron : Install neutron role packages] ******************************11:29
mardim__2017-11-24 10:22:35.243503 | ubuntu-xenial | Friday 24 November 2017  10:22:35 +0000 (0:00:02.868)       0:33:57.993 *******11:29
mardim__2017-11-24 10:23:25.974055 | ubuntu-xenial | changed: [server1]11:29
mardim__2017-11-24 10:23:26.207848 | ubuntu-xenial | changed: [server2]11:29
mardim__2017-11-24 10:25:24.405204 | ubuntu-xenial | changed: [localhost]11:29
mardim__2017-11-24 10:25:32.663068 | ubuntu-xenial | changed: [agents1]11:29
mardim__2017-11-24 10:25:33.947642 | ubuntu-xenial | changed: [agents2]11:29
evrardjpmardim__: yes?11:30
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ironic master: Resolve ansible-lint test failures  https://review.openstack.org/52278011:30
mardim__evrardjp, I am trying to paste :P11:30
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_ironic master: Use group_names to check a host belongs to group  https://review.openstack.org/52098711:30
odyssey4memardim__ use pastebin or a similar paste service for log pasting please11:31
evrardjpmardim__: paste.openstack.org11:31
mardim__ok11:31
odyssey4mepaste.openstack.org or gist or whatever else11:31
evrardjp:)11:31
evrardjpodyssey4me: great minds think alike!11:31
evrardjp:D11:32
mardim__odyssey4me, evrardjp here :) https://hastebin.com/pomubepesa.rb11:33
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: [TEST] Check the existing global pip.conf contents  https://review.openstack.org/52278211:33
mardim__when it runs like that it fails11:33
mardim__the problem is in the order for some reason11:33
*** hamza has quit IRC11:34
*** hamza has joined #openstack-ansible11:34
odyssey4meevrardjp and rally for newton is back to a working state with https://review.openstack.org/522765 and https://review.openstack.org/518293 :)11:34
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-os_barbican master: tasks: Remove unused apache configuration  https://review.openstack.org/52278511:34
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-os_barbican master: Add support for the openSUSE Leap distributions  https://review.openstack.org/52278611:34
odyssey4memardim__ I would not be surprised if kernel packages need to be installed on the host before they're installed on the containers11:36
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-os_barbican master: Add support for the openSUSE Leap distributions  https://review.openstack.org/52278611:36
hwoarangthat's a very strange bug11:37
hwoarangor behavior...11:37
odyssey4mehwoarang off-hand, does opensuse not do a conf.d directory for nginx at all, or is it just in a different location to centos/ubuntu ?11:37
mardim__hwoarang, odyssey4me evrardjp I am thinking....11:38
odyssey4mehwoarang for reference, see the opensuse results in https://review.openstack.org/#/c/521754/11:38
hwoarangodyssey4me: i think it doesn't use one by default11:38
mardim__odyssey4me, hwoarang evrardjp can i somehow in ansible to define the order for the hosts in inventory ?11:39
mardim__odyssey4me, hwoarang evrardjp so i can replicate ?11:39
mardim__the behaviour11:39
odyssey4mehwoarang ah, I see we change the nginx.conf to include conf files from there so I can just create the dirs11:40
hwoarangyep11:40
hwoarangi had to do that in keystone i think11:40
odyssey4mehwoarang ah, thanks for that: https://github.com/openstack/openstack-ansible-os_keystone/blob/master/tasks/keystone_nginx.yml#L4311:41
hwoarangwow i am surprised by my memory11:41
hwoarang:)11:41
evrardjpodyssey4me: do we try rally with ansible 2.3 in newton?11:41
hwoaranggood good11:41
evrardjp:p11:41
evrardjpit would work, but we have a different version in O11:42
odyssey4meevrardjp I haven't tried to actually use it - but it builds11:42
evrardjp:)11:42
evrardjpI don't really care.11:42
evrardjpit is just weird to have ocata with a different version now11:43
hwoarangmardim__: do you really need linux-headers everywhere?11:43
hwoarangor just the host? because the kmp is loaded only on the host right?11:44
hwoarangso you shouldn't install all that in the containers11:44
hwoarangor not?11:44
evrardjpmardim__: yes it's possible to change the order on the inventory11:44
mardim__hwoarang, hm that's a good point let me think11:44
evrardjpI mean in your playbook11:44
evrardjpbut that's not something you should do.11:44
hwoarangafaik you can't actually load a kernel module in the container. the kernel and its modules are shared with the host11:45
hwoarangso loading it on the host is enough11:45
hwoarangi believe...11:45
mardim__evrardjp, I wanted just to replicate so I can identify the error11:45
evrardjpmardim__: what hwoarang said makes sense.11:45
mardim__hwoarang, yes you are right that's why I added that to my patch  name: Restart OvS-NSH service to load the kmod inside the container11:46
mardim__  command: lxc-attach -n "{{ item }}" -- service openvswitch-switch restart11:46
mardim__  ignore_errors: True11:46
mardim__  with_items: "{{ groups[neutron_services['neutron-dhcp-agent']['group']] }}"11:46
mardim__  when:11:46
mardim__    - ovs_nsh_support | bool11:46
mardim__    - ("openvswitch_nsh" in group_names)11:46
evrardjpmardim__: I already commented on that task11:47
evrardjpyou should probably not do that.11:47
evrardjpodyssey4me: did you see this already? It's an infra thing11:47
evrardjphttp://logs.openstack.org/periodic/git.openstack.org/openstack/openstack-ansible/master/openstack-ansible-upgrade-ceph-ubuntu-xenial/f835b74/job-output.txt.gz#_2017-11-24_06_08_06_54786711:47
*** armaan has quit IRC11:47
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server master: Implement pypiserver and pypi proxy cache  https://review.openstack.org/52175411:48
mardim__evrardjp, I should fo this because in xci the neutron agents containers are executed before the controller host11:48
*** michelv has quit IRC11:48
mardim__which means if I do not restart11:48
mardim__the ovs inside the containers is in an error state11:48
mardim__fo-> do11:49
odyssey4meevrardjp hmm, I'm guessing that we should take out the 'origin' specification there11:49
odyssey4meIIRC infra removes the origin git remote for some reason11:50
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Collect logs to a subfolder  https://review.openstack.org/52279411:50
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Fix order of script for upgrades  https://review.openstack.org/52279511:51
evrardjpodyssey4me: do we?11:51
evrardjpthat sounds weird11:51
odyssey4meevrardjp it is, and I don't know the history - but that is what I noticed at some point was being done11:52
odyssey4mewe don't need to checkout the branch from the origin anyway, we just need the branch11:52
*** michelv has joined #openstack-ansible11:52
evrardjpI am fixing it right now11:53
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally stable/newton: Constraint ansible installation  https://review.openstack.org/52276511:53
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_rally stable/newton: Used cached git sources and enable depends-on  https://review.openstack.org/51829311:53
odyssey4meevrardjp good suggestion - adjusted11:54
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Ensure Zuul can checkout the proper branch  https://review.openstack.org/52279711:54
odyssey4mehow exciting - horizon is almost in a place where it can use conf files like other services: https://review.openstack.org/404735 :)11:54
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Do not force using the remote "origin" when testing upgrades  https://review.openstack.org/52279711:56
evrardjpodyssey4me: horizon dashboards are curently borked for us, I will fix that asaic11:57
evrardjpbut that looks cool11:57
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-os_barbican master: Add support for the openSUSE Leap distributions  https://review.openstack.org/52278611:57
evrardjpodyssey4me: What would be cool is that we can pass any random variable to deploy any random horizon dashboard11:58
evrardjpwill write that down11:58
evrardjpthat's easy when I think about it.11:59
evrardjpDarn I have another idea :)11:59
evrardjphwoarang: thanks on the work on barbican that sounds very nice12:02
evrardjpshould be in a scenario in our integrated gates!12:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow pip_install to run in repo-server playbook  https://review.openstack.org/52202212:07
odyssey4meevrardjp barbican's in the aio scenario ;)12:07
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Fix order of script for upgrades  https://review.openstack.org/52279512:07
evrardjpodyssey4me: oh12:07
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-os_barbican master: Add support for the openSUSE Leap distributions  https://review.openstack.org/52278612:08
hwoarangtoo bad it doesn't work with mariadb 10.212:09
odyssey4meoh really?12:09
evrardjpodyssey4me: it's not listed on https://docs.openstack.org/openstack-ansible/latest/contributor/quickstart-aio.html12:09
hwoarangyep12:09
hwoarangodyssey4me: i added some links in the zuul job on why it's non-voting for opensuse. hopefully barbican will fix it soon... or mariadb...12:09
odyssey4meevrardjp oh, my bad - I thought it was12:10
evrardjpodyssey4me: did we mess up something in the commit there? https://github.com/openstack/openstack-ansible/blob/master/tests/vars/bootstrap-aio-vars.yml12:10
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_server master: Implement pypiserver and pypi proxy cache  https://review.openstack.org/52175412:10
odyssey4meevrardjp no, it was probably something we discussed (or I discussed with myself)12:10
evrardjp:)12:10
odyssey4mebut never implemented12:10
evrardjpI don't remember with which project can barbican be used12:11
evrardjpI guess cinder and keystone?12:11
odyssey4meevrardjp heh, I knew it - https://review.openstack.org/#/c/486086/12:12
odyssey4mebarbican can be used with any project that uses secrets - swift, ironic, keystone, cinder12:12
odyssey4menot sure about ironic, but they may have got the integration done12:12
evrardjpodyssey4me: ha.12:13
evrardjpodyssey4me: I guess I am good to backport dstat all accross the board12:15
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Run dstat in gate tests  https://review.openstack.org/52279912:19
evrardjpodyssey4me: let's call this gate the gate of secrets!12:20
evrardjphttps://wiki.guildwars.com/wiki/Gate_of_Secrets12:20
evrardjpor maybe better12:20
evrardjpthe chamber of secrets!12:21
hwoarangevrardjp: can you fold this fix https://review.openstack.org/#/c/520615/ in your backport ?12:21
hwoaranggates always timeout i haven't managed to get it to master yet ...12:22
evrardjp:(12:23
evrardjphwoarang: let's merge it in master first before backporting... Anyway this backport is already in a race condition with the ARA one12:23
evrardjpso one or the other will get your backport12:24
*** DanyC has quit IRC12:24
hwoarangok12:24
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Set the default pip index to use the pypi cache when possible  https://review.openstack.org/52280212:27
openstackgerritMerged openstack/openstack-ansible-os_tempest master: Add task to allow creation of provided roles  https://review.openstack.org/51861112:35
ThomasShi12:36
ThomasSi did the re-run of setup-infra and it did not succeed12:36
ThomasSwill do a second try12:37
ThomasSif this is not working out i will reinstall at least the controllers12:37
ThomasSis there any more info about dns setup required?12:37
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Set the default pip index to use the pypi cache when possible  https://review.openstack.org/52280212:38
odyssey4meThomasS the containers all inherit dns config from the host, so as long as the host is good it should be fine12:38
evrardjpLOCI is now an officially approved project12:40
odyssey4meyeah, saw that - nice work there SamYaple12:41
*** armaan has joined #openstack-ansible12:45
ThomasSthe host was good all the time12:49
ThomasSit has a host file for all the nodes and dns is out public12:50
*** dave-mccowan has joined #openstack-ansible12:51
*** yifei has joined #openstack-ansible12:52
ThomasSnow looks like the rabbit cluster is online12:53
evrardjphwoarang: could you vote on https://review.openstack.org/#/c/522542/ ?12:55
evrardjpvery quick and easy vote12:55
ThomasSnow ceph mon throughs an error with the release. i set for ceph_release_num: 1212:55
ThomasSthe error is a bit misleading for me12:56
*** askb has quit IRC12:56
ThomasShttps://paste.ee/p/9H0jf12:56
neithHello all,is it the expected behavior not to authorize to have 2 same rules in 2 secGRoups in the same project?12:56
ThomasSuser_variables looks like this12:58
ThomasShttps://paste.ee/p/oZ0tb12:58
ThomasSmaybe i set i wrong :-)12:59
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Create cluster without using a failed task  https://review.openstack.org/52281013:00
odyssey4meevrardjp hwoarang ^ I've had enough of the confusion that rabbit cluster task causes... time to fix it.13:00
odyssey4meworking on the cookie one now too.13:00
evrardjpodyssey4me: ok13:03
evrardjpbetter that than waiting for ansible 2.513:03
ThomasS:-)13:03
ThomasSi commented ceph_release_num: 12 in user_vars because it will pick luminous anyway13:04
odyssey4meevrardjp I think that using a task that will always fail is bad form regardless.13:04
evrardjpodyssey4me: you are 100% right.13:05
*** jvidal has quit IRC13:05
evrardjpa purist would have asked a module to check the state, but I don't care.13:05
evrardjpwell I do, but not at that point.13:05
mardim__hwoarang, evrardjp odyssey4me I think I found the solution to the problems with the kernel modules for ovs-nsh13:05
mardim__the problem is13:06
mardim__that iam using the neutron role to load the modules on physical hosts13:06
evrardjpis?13:06
evrardjpand?13:06
mardim__But when we use the plain ovs13:06
mardim__we use this role to load the modules on the physical hosts13:07
mardim__https://github.com/openstack/openstack-ansible-openstack_hosts13:07
mardim__which makes sense because this role will prepare the hosts13:07
mardim__I ma thinking to use the same role so I can load the modules on the pysical hosts for ovs-nsh13:08
mardim__hwoarang, evrardjp odyssey4me What do you think ?13:08
evrardjpI don't understand your point13:09
evrardjphttps://github.com/openstack/openstack-ansible-os_neutron/blob/master/tests/test.yml#L1713:10
mardim__evrardjp, ok let me explain13:10
mardim__evrardjp, when we use palin ovs without nsh support13:10
mardim__plain*13:10
*** m|y|k has joined #openstack-ansible13:11
mardim__we use this role: https://github.com/openstack/openstack-ansible-openstack_hosts13:11
mardim__to load the kernel modules of ovs to the physical hosts13:11
evrardjpfor me to understand what you are explaining, I need code :)13:11
evrardjppoint me to the line and I will understand better than english13:11
evrardjp:)13:11
mardim__ok sure :)13:12
mardim__give me a sec13:12
mardim__evrardjp, https://github.com/openstack/openstack-ansible-os_neutron/blob/master/tests/neutron-overrides-opendaylight.yml#L18-L2113:13
evrardjpyes13:13
mardim__there is more wait :)13:13
mardim__evrardjp, https://github.com/openstack/openstack-ansible-openstack_hosts/blob/5674ee514c87e86473ad7b0fde8cbf3682b4eacb/defaults/main.yml#L3813:14
mardim__see ?13:14
mardim__evrardjp, Do you see the connection when we use plain ovs withou nsh support ?13:14
mardim__without*13:15
mardim__evrardjp, ?13:17
evrardjpno I do not13:17
evrardjpthe neutron role is using the openstack_hosts indeed13:17
evrardjpand by default empty13:17
evrardjpand because there is nothing in test-vars I understand why this could be a problem13:18
evrardjpbut I don't understand how ovs works then13:18
mardim__no wait13:18
mardim__forget about ovs-nsh13:18
evrardjpoh maybe in tox13:19
*** michelv has quit IRC13:19
evrardjpyeah that's it13:19
evrardjpok now I understand better.13:19
mardim__what did you understand ?13:19
evrardjphow this works.13:19
mardim__tell me so ican be sure we are in the same page13:19
mardim__:)13:19
evrardjpwhat's your tox env?13:20
evrardjpopendaylight?13:20
mardim__this is not related to tox13:20
mardim__forget about testing13:20
evrardjpwhat's your issue?13:20
mardim__Until now if we wanted to install the ovs13:20
mardim__we should include this https://github.com/openstack/openstack-ansible-os_neutron/blob/master/tests/neutron-overrides-opendaylight.yml#L18-L2113:21
mardim__in the user_variables.yaml file13:21
mardim__right ?13:21
evrardjpyes... which is done in tox13:21
evrardjpby giving the file to the cli13:21
mardim__forget about testing I ma talking for a real deployment now13:22
mardim__forget about CI13:22
evrardjpyes.13:22
mardim__ok and the reason we included that in the user_variables.yaml13:22
evrardjpa real deploy of an integrated openstack-ansible that has user_* variables, that's what you are talking about?13:22
mardim__exactly13:23
evrardjpok please go on13:23
mardim__the reason we incuded that in the user_variables.yaml file13:23
mardim__is because we wanted13:23
mardim__this role:13:23
evrardjpyes for openstack_hosts13:23
mardim__exactly13:24
evrardjpso?13:24
mardim__we can use the same role to load the kernel modules when we have the ovs-nsh case13:24
evrardjpis the group: "network_hosts" confusing you or?13:24
mardim__we can use the same role to install the ovs-nsh kernel modules13:25
evrardjpyes, this is the purpose of the openstack_hosts role and that's part of our deployment....13:25
mardim__exactly13:25
evrardjpI still don't understand what's the issue/what's revolutionary13:25
evrardjp:p13:25
mardim__I didn;t know that and I was trying to loda the ovs-nsh kernel modules from neutron role instead the openstack_hosts role13:25
mardim__load*13:25
evrardjpif you are doing your own machine, yes you need your own user_* overrides13:26
evrardjpand if you want to include that into a openstack-ansible integrated gate test, you'd have to generate something like user_opendaylight.yml for example13:26
mardim__No still you dodn't catch my point :(13:27
mardim__didn't*13:27
evrardjpnope.13:27
evrardjpI told you, code is easier than english.13:27
evrardjp:)13:27
mardim__hahah I know :)13:27
*** armaan has quit IRC13:27
*** armaan has joined #openstack-ansible13:27
mardim__I will create the patches and I will add you as a reviewer13:28
mardim__and you will understand ;)13:28
evrardjpthere is no need to patch openstack_hosts.13:28
mardim__evrardjp, Yes there is13:28
evrardjpfor what?13:28
mardim__because we will use that role to load the ovs-nsh kernel modules13:28
evrardjpso?13:28
mardim__which is the proper thing to do13:29
mardim__because we do that for plain ovs so far13:29
ThomasSfyi now the setup-openstack playbook is running :-)13:29
odyssey4memardim__ evrardjp yeah, openstack_hosts does the kernel module loading for ovs in general IIRC so ti makes sense to do it there13:30
evrardjpmardim__: please patch something, we'll discuss in the review. But I am pretty sure there is NO change needed in openstack_hosts role13:30
evrardjpodyssey4me: I don't get what you mean13:30
mardim__odyssey4me, exactly13:31
evrardjphttps://github.com/openstack/openstack-ansible-openstack_hosts/blob/master/tasks/openstack_kernel_modules.yml13:31
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Use tempest plugin for functional testing  https://review.openstack.org/51861213:31
evrardjpis abstracted enugh13:31
evrardjpif you want an override, it's just a var13:31
mardim__evrardjp, odyssey4me https://review.openstack.org/#/c/517259/21/vars/ubuntu-16.04.yml13:31
odyssey4meyep, just openstack_host_specific_kernel_modules needs to be appropriately adjusted - probably in group vars somewhere13:31
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Check and set cookie without using a failed task  https://review.openstack.org/52281413:31
mardim__line 25 2613:31
mardim__I will move those packages to openstack_host role13:32
evrardjpodyssey4me: my point exactly. No need to change the openstack_hosts role13:32
*** openstackgerrit has quit IRC13:32
evrardjpthis is all a docs change at best13:33
evrardjpfor the integrated gates13:33
evrardjpand if you are doing a integrated scenario, then you need to define these user_* variables.13:33
odyssey4mehmm, might need to add a facility to add extra packages as well, otherwise just setting the kernel modules to load won't work13:33
evrardjpwe already have that13:33
odyssey4meoh?13:34
evrardjpopenstack_host_distro_packages13:34
mardim__evrardjp, really ?13:34
mardim__evrardjp, can you provide a link13:34
odyssey4meyes, but you don't want to override the whole list -just add a few more13:34
mardim__?13:34
mardim__Also I need to add my ppa13:34
evrardjpodyssey4me: mmm yes.13:34
mardim__because the packages I want to isntall is in a private ppa13:34
mardim__tough decisions here :)13:35
evrardjpodyssey4me: we can't do that for now, not the way it's written right now. My patch solves that though, but you -1ed it :p13:35
evrardjpmardim__: you can still override that list of packages you want to install everywhere with your user_* files13:36
evrardjpodyssey4me: the elegance of my patch made it also group vars friendly :)13:36
mardim__Yes but what about the private ppa13:36
odyssey4meevrardjp your patch doesn't change this situation at all13:36
mardim__I am installing those packages form a private ppa13:36
odyssey4meit doesn't allow additional arbitrary repositories to be added13:36
odyssey4meit only does UCA, OR an external repo13:37
odyssey4meand that functionality is already in the role13:37
evrardjpodyssey4me: you are wrong13:37
mardim__evrardjp, Do you have the link to your patch ?13:37
mardim__ican help with the reviews13:38
evrardjpmardim__: for your use case we you shouldn't technically need my patch13:38
evrardjpin your case, it's just a doc change13:38
evrardjpyou say to your users they need repo x installed on their host13:39
evrardjpthen define in their user_* the proper kernel module loading13:39
evrardjpand the proper package installation13:39
evrardjphowever if you want to review, here it is:13:39
evrardjphttps://review.openstack.org/#/c/51539713:39
evrardjpin your case:13:39
evrardjphttps://review.openstack.org/#/c/515397/6/tasks/openstack_hosts_configure_apt.yml would be enough to configure your ppa13:39
evrardjpthen the configuration of your metal node distro packages would happen there: https://review.openstack.org/#/c/515397/6/tasks/configure_metal_hosts.yml L7713:40
evrardjpoh apparently odyssey4me is right, I forgot to do the proper override in openstack_host_metal_distro_packages13:41
evrardjplike it's done for the other keys (ppa etc)13:41
evrardjplet me fix that quick13:41
mardim__evrardjp, I am thinking ... :)13:42
*** ianychoi has quit IRC13:44
*** openstackgerrit has joined #openstack-ansible13:45
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Create cluster without using a failed task  https://review.openstack.org/52281013:45
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: [WIP] Add the ability to run the role on all hosts  https://review.openstack.org/51539713:45
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Check and set cookie without using a failed task  https://review.openstack.org/52281413:47
mgariepymorning everyone13:47
evrardjpmorning mgariepy!13:47
evrardjpmgariepy: could you review https://review.openstack.org/#/c/522542/ ?13:48
mgariepysure13:52
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use Ansible 2.4  https://review.openstack.org/52277813:54
mgariepydone.13:55
evrardjpthanks13:57
*** Dinesh_Bhor has quit IRC13:57
evrardjpodyssey4me: reviewed, proposed a simplification, not sure if you'll like it :p13:57
odyssey4meja, thought of that - but I don't know what effect there is of changing the cookie while it's running14:00
odyssey4melet me do that in a subsequent patch so we can see if it's ok14:00
*** SerenaFeng has joined #openstack-ansible14:01
odyssey4meactually, may as well roll it in14:01
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Check and set cookie without using a failed task  https://review.openstack.org/52281414:04
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Fix ansible-lint test failures  https://review.openstack.org/52282914:07
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Check and set cookie without using a failed task  https://review.openstack.org/52281414:08
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Create cluster without using a failed task  https://review.openstack.org/52281014:08
*** dave-mccowan has quit IRC14:10
evrardjpodyssey4me: yeah, los corones!14:14
evrardjpthat was definitely inappropriate, sorry.14:16
evrardjpodyssey4me: haha "ANSIBLE0014 Environment variables don't work as part of command which is nonsense."14:18
odyssey4meyeah, been seeing that here and there - it definitely works, so I'm not sure why the lint thinks it doesn't14:19
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/pike: Improve lint test flexibility  https://review.openstack.org/52283214:24
evrardjpodyssey4me: yeah, don't know.14:25
*** hamza has quit IRC14:25
*** lbragstad has joined #openstack-ansible14:28
mardim__evrardjp, I reviewd your patch :)14:30
mardim__evrardjp, Also I can test your patch when it is ready so just tell me when is it :)14:32
*** michelv has joined #openstack-ansible14:35
*** yifei has quit IRC14:35
*** yifei has joined #openstack-ansible14:35
*** cjloader has joined #openstack-ansible14:36
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: [WIP] Add the ability to run the role on all hosts  https://review.openstack.org/51539714:36
evrardjpmardim__: gates are testing it :D14:37
evrardjpif not, we are missing something in our tests :)14:37
*** SerenaFeng has quit IRC14:38
mardim__evrardjp, ok then lets cross our fingers for the gates :)14:39
*** cjloader has quit IRC14:41
evrardjp:D14:41
*** yifei has quit IRC14:44
*** yifei has joined #openstack-ansible14:44
*** armaan has quit IRC14:47
*** armaan has joined #openstack-ansible14:48
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-openstack_hosts master: Add the ability to run the role on all hosts  https://review.openstack.org/51539714:50
odyssey4meevrardjp not sure if you noticed, but we can't look at our ara results because the zuul ara report overwrites ours... so I did https://review.openstack.org/#/c/522794/1 to solve that14:53
evrardjpyeah I've noticed many things that are still broken since zuul v3 :D just making myself blind to them until I haven't fixed the fires.14:54
evrardjpI have fixed*14:54
evrardjpthanks for the patch!14:54
evrardjpwill review that quick14:54
evrardjpodyssey4me: doesn't look like it works?14:55
mardim__evrardjp, To be sure that we are in the same page14:55
*** armaan has quit IRC14:55
mardim__if your patch gets merged14:56
evrardjpif :)14:56
*** armaan has joined #openstack-ansible14:56
odyssey4meevrardjp it is working, we don't generate an ara report if the test passes14:56
mardim__I will be able through user variables14:56
evrardjpoh yeah true. We need to change that at some point, or at least generate the subunit14:56
mardim__to add my private ppa with higher priority than others14:56
mardim__to install the packages for kernel modules14:57
evrardjpand load them, yeah14:57
evrardjpin group vars14:57
mardim__and also load my custom kernel modules14:57
evrardjpor in user_*14:57
mardim__in the controller and compute hosts right ?14:57
evrardjpthat's pretty much all nodes14:58
evrardjp:p14:58
evrardjpjoking aside, yes14:58
odyssey4meevrardjp oh - I thought we were doing the subunit... looks like that's gone - lemme add that back14:58
mardim__there are olaso the containers or ?14:58
mardim__also*14:58
evrardjpodyssey4me: I don't see anything on health anymore, so I think we do not14:58
mardim__evrardjp, if I add the private ppa to user_variables this will be added for all the nodes (physical and containers)?14:59
mardim__or just physical ?14:59
odyssey4meevrardjp interesting - it appears that we never did for the roles15:00
odyssey4meanyway, will add it15:00
evrardjpoh I don't care about that for the roles15:01
evrardjpbut why not indeed.15:01
evrardjpdo you have an idea on why after an upgrade, my lxc containers have NO ips, except the galera one?15:01
evrardjpthat's gonna be a fun mystery again15:02
*** armaan has quit IRC15:04
*** armaan has joined #openstack-ansible15:05
evrardjpfun stuff, I get kernel systraces!15:14
*** yifei has quit IRC15:16
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Always generate ARA subunit results  https://review.openstack.org/52284915:26
odyssey4meevrardjp ^15:26
*** mgariepy has quit IRC15:29
evrardjpquestions asked!15:30
*** mgariepy has joined #openstack-ansible15:32
*** tnogisto has quit IRC15:34
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Update all SHAs  https://review.openstack.org/52285015:36
openstackgerritMerged openstack/openstack-ansible master: Create variable override tests  https://review.openstack.org/52254215:40
*** armaan has quit IRC15:45
*** armaan has joined #openstack-ansible15:46
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Collect /etc files from the host and containers  https://review.openstack.org/52285215:47
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Fix in-tree version  https://review.openstack.org/52285315:49
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/pike: Fix in-tree version  https://review.openstack.org/52285315:50
odyssey4medammit evrardjp the scripts should be doing that automatically for you, you should not have to remember15:50
evrardjpyeah.15:50
evrardjpworked for the rest.15:50
odyssey4mefix the script to ensure it does the right thing by default15:50
evrardjpyeah!15:51
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_tempest stable/pike: Fix doc conf lint failures  https://review.openstack.org/52285415:55
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_tempest stable/pike: Fix ansible-lint test failures  https://review.openstack.org/52230415:55
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/ocata: Update all SHAs for 15.1.13  https://review.openstack.org/52285616:01
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Always generate ARA subunit results  https://review.openstack.org/52284916:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Always generate ARA subunit results  https://review.openstack.org/52284916:03
*** germs has joined #openstack-ansible16:05
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests master: Collect /etc files from the host and containers  https://review.openstack.org/52285216:06
*** mrch has quit IRC16:09
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible stable/newton: Update all SHAs for 14.2.13  https://review.openstack.org/52285816:11
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-log-collect.sh: Collect package and repository info on Ubuntu  https://review.openstack.org/52286016:16
*** mardim__ has quit IRC16:19
*** armaan has quit IRC16:19
*** armaan has joined #openstack-ansible16:20
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible-tests master: test-log-collect.sh: Collect package and repository info on Ubuntu  https://review.openstack.org/52286016:23
*** mbuil has quit IRC16:25
openstackgerritMerged openstack/openstack-ansible-os_monasca stable/pike: Initial OSA zuul v3 role jobs  https://review.openstack.org/51659416:36
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible-rabbitmq_server master: Upgrade to RabbitMQ 3.6.14  https://review.openstack.org/52286516:36
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow pip_install to run in repo-server playbook  https://review.openstack.org/52202216:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Set the default pip index to use the pypi cache when possible  https://review.openstack.org/52280216:39
evrardjphwoarang: are you still there?16:41
evrardjpI am curious about something: http://logs.openstack.org/78/522778/4/check/openstack-ansible-deploy-aio-opensuse-423/1d4db6b/job-output.txt.gz#_2017-11-24_14_11_00_74352616:41
hwoaranglet me check16:45
hwoarangevrardjp: yeah it's the pgrep -f fix i am trying to get it16:45
hwoarangi was discussing it with logan- and odyssey4me the other day16:45
evrardjpok16:45
hwoarangansible has some troubles killing subshells from other processes16:46
hwoarangyou will notice that centos7 has the same issue16:46
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Remove selfcheck.json  https://review.openstack.org/52286816:47
openstackgerritMerged openstack/openstack-ansible master: scripts: scripts-library.sh: Use pgrep -f to find the dstat process  https://review.openstack.org/52061516:48
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Remove selfcheck.json  https://review.openstack.org/52286816:48
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-ops master: Validate the target directory exist before linking.  https://review.openstack.org/52286916:48
openstackgerritMarkos Chandras (hwoarang) proposed openstack/openstack-ansible master: [DNM] - Testing AIO on openSUSE  https://review.openstack.org/50745116:51
*** chyka has joined #openstack-ansible16:54
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-pip_install master: Add ability to disable implementing pip.conf  https://review.openstack.org/52287116:55
*** holmsten has quit IRC16:56
openstackgerritJean-Philippe Evrard proposed openstack/openstack-ansible master: Use Ansible 2.4  https://review.openstack.org/52277816:57
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Set the default pip index to use the pypi cache when possible  https://review.openstack.org/52280216:58
odyssey4meevrardjp there we go, it's working now :) https://review.openstack.org/52284917:01
openstackgerritMerged openstack/openstack-ansible-rabbitmq_server master: Fix ansible-lint test failures  https://review.openstack.org/52282917:03
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server stable/pike: Fix ansible-lint test failures  https://review.openstack.org/52287517:03
*** jbadiapa has quit IRC17:05
openstackgerritMerged openstack/openstack-ansible-tests stable/pike: Improve lint test flexibility  https://review.openstack.org/52283217:06
openstackgerritMerged openstack/openstack-ansible-tests master: Collect logs to a subfolder  https://review.openstack.org/52279417:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/pike: Collect logs to a subfolder  https://review.openstack.org/52287717:06
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/ocata: Collect logs to a subfolder  https://review.openstack.org/52287817:08
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-tests stable/newton: Collect logs to a subfolder  https://review.openstack.org/52287917:09
*** shardy has quit IRC17:13
*** germs has quit IRC17:14
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_monasca stable/pike: Updated from OpenStack Ansible Tests  https://review.openstack.org/51629917:15
*** gkadam has quit IRC17:17
*** SerenaFeng has joined #openstack-ansible17:23
openstackgerritMerged openstack/openstack-ansible-tests master: Always quote the filesystem permissions  https://review.openstack.org/51857717:30
odyssey4mehwoarang evrardjp I have a bunch of patches ready for review and would appreciate it if you could take a peek: https://review.openstack.org/#/q/project:%22%255Eopenstack/(monitorstack%257Copenstack-ansible).*%22+status:open+label:Verified%253E%253D1%252Czuul+NOT+label:Workflow%253C%253D-1+NOT+label:Code-Review%253C%253D-1+owner:jesse-pretorius17:32
odyssey4meof course any other cores available can do the same17:32
*** armaan has quit IRC17:38
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server stable/pike: Fix doc conf lint failures  https://review.openstack.org/52288317:41
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server stable/pike: Fix ansible-lint test failures  https://review.openstack.org/52287517:41
evrardjpodyssey4me: will do17:43
spotzodyssey4me: I'll take a look durin my next recording break. I can probably get a few done17:44
spotzhave to keep stopping to fix typos in slides that went through QA....17:44
*** michelv has quit IRC17:44
odyssey4mehaha, thanks spotz - appreciate it17:46
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server stable/pike: Fix lint test failures  https://review.openstack.org/52287517:52
openstackgerritJesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-os_tempest stable/pike: Fix lint test failures  https://review.openstack.org/52230417:54
*** pcaruana has quit IRC17:55
*** rogervn has joined #openstack-ansible17:56
rogervnHello guys, I´m having some trouble trying openstack-ansible behind a http and rpm proxies.17:57
odyssey4merogervn have you seen https://docs.openstack.org/project-deploy-guide/openstack-ansible/pike/app-limited-connectivity.html ?17:58
rogervnI´ve been able to make it work for the setup-hosts part with the environment variables and editing the repos.d files. But the setup-infrastructure does´t seem to use the /etc/environment variables, so I´m having trouble to download get-pip.17:58
*** SerenaFeng has quit IRC18:00
rogervnYes, I´ve set the user_variables.yml with the environment proxy variables.18:00
rogervnIt also worked fine with the setup-hosts.yml.18:00
odyssey4meok, that should also then work for the containers18:00
*** germs has joined #openstack-ansible18:01
odyssey4merogervn have you read and understood https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/user_variables.yml#L113-L138 ?18:02
odyssey4mehaving no proxy set for the haproxy load balancers is important18:02
*** michelv has joined #openstack-ansible18:04
*** germs1 has joined #openstack-ansible18:05
rogervnI hadn´t read all that information yet, I just used the global_environment_variables. I´ll try some of the other tags.18:07
*** germs has quit IRC18:07
rogervnAnd yet I´ve net set any haproxy lbs, I´m trying to set a base to make changes, then I´ll deploy a working environment.18:08
odyssey4meyou shouldn't use both for the same thing18:08
odyssey4meok, but without any haproxy (or some lb) hosts nothing beyond setup-hosts will work18:09
odyssey4mefrom there on it will, very soon in setup-infra, expect to use the load balancer... that will happen once the repo server is setup18:09
rogervnOh, i see. I´ll set the haproxy in my user_config then.18:11
rogervnAlso, I´m having a lot of trouble to set my RPM proxy, because most of the code tries to use external RPM repositories. Is there any configs to only use the repos I have in the nodes?18:12
odyssey4merogervn by default the repo server will setup a proxy too - you can either make that use your upstream proxy, or you can disable that18:14
odyssey4meall containers will inherit any of these files from the host: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/vars/redhat-7.yml#L46-L5118:15
odyssey4meif you want more copied in (like perhaps your proxy conf), then you can add a list of files to copy to your user_variables: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/670b47bbfbe8327dd5fb3c734e599cd03d16f5ea/defaults/main.yml#L115-L12018:16
odyssey4methe proxy on the repo is configured with https://github.com/openstack/openstack-ansible-repo_server/blob/master/templates/acng.conf.j2 but you can disable it by settings this as false in your user_vars: https://github.com/openstack/openstack-ansible-repo_server/blob/master/defaults/main.yml#L4218:18
odyssey4meI'm out for the w/end - cheers all!18:18
rogervnThanks odyssey4me! That helped a lot!18:18
rogervnHave a nice weekend!18:19
*** cjloader has joined #openstack-ansible18:31
*** KMT has joined #openstack-ansible18:39
KMTHello18:39
KMThttps://bpaste.net/show/dc42da59b3d918:39
KMTI have two openstack-ansible setup. one ifra node and one compute node18:40
KMTnow i am trying to add ceph stoarge18:40
KMTceph cluster is install on separate nodes18:41
mgariepyKMT: ansible mon1 -m setup18:41
mgariepydoes that work ?18:41
KMTtry to fllow below link18:42
KMThttps://www.openstackfaq.com/openstack-ansible-ceph/18:42
mgariepywere you limiting the run ?18:42
KMThttps://bpaste.net/show/dc42da59b3d918:42
KMTerror message somehow complaiing like "has no attribute u'ansible_br_storage"18:43
KMTi am suspecting network connectivity18:43
mgariepyKMT, do you have a br-storage interface on this server ?18:44
KMTmy infra and compute node as four vlan18:44
KMTno is br-storage is required on ceph cluster nodes ?18:44
mgariepyKMT:run : ansible mon1 -m setup18:45
mgariepydoes that work ?18:45
KMTmgariepy> KMT, do you have a br-storage interface on this server ?     which server ?  ceph mon1 or osd  ?18:45
mgariepyif it does, try re-running the other playbook.18:46
KMTno  br-storage is availbe in ceph mon and osd.  is it required that ceph node should have br-storage interface ?18:48
KMTno  br-storage is NOT available18:48
mgariepyI think you have this error because ansible is tring to map info on mon1 and the fact is expired. doing the "ansible <host> -m setup" will refresh the fact then the other playbook should run correctly18:50
*** electrofelix has quit IRC18:50
KMTis it required that ceph node should have br-storage interface ?18:52
mgariepyI guess not.18:53
mgariepythe error shown in your pastebin is for mon1.18:53
KMTbelow is the out of mon1 -m setup18:54
KMThttps://bpaste.net/show/1f2721d57a4b18:54
mgariepywhat is in your /etc/openstack_deploy/openstack_user_config.yml ?18:56
mgariepyany mention of br-storage there?18:57
*** dave-mccowan has joined #openstack-ansible18:58
KMThttps://bpaste.net/show/cd17d3df320518:58
KMTabove is openstack_user_config.yml18:58
mgariepyline 5718:58
mgariepythe config in opesntack_user_config.yml needs to match the configuraiton or your server.18:59
KMTyes i have br-storage on infra and compute node18:59
KMTi am confused how to fit ceph nodes network19:00
mgariepyhttps://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/app-config-prod-ceph.html19:01
KMTthanks let me read and try it19:03
mgariepystarting at line 100, you define your storage_hosts,  < https://bpaste.net/show/cd17d3df320519:03
mgariepyso compute01 and mon1 should have the br-storage network.19:03
mgariepyI do beleive app-config-prod-ceph is more up to date than the one on openstackfaq.com19:05
mgariepyKMT which version are you deploying ?19:07
mgariepyof ceph and openstack.19:07
*** dave-mccowan has quit IRC19:08
*** armaan has joined #openstack-ansible19:14
*** armaan has quit IRC19:17
*** michelv has quit IRC19:18
*** dave-mccowan has joined #openstack-ansible19:21
*** hamza has joined #openstack-ansible19:22
KMTceph version 12 and openstack is pike19:24
*** m|y|k has quit IRC19:29
mgariepyok19:32
KMTis the config m entioned in latest document https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/app-config-prod-ceph.html will be applicabe to pike version also ?19:41
mgariepyKMT which part?19:41
mgariepyKMT probably.19:42
KMTrelated to ceph config etc19:43
mgariepyprobably.19:46
*** dave-mccowan has quit IRC19:47
*** KMT has quit IRC19:49
*** savvas_ has joined #openstack-ansible19:59
*** savvas has quit IRC20:00
*** hamza has quit IRC20:04
*** ThomasSh has joined #openstack-ansible20:22
ThomasShhi20:22
ThomasShjust wanted to report back20:23
ThomasShthe deployment finished successfully :-)20:23
rogervnHello, I´m having an issue with the setup-infrastructure playbook. I´ve configured user_variables to use proxy and so it succeeded in configuring the containers in setup-hosts playbook.20:29
rogervnBut whenever I try the setup-infrastructure, the first container fails to set up pip because it doesn´t resolve the hostname, due to not using the http_proxy configured in /etc/environment.20:30
rogervnI´ve already attached directly to the failed container and everything is working, the proxy is working and /etc/enviroment loads up the variables correctly. For some reason, the ansible playbook shell is note using them.20:31
rogervnBut it worked fine in setup-hosts to download pip packages and set up distro packages.20:32
ThomasShhi rogervn20:37
ThomasShi had the same error20:37
ThomasShhave done the install with direct inet access now20:37
ThomasShnever got it to work20:37
rogervnYeah, that´s not an option for me...20:37
ThomasShit looks like the system tries to use the proxy instead of pulling the pip from the repo server20:37
rogervnI´m fine by it using the proxy, but it doesn´t seem to be using it. Even with all the variables set up.20:38
*** savvas_ has quit IRC20:39
*** savvas has joined #openstack-ansible20:40
*** dave-mccowan has joined #openstack-ansible20:45
*** savvas_ has joined #openstack-ansible20:57
*** savvas has quit IRC20:59
*** dave-mccowan has quit IRC21:00
*** savvas has joined #openstack-ansible21:10
*** savvas_ has quit IRC21:12
*** savvas has quit IRC21:23
*** pradiprwt has quit IRC21:49
*** cjloader has quit IRC21:59
*** savvas has joined #openstack-ansible22:06
*** savvas has quit IRC22:09
*** ianychoi has joined #openstack-ansible22:09
*** savvas has joined #openstack-ansible22:09
*** rogervn has quit IRC22:10
gun1xwhat's the difference between stable/pike and 16.0.2?22:26
gun1xi guess 16.0.3 is still beta22:26
gun1xi keep getting confused about the versions and i never know which version is pike beta, which version is pike stable :D22:27
gun1xhmm i think i figured it out: https://github.com/openstack/openstack-ansible/releases22:28
*** askb has joined #openstack-ansible22:31
gun1xso, if i got this right: master is queens. stable/pike is the future 16.0.4... 16.0.3 is the latest release of stable/pike with consistent code.22:31
*** savvas_ has joined #openstack-ansible22:41
*** savvas has quit IRC22:41
openstackgerritLogan V proposed openstack/openstack-ansible stable/pike: Revert "Add ceph_mons to ceph example"  https://review.openstack.org/52290322:45
*** ThomasSh has quit IRC23:09
*** savvas_ has quit IRC23:14

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