Wednesday, 2017-12-27

openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move kibana to OSH infra  https://review.openstack.org/52906800:10
*** marst has quit IRC00:11
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move kibana to OSH infra  https://review.openstack.org/52906800:27
*** yangyapeng has quit IRC00:30
*** XueFeng has quit IRC00:44
*** XueFeng has joined #openstack-helm00:44
*** yangyapeng has joined #openstack-helm01:21
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748901:21
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748901:25
openstackgerritMerged openstack/openstack-helm master: Dev-Deploy: setup gateway to use default route device  https://review.openstack.org/53014501:31
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748901:39
openstackgerritPete Birley proposed openstack/openstack-helm master: Dev-Deploy: Deploy Nova with native kvm when possible  https://review.openstack.org/53014401:46
*** ljjjustin has joined #openstack-helm01:55
*** adrianreza has joined #openstack-helm02:01
*** yamamoto has joined #openstack-helm02:07
*** XueFeng has quit IRC02:08
*** XueFeng has joined #openstack-helm02:08
*** XueFeng has quit IRC02:35
*** XueFeng has joined #openstack-helm02:35
*** XueFeng has quit IRC03:07
*** XueFeng has joined #openstack-helm03:07
*** yamamoto has quit IRC03:31
*** XueFeng has quit IRC03:49
*** XueFeng has joined #openstack-helm03:49
*** mdih has joined #openstack-helm04:00
*** yamamoto has joined #openstack-helm04:08
*** XueFeng has quit IRC04:10
*** XueFeng has joined #openstack-helm04:10
*** yamamoto has quit IRC04:33
*** yamamoto has joined #openstack-helm04:34
*** mdih has quit IRC04:39
*** yamamoto has quit IRC04:40
*** XueFeng has quit IRC04:55
*** XueFeng has joined #openstack-helm04:55
*** mdih has joined #openstack-helm04:56
*** mdih has quit IRC05:01
*** yamamoto has joined #openstack-helm05:08
*** yamamoto has joined #openstack-helm05:10
*** marst has joined #openstack-helm06:07
*** marst has quit IRC06:12
*** adrianreza has quit IRC06:32
*** krypto has joined #openstack-helm07:22
*** krypto has quit IRC07:24
*** krypto has joined #openstack-helm07:24
*** krypto has quit IRC07:36
*** yamamoto has quit IRC08:02
*** yamamoto has joined #openstack-helm09:02
*** yamamoto has quit IRC09:09
*** yamamoto has joined #openstack-helm09:54
*** ljjjustin has quit IRC10:09
*** yamamoto has quit IRC10:18
osh-chatbot4<abhishekjaiswal> help needed,  keystone stucked,10:52
osh-chatbot4<abhishekjaiswal> Initialized False - an hour ContainersNotInitialized containers with incomplete status: [init] Ready False - an hour ContainersNotReady containers with unready status: [keystone-api] PodScheduled True - an hour - -10:52
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8KHPGNTC/screen_shot_2017-12-27_at_4.22.40_pm.png / https://slack-files.com/T09NY5SBT-F8KHPGNTC-c5148900af10:54
osh-chatbot4<abhishekjaiswal> env: minikube10:55
*** yamamoto has joined #openstack-helm11:05
*** yamamoto has quit IRC11:09
*** yamamoto has joined #openstack-helm11:11
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8KN0Q2TF/-.txt / https://slack-files.com/T09NY5SBT-F8KN0Q2TF-8f85ca3e2a11:16
*** yamamoto has quit IRC11:30
*** yamamoto has joined #openstack-helm11:34
*** yamamoto has quit IRC11:51
*** yamamoto has joined #openstack-helm12:13
*** MarkBaker has joined #openstack-helm12:17
*** MarkBaker has quit IRC12:33
openstackgerritMatt McEuen proposed openstack/openstack-helm master: [WIP] Add Swift Chart  https://review.openstack.org/50878013:05
openstackgerritMatt McEuen proposed openstack/openstack-helm master: Fixed ceph mon resource definition  https://review.openstack.org/53021713:12
osh-chatbot4<abhishekjaiswal> can anyone help on mariadb is not coming up , deploying in minikube environment13:19
osh-chatbot4<abhishekjaiswal> WSREP: Failed to resolve tcp://mariadb-1.mariadb-discovery:456713:19
*** yangyapeng has quit IRC13:37
*** mdih has joined #openstack-helm13:49
*** mdih has quit IRC13:57
*** yangyapeng has joined #openstack-helm14:05
mattmceuenabhishekjaiswal, are all your your mariadb and ceph pods running and healthy? Can you share output of `kubectl get pods --all-namespaces` ?14:28
*** yamamoto_ has joined #openstack-helm14:43
*** yamamoto has quit IRC14:47
portdirectusing ceph in minikube probably wont work14:51
portdirectin addition to the command mattmceuen suggested could you ssh into the minikube vm, and see if the ceph rbd kernel module is available14:52
portdirectif its not - then we can talk through running with a local volume, or nfs for mariadb :)14:53
*** yangyapeng has quit IRC15:00
*** yangyapeng has joined #openstack-helm15:00
osh-chatbot4<abhishekjaiswal> @portdirect can you provide me steps to start a local volume for mariadb15:10
portdirectsure15:10
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8K0CTGKA/-.txt / https://slack-files.com/T09NY5SBT-F8K0CTGKA-032e8a5c7c15:10
osh-chatbot4<abhishekjaiswal> @portdirect even mass is not coming up15:12
osh-chatbot4<portdirect> can you run `helm ls`?15:12
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8KPZUA93/-.txt / https://slack-files.com/T09NY5SBT-F8KPZUA93-ab2a89a31515:13
osh-chatbot4<portdirect> did you label the nodes?15:13
osh-chatbot4<abhishekjaiswal> yes15:14
osh-chatbot4<portdirect> anyway - so can you remove the mairadb deployment: `helm delete --purge mariadb`15:14
osh-chatbot4<portdirect> and then deploy as follows:15:16
osh-chatbot4<portdirect> ``` helm install ./mariadb \     --namespace=ucp \     --name=mariadb \     --set pod.replicas.server=1 \     --set volume.enabled=false ```15:16
osh-chatbot4<portdirect> which should get you a db up with a non-persistant backend15:17
osh-chatbot4<abhishekjaiswal> why this new namespace will this not work with openstack  namepsce15:18
osh-chatbot4<abhishekjaiswal> @portdirect can you help me with maas and drydock15:21
mattmceuendo the maas logs have any telltale errors?15:22
osh-chatbot4<abhishekjaiswal> Failed to pull image "quay.io/attcomdev/maas-cache:master": rpc error: code = Unknown desc = Error response from daemon: unauthorized: access to the requested resource is not authorized Error syncing podError syncing pod15:24
osh-chatbot4<abhishekjaiswal> maas-region-o15:24
osh-chatbot4<abhishekjaiswal> i build that maas image on my host machine, and then did make charts15:25
*** marst has joined #openstack-helm15:31
osh-chatbot4<abhishekjaiswal> Failed to pull image "quay.io/attcomdev/maas-cache:master": rpc error: code = Unknown desc = Error response from daemon: unauthorized: access to the requested resource is not authorized Error syncing podError syncing pod15:31
osh-chatbot4<abhishekjaiswal> keystone bootstrap and keystone api stuck on PODINIT15:44
osh-chatbot4<abhishekjaiswal> any help15:44
osh-chatbot4<abhishekjaiswal> '"keystone-api" in pod "keystone-api-74c774d448-c4nsg" is waiting to start: PodInitializing'15:46
mattmceuenI've never installed the maas chart, so I'm not an expert - I've sent your error to sthussey in case he's seen it before15:47
osh-chatbot4<abhishekjaiswal> @mattmceuen no i am talking about keystone15:48
osh-chatbot4<abhishekjaiswal> i am trying to install keystone chart15:48
mattmceuenwhat do you see with `kubectl -n openstack describe pod keystone-api-74c774d448-c4nsg` ?15:49
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8K0TE0MN/-.txt / https://slack-files.com/T09NY5SBT-F8K0TE0MN-f26d97406215:50
osh-chatbot4<abhishekjaiswal> started container15:50
mattmceuenRe: mariadb -- it looks like above you installed it in the `ucp` namespace for UCP purposes, have you also installed a copy in `openstack` namespace for OpenStack purposes?15:51
osh-chatbot4<abhishekjaiswal> no i have mariadb in openstack namespace15:51
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8LN2PXTR/-.txt / https://slack-files.com/T09NY5SBT-F8LN2PXTR-1157b75e9015:52
mattmceuenplease share the full output of the kubectl above, as well as `kubectl get pods --all-namespaces`15:52
osh-chatbot4<abhishekjaiswal> output of `helm ls --all`15:52
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8K4ZFF25/-.txt / https://slack-files.com/T09NY5SBT-F8K4ZFF25-bb3604b4f015:53
osh-chatbot4<abhishekjaiswal> so mariadb is in openstack15:54
mattmceuenand `kubectl -n openstack describe pod keystone-bootstrap-dds67`15:55
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8KQFA5TP/-.txt / https://slack-files.com/T09NY5SBT-F8KQFA5TP-e4e51c621815:55
osh-chatbot4<abhishekjaiswal> ` Normal  Started                15m   kubelet, minikube  Started container`15:56
osh-chatbot4<mattmceuen> The text above is truncated - can you grab the whole output?15:56
osh-chatbot4<abhishekjaiswal> File uploaded https://kubernetes.slack.com/files/U6CG24GSK/F8K50TGMP/-.txt / https://slack-files.com/T09NY5SBT-F8K50TGMP-5b30c40b9315:56
osh-chatbot4<abhishekjaiswal> i have not installeed ceph and my environment is minikube,15:58
osh-chatbot4<abhishekjaiswal> will i have to pass `volume.enabled=false`15:58
srwilkersfor any container that's in an init state, you can get the logs of the init container with `kubectl logs <pod name> -n <namespace> -c <init>`15:59
srwilkersi dont see memcached in the list of the pods you have running, and memcached is one of the dependencies the keystone chart will wait for before entrypoint marks it as ready to proceed16:00
srwilkershttps://github.com/openstack/openstack-helm/blob/master/keystone/values.yaml#L74-L7516:00
*** yamamoto_ has quit IRC16:00
osh-chatbot4<abhishekjaiswal> @srwilkers what should i pass with `<init>`16:02
srwilkersstrike the angulars -- just do `-c init`16:02
osh-chatbot4<abhishekjaiswal> and will it not resolved it dependency for memcache16:02
osh-chatbot4<abhishekjaiswal> it says Resolving dependency Service memcached in namespace openstack failed: endpoints "memcached" not found16:03
srwilkersright16:04
srwilkersso, you'll need to install the memcache chart16:04
srwilkersas kubernetes entrypoint will not complete until it verifies there's an endpoint that can be resolved for the services defined as dependencies for a given chart (keystone in this case)16:04
osh-chatbot4<mattmceuen> abhishekjaiswal - for getting the dependencies right, I suggest walking through the dev install guide - https://docs.openstack.org/openstack-helm/latest/install/developer/all-in-one.html Sine you're using minikube rather than the recommended kubeadm, there will be some differences (like the need to avoid persistent mariadb that you discovered)16:06
*** yamamoto has joined #openstack-helm16:07
osh-chatbot4<abhishekjaiswal> @srwilkers thanks after memcache it came up16:10
srwilkersno problem -- happy to help16:10
*** yamamoto has quit IRC16:12
*** yamamoto has joined #openstack-helm16:22
*** yamamoto has quit IRC16:27
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748916:31
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748916:35
openstackgerritElise Eiden proposed openstack/openstack-helm master: [WIP] Add Tempest Chart  https://review.openstack.org/49892916:58
*** yamamoto has joined #openstack-helm17:07
*** yamamoto has quit IRC17:12
*** yamamoto has joined #openstack-helm17:22
*** mwynne has joined #openstack-helm18:06
mwynneHi guys. I'm following the AIO guide, and I'm wondering if the IP addresses in the "Depoloy Ceph" section "--set network.public=172.17.0.1/16" etc, need to be modified to match my IP address?18:08
openstackgerritMerged openstack/openstack-helm-infra master: Add prometheus annotations to calico-nodes for felix metrics  https://review.openstack.org/53012918:14
*** yamamoto has joined #openstack-helm18:22
d|k@mynne yep.  ceph uses host networking, so you'll want to pick a network on some attached interface.18:24
d|kooops, misdirected that.  @mwynne: yep, and because ceph uses host networking, you'll want to pick a net on some attached interface.18:25
d|k@mwynne also: you probably want to use the same network for OSD_CLUSTER_NETWORK and OSD_PUBLIC_NETWORK unless you've got a strong reason not to.18:26
*** yamamoto has quit IRC18:28
mwynned|k: Ok, sounds good. Thanks :)18:29
mwynned|k: If I used a wrong IP can I just fix it and re-run the scripts? Or will I need to start from scratch?18:30
d|kyou SHOULD be fine doing a helm delete --purge and then a reinstall.18:30
mwynned|k: Cool, thanks.18:31
d|kthat's worked for me when i've botched precisely that configuration (though in my case it was because they were empty; can't imagine that'd be a significant difference.)18:32
mwynned|k: What's the "release" I want to delete?18:32
mwynneAll of them I'm assuming?18:32
mwynneEverything from `helm list`?18:32
d|kif you've already tried to install mariadb and the rest of openstack, you'll _probably_ want to delete those guys18:33
d|kbut at a minimum, you'll need to delete ceph18:33
mwynned|k: Or, actually, just everything from ceph and after?18:33
mwynneyeah18:33
mwynnesounds good18:33
d|kwhat you said18:33
mwynnemariadb failed18:33
mwynneSo, yeah..18:33
mwynneThanks18:33
d|kyeah, i'd expect that.  mariadb uses ceph-backed PVCs for the database, and it'll be profoundly unhappy if ceph isn't functional.18:34
mwynned|k: Does that IP/network need to be public?18:41
d|knope, only the participants in the ceph cluster need to talk to it.18:51
d|kso it should work just fine to, for example, use a privately-addressed subinterface.18:51
d|kbut even if only a subset of your hosts will be running ceph, you DO need to ensure that anything that runs a pod that might USE ceph can reach that net.18:52
mwynned|k: But.... But why is it called public :S haha18:52
d|kbleah, accident of history18:52
d|kit is possible to separate them so that, in particular, the heavier-IO traffic can be hived off to a different network.18:53
mwynneSo It should be safe to just use my only NIC's IP?18:54
d|kyep!18:54
mwynneThis is mostly just a test AIO deployment so I can get familiar with it. (As suggested here)18:54
d|kmakes sense.  if you're not overly worried about performance or security, i don't think there should really be a material difference between using the same interface for everything.18:56
d|k... and using a dedicated ceph interface.18:56
mwynned|k: wait. I need a dedicated ceph interface?18:58
d|knonono, sorry.18:59
d|ki just meant to append that to the previous statement: there shouldn't be a material difference between using a shared and separate interface.19:00
mwynneAh, ok.19:01
mwynned|k: Do I need a seperate subnet for OSH_BR_EX_ADDR and OSH_EXT_SUBNET?19:02
mwynned|k: The example uses 172.24.4.0/24 which isn't referenced anywhere else afaik19:05
d|ki shouldn't think so.  if you've got one interface on your boxes facing out toward the internet, that's the net you should use for anything that needs a native address, i think.19:06
mwynnehmm, ok.19:07
d|kobviously, your CNI pod and service networks likely want to be different from that, though.19:07
d|kwell, hm, actually:19:07
d|kthe br_ex addr you're going to need to be careful with if you've only got one interface.19:08
mwynned|k: Ok, well I have more interfaces.19:08
d|kjust as in a native openstack deployment, when you drop that interface into br_ex, it'll fall off the net, at least until the address is added to the bridge.19:08
mwynneOk, so I have an interface that I can use as my provider network.19:09
d|kprobably sensible to keep that separate.  it'd _work_ to have them all on the same interface, but it'd probably take some planning to make sure that bringing up br_ex didn't break the rest of your net.19:10
mwynneOk It would be nice if this documentation specified a min number of NICs etc like other deployment guides typically do19:12
*** bryan_att has quit IRC19:12
*** zioproto has quit IRC19:12
*** srwilkers has quit IRC19:12
*** v1k0d3n has quit IRC19:12
*** larainema has quit IRC19:12
*** jayahn has quit IRC19:13
*** srwilkers_ has quit IRC19:13
*** alanmeadows has quit IRC19:13
*** powerds0111 has quit IRC19:13
*** hogepodge has quit IRC19:13
*** portdirect has quit IRC19:13
*** cargonza has quit IRC19:14
*** aimeeu has quit IRC19:14
*** kong has quit IRC19:14
*** rwellum has quit IRC19:14
*** wxy has quit IRC19:14
*** serverascode has quit IRC19:14
*** mattmceuen has quit IRC19:14
d|kfair point.  i do think the "min number" _is_ actually 1, but it likely is a lot cleaner and easier to use at least two.19:15
mwynned|k: Yeah. Or, since it's an AIO guide, just decide on a min for the guide, and stick to it.19:15
d|k... and don't rely on what i say about this overmuch: while i've deployed OSH a mess of times, i'm not the expert other folks are.19:16
mwynneSomething like that is nice, and would mean people like me wouldn't have to come in here and bother you all...19:16
*** andreaf has quit IRC19:16
d|kbut then who would we TALK to?19:18
*** andreaf has joined #openstack-helm19:18
mwynnehaha fair enough19:19
mwynneAs long as you're happy to have to answer these questions, then I'm fine haha19:19
*** yamamoto has joined #openstack-helm19:24
*** yamamoto has quit IRC19:29
mwynned|k: ingress-api and ingress-error-pages now have IPs on different subnets...19:39
*** jayahn has joined #openstack-helm19:39
*** alanmeadows has joined #openstack-helm19:39
*** ChanServ sets mode: +o alanmeadows19:39
*** srwilkers has joined #openstack-helm19:39
mwynneapi is using the docker0 bridge ip "172.17.0.1"19:39
mwynneAnd mariadb isn't coming up... 0/1 ready19:40
*** kong has joined #openstack-helm19:40
*** bryan_att has joined #openstack-helm19:42
*** serverascode has joined #openstack-helm19:42
*** wxy has joined #openstack-helm19:43
*** cargonza has joined #openstack-helm19:43
*** aimeeu has joined #openstack-helm19:43
*** hogepodge has joined #openstack-helm19:53
*** zioproto has joined #openstack-helm19:53
*** v1k0d3n has joined #openstack-helm19:53
*** ChanServ sets mode: +o v1k0d3n19:53
*** srwilkers_ has joined #openstack-helm19:54
mwynned|k: Do you know if the pod_subnet needs to be the same as a subnet I have configured on my host?19:59
d|kmwynne: i'm a lot less familiar with the AIO case than the multinode case, but at least in the latter, the pod subnet is typically distinct from any net attached to the host -- a truly private network for the pods.20:06
*** portdirect has joined #openstack-helm20:15
*** ChanServ sets mode: +o portdirect20:15
*** yamamoto has joined #openstack-helm20:25
*** yamamoto has quit IRC20:30
openstackgerritMerged openstack/openstack-helm master: Fixed ceph mon resource definition  https://review.openstack.org/53021720:36
openstackgerritPete Birley proposed openstack/openstack-helm master: Dev-Deploy: Setup iptables for use with docker >= 1.13.1  https://review.openstack.org/53026220:48
*** rwellum has joined #openstack-helm21:02
openstackgerritPete Birley proposed openstack/openstack-helm master: Dev-Deploy: Setup iptables for use with docker >= 1.13.1  https://review.openstack.org/53026221:14
openstackgerritMerged openstack/openstack-helm master: Dev-Deploy: Deploy Nova with native kvm when possible  https://review.openstack.org/53014421:18
*** powerds0111 has joined #openstack-helm21:25
*** larainema has joined #openstack-helm21:26
*** yamamoto has joined #openstack-helm21:27
openstackgerritMerged openstack/openstack-helm-infra master: Flannel: Fix RBAC definitions  https://review.openstack.org/53013221:28
openstackgerritMerged openstack/openstack-helm-infra master: Move kibana to OSH infra  https://review.openstack.org/52906821:28
*** mattmceuen has joined #openstack-helm21:30
mwynned|k: Sounds good, thanks.21:30
mwynneThat's what I assumed21:30
*** yamamoto has quit IRC21:32
mwynned|k: How can I debug a pod that isn't coming up?21:33
mwynneI'm just following the AIO guide but it's not coming up for me.21:33
mwynneI've increased the timeout but it's been a long time, and nothing's happening.21:34
mwynned|k: No logs or anything either that I can find...21:40
mwynneportdirect: Are you around at all?21:55
portdirectmwynne: o/21:56
mwynneHowdy. I'm looking into the AIO deployment we talked about last week I think.21:57
mwynneYou said I could just spin up a 16.04 VM and run the scripts essentially.21:57
mwynne`mariadb-0                              0/1       Running   1          1h        192.168.98.210   controller-9`21:57
portdirectshould be able to for a single node21:57
mwynneThis pod won't come up to save my life21:57
mwynneAny ideas?21:58
portdirectcan you do a `kubectl describe -n openstack pods mariadb-0`21:58
mwynne Warning  Unhealthy  1m (x146 over 1h)  kubelet, controller-9  Readiness probe failed: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)21:58
mwynneCould not SELECT 121:58
portdirecthmm21:59
portdirectlets clean up and try again21:59
portdirectcan you `helm delete --purge mariadb`21:59
portdirectthen we will clean up the pv and pvc21:59
mwynneportdirect: Ok, it's deleted22:00
portdirect`kubectl delete -n openstack pvc mysql-data-mariadb-0`22:00
mwynneportdirect: Done22:00
portdirectcool can you check to see if `kubectl get pv` returns anything22:00
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move fluentbit and fluentd configs to values.yaml  https://review.openstack.org/52748922:00
portdirectif it does delete the `pv`22:01
mwynneOne entry22:01
mwynnewant to see it?22:01
mwynnehttp://paste.openstack.org/show/632595/22:01
portdirectnice, lets remove it22:01
portdirect`kubectl delete pv pvc-ad0abc9e-eb45-11e7-ad57-fa163e853c77`22:02
mwynneError from server (NotFound): persistentvolumes "pvc-ad0abc9e-eb45-11e7-ad57-fa163e853c77" not found22:02
mwynneBut now, get pv returns `no resources found`22:02
mwynneWhich is good, I'm assuming?22:02
portdirectodd - but lets take a win when we can :)22:03
mwynneportdirect: What's next? Running 06-mariadb.sh?22:04
portdirectso lets try again - https://docs.openstack.org/openstack-helm/latest/install/developer/all-in-one.html#deploy-mariadb22:04
portdirectyes22:04
portdirectit should take about 5 mins for the db to come up22:04
mwynneOk, it's running now.22:05
mwynneAnything I can do to monitor it?22:05
portdirectif you open another terminal i usually have `watch kubectl get --all-namespaces pods` running to keep an eye on things22:05
mwynnePerfect, thanks.22:06
portdirectand once its running `kubectl logs -n openstack -f mariadb-0` should tail the logs22:07
portdirectfor reference this is what my mairadb logs look like: http://paste.openstack.org/show/632596/22:08
portdirectit so happens I'm literally at the point of deploying it in a new env :D22:08
mwynne[Warning] Access denied for user 'root'@'localhost' (using password: YES)22:09
mwynneStarted watching the logs and got that ^22:09
mwynneportdirect: And I just get that over and over now22:11
portdirect:(22:11
portdirectwhat is the spec of your vm?22:11
mwynne16GB ram, 8 cpus22:12
mwynne80 gig drive22:12
portdirectcould you paste the full output from the mariadb pod?22:14
mwynneyou want the output of `kubectl logs -n openstack -f mariadb-0`?22:15
portdirectyup22:15
mwynneI just killed it before you asked, it's re-building now...22:16
portdirectdid you clean up the pv?22:17
mwynneyeah22:17
portdirectcool22:17
mwynnefollowed your steps from before22:17
mwynne:)22:17
portdirectand just to double check, your working from master?22:17
mwynneI've literally just followed the steps from that guide22:18
mwynneso, yeah.22:18
mwynneYour branch is up-to-date with 'origin/master'.22:18
openstackgerritPete Birley proposed openstack/openstack-helm master: WIP: Ceph: update dependency logic to be more strict  https://review.openstack.org/53026622:20
mwynneportdirect: I should be working from master?22:22
mwynneportdirect: It's going again. If if fails I'll get you the logs.22:24
portdirectmwynne: yeah - master is gated, so should (oh no - you know I just jinxed it) always work22:24
mwynneportdirect: http://paste.openstack.org/show/632602/22:25
mwynneNo dice :(22:25
portdirectmwynne - thats super weird22:27
portdirectthats the full log?22:27
portdirecthttps://www.irccloud.com/pastebin/eGaXlunc/22:27
portdirect^^ even on restart I'd expect to see the following lines :/22:28
mwynnehmm22:28
mwynnelet me check22:28
*** yamamoto has joined #openstack-helm22:29
mwynneThere's more :)22:30
mwynneOne sec22:30
mwynneportdirect: http://paste.openstack.org/show/632603/22:31
openstackgerritPete Birley proposed openstack/openstack-helm master: WIP: Ceph: update dependency logic to be more strict  https://review.openstack.org/53026622:34
*** yamamoto has quit IRC22:35
mwynneportdirect: Any ideas?22:36
portdirectmwynne: for some reason it looks like its reusing the same pv - and removing it it having no joy :/22:36
mwynneportdirect: I've also started from scratch several times22:37
mwynneAll resulting in the same thing22:37
mwynne(starting from scratch == new vm each time)22:37
portdirectok - lets use a horrible hack to get you through this stage22:37
portdirectclean up again22:37
portdirectand this time use the following to launch mariadb22:38
portdirecthttps://www.irccloud.com/pastebin/EFxkggUz/22:39
portdirectthis will just use a dir that lasts the lifespan of the pod, rather than ceph to back the db22:39
mwynneOk, that's running now.22:42
mwynneportdirect: same thing22:43
mwynneaccess denied for root22:43
portdirectmwynne: I must confess I'm pretty confused now22:44
portdirectcould you  paste the full output from `kubectl describe pod -n openstack mariadb-0`22:47
portdirectthough at this stage I'm pretty stumped22:47
mwynneportdirect: http://paste.openstack.org/show/632605/22:48
portdirectjust to sanity check myself, did you change to root password or any other value in the values.yaml?22:51
mwynneportdirect: Nope22:53
mwynneportdirect: It looks like that password might not be getting changed to root|password22:57
mwynneif that's what's supposed to be happening22:57
portdirectmwynne: as a last ditch attempt could you up the value of this: https://github.com/openstack/openstack-helm/blob/master/mariadb/templates/statefulset.yaml#L74 to 30023:05
mwynneportdirect: Ok. Deleting and trying again..23:08
mwynneportdirect: There isn't anything else I need to do that isn't documented in that page, is there?23:08
mwynnethe AIO page23:08
portdirectif that doesnt work I'm really out of ideas :/23:08
portdirectthere should not be23:08
*** marst has quit IRC23:08
portdirectits based of this: https://github.com/portdirect/sydney-workshop23:09
portdirectwhich I used in sydney to get people up and running on 110 r3.xlarge vms on ec2 that were provisioned using this cloud-init script: https://github.com/portdirect/sydney-workshop/blob/master/provision/cloud-init.sh23:10
mwynneOk, looks reasonable.23:11
mwynnerunning with the increased timeout now.. let's see :S23:16
mwynneportdirect: If I use `mysql_secure_installation` to change the root password to 'password', I can run /tmp/readiness.sh successfully. Otherwise it fails...23:23
anticwmwynne: wading is late here sorry, so forgive me if i ask stupid questions23:25
portdirecteven with that timeout increased?23:25
anticwmwynne: pvc/pv working as expected?23:25
mwynnewith timeout: yes23:25
portdirectanticw: it was, but I suggested disabling it to rule that out.23:25
anticwwould need a 'general' sc then23:25
anticwmwynne: `kubectl get pv` looks ok?23:26
mwynneIt came up this time.23:27
mwynneIt's running...23:27
mwynnefinally23:27
anticwis it possible this system is very slow?23:27
anticwlike a laptop or something?23:27
mwynneanticw: *sigh*... who knows. Possible.23:27
mwynneIt's running in a VM in an openstack stack23:28
mwynnewith some good compute nodes23:28
mwynneMight be busy now though23:28
mwynneI'll have to check on it. That's very possible though. Not running on a laptop though :)23:28
anticwsome of this causes a lot of 'seeky synchronious' io23:29
portdirectfrom looking at your logs, I think you may be starved for iops...23:29
anticwwhich really grinds hard if you have rotating disks and is sometimes worse with raid23:29
portdirecthence why increasing the readiness from 60s to 300, and removing ceph got you going.23:30
mwynneportdirect: I meant to ask about the Neutron part: OSH_BR_EX_ADDR="172.24.4.1/24"... can that be an ip address that would be on the same subnet as the interface that br-ex connects to?23:30
mwynneAh, ok. That would make sense. We have spinners + raid23:30
mwynneGreat...23:30
*** yamamoto has joined #openstack-helm23:30
portdirectmwynne: yep23:31
anticwmwynne: what happens if that db operations tend to be small and synchronous ... which means (in some not all) cases you have really expensive RMW operations23:32
mwynneportdirect: Where do I set which nic connects to br-ex? I have 3 nics on this VM.23:32
portdirectthe guide is written assuming the use of the standard docker0 iface ip to simplify network setup, and this heat template for your external network: https://github.com/openstack/openstack-helm/blob/master/tools/gate/files/heat-public-net-deployment.yaml23:32
mwynneanticw: Good to know. Thanks :)23:32
portdirectit does not assume that you'll setup a provider network, but just nats from br-ex to the outside world23:33
mwynneAhh, ok.23:33
mwynneSo does it matter which IP I give br-ex then?23:33
openstackgerritTin Lam proposed openstack/openstack-helm master: Retrigger the doc publish job  https://review.openstack.org/53027023:34
anticwfwiw i don't run using docker0 most of the tiem23:34
anticwtime23:34
portdirectyou can change it to whatever you like, provided you update this accordingly as well: https://github.com/openstack/openstack-helm/blob/master/tools/deployment/developer/19-use-it.sh#L22-L2323:34
anticwi set network.interface.external to the physical interface that will be used by libvirt bridges23:35
*** yamamoto has quit IRC23:37
mwynneThanks for the help guys. I appreciate it.23:39
mwynneKeystone's failing now too haha23:40
mwynneProbably for similar reasons as mysql23:40
anticwdb error?23:40
anticwin some (not all) cases those will restart and come right23:40
anticwdb-sync?23:40
mwynne(2003, "Can't connect to MySQL server on 'mariadb.openstack.svc.cluster.local' ([Errno 111] Connection refused)")23:41
anticwcheck mariadb-0 pod23:41
anticwdescribe ... did it get restarted or glitch?23:41
mwynnedoesn't look like it23:42
mwynnebut I can't connect to it in the docker container either23:42
anticwdocker ps doesn't see it?23:44
mwynneI can connect to it with docker exec23:45
mwynneroot@mariadb-0:/# mysql23:45
mwynneERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (111 "Connection refused")23:45
mwynneThat wasn't failing a while ago23:45
anticwdmesg|tail -2023:47
anticwmake sure that doesn't look bad23:47
anticwif it looks iffy maybe pastebin all dmesg somewhere, check for OOM23:47
mwynneanticw: in the container?23:48
mwynneor host23:48
anticwhost23:48
mwynneaufs au_opts_verify:1597:dockerd[13458]: dirperm1 breaks the protection by the permission bits on the lower branch23:48
mwynneLots of those23:48
anticwnothing else?23:49
anticwthose are 'normal' (for some irritating definition of normal)23:49
anticwi'm guessing you have ub 1604 host(s) ?23:49
mwynne1604 yeah23:51
mwynnenothing else23:51
mwynneanticw: http://paste.openstack.org/show/632613/23:52
mwynnein syslog23:52
anticw"Stat fs failed. Error: no such file or directory" isn't something i've seen before23:54
anticwno storage weirdness?  nothing got unmounted or wrecked?23:54
*** openstackgerrit has quit IRC23:54
mwynnenot from what I can tell23:55
anticwkubeget get pods works?23:55
anticwgut docker ps doesn't?23:55
anticwerr, kubectl ... whatever, i dumb you have to translate from idiot to real sorry sometimes23:56
mwynnethey both work23:56
mwynneI can get to the container23:56
mwynnehttp://paste.openstack.org/show/632616/23:56
mwynneThis is running in the container for some reason...23:56
mwynnemysql logs are empty in the container23:59
anticwyou can't connect to db?23:59
anticwstill?23:59

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