Saturday, 2019-10-12

*** gyee has quit IRC00:10
*** tmartins has joined #openstack-ansible00:19
*** ThiagoCMC has quit IRC00:20
*** ThiagoCMC has joined #openstack-ansible00:30
*** tmartins has quit IRC00:31
*** macz has joined #openstack-ansible00:44
*** macz has quit IRC00:49
*** hwoarang has quit IRC01:04
*** hwoarang has joined #openstack-ansible01:06
*** BjoernT has joined #openstack-ansible01:53
*** BjoernT_ has joined #openstack-ansible01:56
*** BjoernT has quit IRC01:58
*** BjoernT_ has quit IRC02:38
*** BjoernT has joined #openstack-ansible02:38
*** BjoernT has quit IRC02:38
*** macz has joined #openstack-ansible02:45
*** spatel has joined #openstack-ansible02:49
*** macz has quit IRC02:50
*** spatel has quit IRC02:53
*** tmartins has joined #openstack-ansible03:12
*** ThiagoCMC has quit IRC03:14
*** ThiagoCMC has joined #openstack-ansible03:34
*** tmartins has quit IRC03:36
*** hwoarang has quit IRC03:44
*** hwoarang has joined #openstack-ansible03:45
*** macz has joined #openstack-ansible04:46
*** macz has quit IRC04:51
*** markvoelker has joined #openstack-ansible04:52
*** markvoelker has quit IRC04:58
*** hwoarang has quit IRC06:34
*** hwoarang has joined #openstack-ansible06:41
*** arbrandes has quit IRC07:00
*** arbrandes has joined #openstack-ansible07:01
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: [DNM] test ansible 2.9  https://review.opendev.org/68100307:31
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: [DNM] test ansible 2.9  https://review.opendev.org/68100307:31
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible master: Imported Translations from Zanata  https://review.opendev.org/68825507:50
*** jawad_axd has joined #openstack-ansible08:19
*** LONorell has joined #openstack-ansible08:51
*** LONorell has quit IRC08:52
*** markvoelker has joined #openstack-ansible08:55
*** LONorell has joined #openstack-ansible08:56
*** markvoelker has quit IRC09:00
LONorellIs it ok to ask for assistance in this channel? I am trying to set up an OS-Ansible AiO installation with no luck.09:37
jrosserLONorell: its fine to ask, it'll be much more active here on weekdays though09:45
LONorellGot some appointments now, but will get back later when I can focus on this. Let's hope there is someone here to help later :)09:48
jrosserLONorell: i assume you are following this? https://docs.openstack.org/openstack-ansible/stein/user/aio/quickstart.html10:02
*** brtknr has quit IRC10:18
*** brtknr has joined #openstack-ansible10:21
*** hwoarang has quit IRC10:23
*** hwoarang has joined #openstack-ansible10:29
*** brtknr_ has joined #openstack-ansible10:32
*** brtknr_ has quit IRC10:35
*** brtknr_ has joined #openstack-ansible10:36
*** ivve has joined #openstack-ansible10:56
*** dave-mccowan has quit IRC11:55
*** dave-mccowan has joined #openstack-ansible11:57
*** ianychoi has joined #openstack-ansible11:59
*** markvoelker has joined #openstack-ansible12:18
*** markvoelker has quit IRC12:23
*** radeks_ has joined #openstack-ansible13:01
LONorell@jrosser, yes, byt on the "latest" link instead of "stein" I believe my problems might be related to the recent update of centos7 and maybe I'm not using the latest code from the git repository.13:01
LONorellI pasted the errors I got when trying to run setup-hosts playbook on https://etherpad.openstack.org/p/LONorell13:04
LONorellthe files referenced cannot be found, but there are files with similar names but different hashes (?) in that location.13:05
LONorellMakes me think the files were updated with latest Centos 7 update, and the code I cloned is unaware of this change.13:06
*** brtknr has quit IRC13:09
LONorellThat is the files yum try to download from http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/13:15
*** jawad_axd has quit IRC14:33
*** pcaruana has joined #openstack-ansible15:25
*** ivve has quit IRC15:35
jrosserLONorell: the OSA code is tested constantly against Centos 7.716:04
LONorell@jrosser, as I'd expect, but still, it (the yum commands from the playbook?) references nonexistent files in an existing centos repo16:15
jrossercan you link to the think in the platbook which you think is wrong?16:16
jrosser*thing16:16
LONorellthe urls seem to redirect to mirrors, like http://mirror.nsc.liu.se/fedora-epel/7/x86_64/repodata/16:16
jrossercan i just check that you've not set up the EPEL repo before running the OSA install, or it wasnt there already somehow on the server?16:17
LONorellI did not set up the EPEL repo before running the OSA installation.16:18
LONorellWhat kind of link are you suggesting? I posted a link to a etherpad where I pasted the failing parts of my output.16:23
jrosseryou are suggesting the playbook references non existant files16:25
LONorellThe playbook makes yum try to dl files from an existing directory in the mirrored repository.16:33
jrosserthe way the EPEL repositories redirect and what they do with hashed names is really outside the scope of OSA16:34
jrosserwe add the repo, and use ansible to install some packages16:34
jrosserso it's more question of if the mirrors are broken in some way, or is there an actual bug with the ansible that sets up and then uses the repos16:35
LONorellI cen see the centos repo is out of scope for the project. But is there something I may have missed in my installation? Or will others get the same problem?16:35
LONorellBut right now I am considering trying to use Ubuntu as host for my installation instead, eventhough it hurts... :)16:36
LONorellAs far as I can understand, the OSA project is rooted in Ubuntu environment? Makes sense to use that to minimise problems?16:38
jrosserevery patch is tested on lots of OS, they are all supported, see here for an example https://review.opendev.org/#/c/681003/16:40
jrosserthere are folk using centos fine16:40
jrossersimilarly ubuntu and others16:40
LONorellWhich makes me question my line of work :D16:40
LONorellWhy won't it work for me. Gotta be something I'm doing the wrong way.16:41
LONorellWell, I'll try a change of environment. If it works better, good for me. If it don't, Ill be back here soon.16:42
jrosserif you get stuck do ask16:43
LONorellThanks!16:43
jrosseri have no answer for the centos repo thing other than wonder if the mirrors are broken/inconsistent16:43
ThiagoCMCHey guys! I'm trying to deploy OSA Stein, the etcd-install.yml is failing.16:44
ThiagoCMCI'm actually surprised that the binary `/usr/local/bin/etcd` exists both inside of its container (vosctrl-1_etcd_container-fa410ee2), as well as inside of the bare-metal (vosctrl-1)!!! Is this expected?16:45
ThiagoCMCThe "TASK [systemd_service : Load service]" fail.16:46
ThiagoCMCThere is even etcd messages on /var/log/syslog of the bare metal!  O_O16:46
ThiagoCMCLike: "vosctrl-1 etcd[16306]: couldn't find local name "vosctrl-1" in the initial cluster configuration"16:47
ThiagoCMCI wasn't expecting to see etcd binaries and log messages outside of its container.16:47
ThiagoCMCI'm wondering about how to clean it up...   :-/16:48
ThiagoCMCAnd how to proper deploy etcd (which seems to be a Magnum requirement, correct me if I'm wrong).16:48
ThiagoCMCHere is the Ansible task error: https://pastebin.com/imgzQSQ216:49
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/stein: Update etcd playbook to target etcd from etcd_all  https://review.opendev.org/68827516:52
ThiagoCMCI'm guessing that I'll have to clean up the inventory...16:52
jrosserThiagoCMC: ^16:52
jrosserand you don't need etcd deployed as part of your openstack infrastructure for magnum16:53
ThiagoCMCOh, really?16:53
ThiagoCMCThanks!16:53
jrossermagnum creates it's own in the vm it builds16:53
ThiagoCMCHmmm...16:53
ThiagoCMCWell, Magnum was deployed okay but, when I try to access the "Container Infra -> Clusters16:54
ThiagoCMC... on Horizon, the following error messages appear:16:54
ThiagoCMC"Error: Unable to retrieve the clusters." and "Error: Unable to retrieve the stats."16:54
ThiagoCMCSo, I thought that Magnum was failing because my conf.d/etcd.yml wasn't there (it wasn't enabled).16:55
jrosserit'll be a game of digging though the magnum logs, and possibly the heat lots too16:56
jrosser*logs16:56
*** jawad_axd has joined #openstack-ansible16:57
ThiagoCMCok16:57
ThiagoCMCI must confess that I'm a bit lost with the logs after this systemd thing...  hehe16:58
ThiagoCMCWhere are the logs?  lol16:58
guilhermespThiagoCMC: centos?16:58
ThiagoCMCUbuntu 18.0416:58
ThiagoCMCI do have rsyslog container16:58
guilhermesptry journalctl -u magnum-{api,conductor} -f16:58
guilhermespof journalctl -u magnum-{api,conductor} --since "" if you want to travel back in time16:59
ThiagoCMCNice! Thanks!16:59
guilhermesphorizon logs are too general... I'd see also what --debug with cli can tell me17:00
guilhermespbut best way is to be watching those logs17:00
*** jawad_axd has quit IRC17:02
ThiagoCMCAHA! Got the Magnum error: https://pastebin.com/zmkVAKPM17:03
ThiagoCMCCreepy 404 lol17:03
ThiagoCMCOn magnum-api17:04
ThiagoCMClogs...17:04
guilhermespwhat about conductor?17:05
ThiagoCMCconductor doesn't show any error, it's just running.17:07
guilhermespjournalctl -u mangum-conductor --since "30 minutes ago" | grep Error17:07
guilhermespor error, or ERROR, well do'nt remember now :P17:08
ThiagoCMC^_^17:08
ThiagoCMCNothing...  =P17:08
guilhermespheat logs?17:08
guilhermespwell, you could try restart the services ( if you are not in a prod env ), try to list clusters from cli, or even create clusters templates17:09
guilhermespand watch the logs17:09
guilhermespopen 2 terminals, one for api and one for conductor17:09
ThiagoCMCYep, I did that with tmux17:09
ThiagoCMCHeat looks fine17:10
jrosserwatch out for multiple controllers too - the log entries end up randomly around them17:10
guilhermespif you have them under haproxy, let only one instance to run, so you're gonna have centralized logs17:10
guilhermespyeah17:10
guilhermespwhat jrosser just said17:10
ThiagoCMCYeah, I have 3 controllers, I stopped 2.17:10
ThiagoCMClol17:10
jrosserand the conductor is RPC so i've tended to just shut down 2 magnum containers17:10
ThiagoCMCGot it...17:11
ThiagoCMCGuys, I appreciate the help! Gonna go eat something...   ^_^17:11
ThiagoCMCSee ya!17:11
*** markvoelker has joined #openstack-ansible17:15
*** jawad_axd has joined #openstack-ansible17:38
*** jawad_axd has quit IRC17:43
*** pcaruana has quit IRC17:43
*** jawad_axd has joined #openstack-ansible17:59
*** jawad_axd has quit IRC18:04
*** redrobot has quit IRC18:11
*** markvoelker has quit IRC18:50
LONorellLooking for advice in preparing aio install on ubuntu. for starters some git.19:33
LONorellFollowing guide on https://docs.openstack.org/openstack-ansible/latest/user/aio/quickstart.html#building-an-aio19:34
LONorellI have cloned the openstack-ansible repo, but after that?19:35
LONorellIf I run git describe --abbrev=0 --tags I get 19.0.0.0rc1 while git tag -l shows tags up to 19.0.419:37
LONorellDoes that mean I am using an old version of the stein installation?19:38
LONorellAnd, if so, how do I change to 19.0.4?19:38
*** dmsimard has quit IRC19:55
ThiagoCMCI'm facing the following problem with Magnum (OSA Stein on Ubuntu 18.04): https://ask.openstack.org/en/question/117228/unable-to-use-magnum-on-packstack/ I tried the packstack changes on magnum.conf and it worked! So, apparently, OSA Stein magnum.conf.j2 is broken.20:17
ThiagoCMCThe magnum.conf needs the "www_authenticate_uri with /v3" on its end.20:19
ThiagoCMCNow, how to launch a Kubernetes Cluster in 5 minutes?  LOL20:19
jrosserLONorell: the git describe line you use there returns you the most recent tag20:20
jrosserit's important to understand the the master branch is the work-in-progress for whatever the *next* release of openstack will be20:21
jrosserso if you want to deploy stein, checkout the most recent 19.x tag, or stable/stein is the head of the branch which will become the next tagged stein point release20:22
jrosserLONorell: to build a stein AIO do the following20:25
jrosserclone the openstack-ansible repo, run scripts/bootstrap-ansible.sh, run scripts/bootstrap-aio.sh20:25
jrosserthen move on to the 'run playbooks' section, it should be no more complicated than that20:26
LONorell@jrosser, ok. No special setup necessary, then. Weird that it always has some kind of problems for me, then.20:27
*** markvoelker has joined #openstack-ansible20:28
jrosserthe quickstart guide does detail quite a lot of possible customisations / options20:28
LONorellJust dled ubuntu 18.04.3 server and installed on one partition 240 GB, and just added ssh server options. Ran update/distupgrade and cloned the repo. I'll run the scripts now.20:29
jrosserand you really don't need them for a very standard AIO setup20:29
jrosserit's good to try to get your test environment somehow disposable / easily repeatable20:30
ThiagoCMCIs there a ste-by-step guide to deploy Kubernetes in 5 minutes with Stein/Magnum? https://thenewstack.io/openstack-stein-focuses-on-kubernetes-bare-metal-nfv-and-more/20:33
ThiagoCMCI was in Denver at the summit and this was super cool to watch! But now, I wanna do it.  ^_^20:33
LONorellCurrently running script. Getting some warnings on missing .ymls, probably just missing customization files20:34
ThiagoCMCI honestly don't remember if what I saw, was exactly this (the 5 min Kubernetes cluster with Magnum)...20:34
*** markvoelker has quit IRC20:38
LONorellSo, the bootstrap-ansible.sh script fails when trying to git clone openstack-ansible-os_tempest. see partial output at https://etherpad.openstack.org/p/LONorell20:45
LONorellAlso errors over lack of btrfs in /var/lib/lxc et al20:47
LONorellWith what looks like an git error message "fatal: reference is not a tree:", I don't know if there is anything I might have done wrong to cause it. My network setup is simply the server inside my nat-gateway, using DHCP IPv4.20:49
jrosserLONorell: you are still running from the master branch of openstack-ansible though?20:55
jrosserif you want a deployment of stein you much checkout the stein tag, or branch of openstack-ansible20:56
jrosserthe openstack-ansible repo contains the git SHA of all the ansible roles, and all the openstack services that will be used20:56
ThiagoCMCI'm curious, what in OSA is actually using etcd?20:57
jrossercalico20:57
ThiagoCMCIs it enabled by default on Neutron playbooks?20:59
ThiagoCMCBecause I don't have a proper etcd right now and Neutron seens to be working fine.20:59
ThiagoCMCOh, I can see that it isn't enabled by default.21:00
LONorellSo in addition to  "https://opendev.org/openstack/openstack-ansible" I should use "git checkout stein"?21:01
ThiagoCMCI'm actually more interested in Networking OVN to scaly my Neutron... Calico seems very similar with current Neutron Agents.21:01
ThiagoCMCThanks for the info!21:02
jrosserThiagoCMC: here is where etcd gets enables in CI jobs for calico scenarios https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/vars/main.yml#L36-L3821:02
jrosserLONorell: the openstack-ansible repo contains branches and tags for several releases of openstack, stein, rocky, queens and so on21:03
ThiagoCMCGot it!   =)21:03
jrosseryou must check out the branch or tag you need corresponding to the version of openstack you want to deploy21:03
jrosserso to deploy stein, you want the stable/stein branch21:04
jrosserif you want to test bleeding edge or do development work on the next release, use master <- you probably don't want to do this21:05
LONorellOk, that information is sorely missing in the instruction :( Or is it me not taking in that info?21:08
jrosseri did point you to the stein branch documentation earlier https://docs.openstack.org/openstack-ansible/stein/user/aio/quickstart.html21:09
jrosserwhere it tells you to checkout stable/stein21:09
jrosserthe documentation is also branched just like the rest of the code21:10
*** tbarron_ has joined #openstack-ansible21:10
LONorellYou sure did that. My bad (What Samuel L Jackson said about assumptions).21:13
jrossergit branch -r21:13
jrosser^ that will show you the available branches21:13
jrosserabout every two weeks or so there is a "minor release", where a new tag on each of those branches is created21:13
jrosserso for stein thats where the 19.x.y tags come from21:14
jrosserso if you have a real production deployment you can upgrade it incrementally from one tag to the next, on a particular branch21:14
*** radeks_ has quit IRC21:17
LONorellThanks, @jrosser I hope I will get further with less problems now. There are a lot of things for me to take in in a short time now. Have to turn in a report on my openstack endeavors during next week.21:18
LONorellPlanned to be further along by now :D21:18
LONorellI'd be happy to credit you in my report, @jrosser21:19
jrosserif you stick to the stock AIO config, you should get a deployment done in a hour or two21:20
ThiagoCMCThis freaking systemd!!! When I run `apt update ; apt full-upgrade` in my HAProxy node, and systemd is in the update list for APT, it kills the VIPs and Keepalived doesn't bring them back! Why the heck systemd is in production?!21:24
ThiagoCMCNow, after ~20 years trusting in Debian-style system upgrades, because of systemd, I don't have the same level of trust in my systems anymore. This is nuts.21:27
ThiagoCMC:-/21:27
ThiagoCMChttps://github.com/acassen/keepalived/issues/836   :-@21:32
ThiagoCMCDaammnn... https://bugs.launchpad.net/netplan/+bug/1815101 - OSA is affected by this as well.21:38
openstackLaunchpad bug 1815101 in systemd (Ubuntu Eoan) "[master] Restarting systemd-networkd breaks keepalived, heartbeat, corosync, pacemaker (interface aliases are restarted)" [Medium,In progress] - Assigned to Rafael David Tinoco (rafaeldtinoco)21:38
jrosseryou can still use ifupdown21:42
ThiagoCMCSure... But I got rid of ifupdown a long time ago and my Netplan files are really nice and kinda complex already...21:46
ThiagoCMCIt's good to know why the heck my VIPs were disapearing, at least now I know what to do and when. It looks like that the Bionic backport is on its way.21:47
*** dave-mccowan has quit IRC22:07
*** markvoelker has joined #openstack-ansible22:39
*** markvoelker has quit IRC22:44
ThiagoCMCWhere can I get a image for Magnum? So I can create a CCluster Template...?23:14
ThiagoCMCI do have Ubuntu 18.04 and CentOS 7  images but, they  don't show up under Container Infra menu...23:14
*** dave-mccowan has joined #openstack-ansible23:14
*** dmsimard has joined #openstack-ansible23:32

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