Saturday, 2017-10-14

*** yamamoto has joined #openstack-helm03:07
*** yamamoto has quit IRC03:17
*** yamamoto has joined #openstack-helm03:20
*** hachi_ has joined #openstack-helm04:26
*** yamamoto has quit IRC04:37
*** gouthamr has joined #openstack-helm04:44
*** gouthamr has quit IRC04:44
*** gouthamr has joined #openstack-helm04:45
*** hachi_ has quit IRC05:32
*** yamamoto has joined #openstack-helm05:37
*** yamamoto has quit IRC05:46
*** gouthamr has quit IRC05:51
openstackgerritMerged openstack/openstack-helm master: openvswitch: wait for ovs socket readiness  https://review.openstack.org/51197606:10
*** Sean-md has joined #openstack-helm08:02
Sean-mdHi all, I followed the multinode installation guide (http://openstack-helm.readthedocs.io/en/latest/install/multinode.html)08:25
Sean-mdbut, I can't deploy ceph using "helm install..."08:26
Sean-mdSome Pods got errors like this "MountVolume.SetUp failed for volume "ceph-bootstrap-rgw-keyring" : secrets "ceph-bootstrap-rgw-keyring" not found"08:26
Sean-mdFull logs is "http://paste.openstack.org/show/623614/"08:26
Sean-mdDo I need preparation for ceph? like this "https://docs.openstack.org/kolla-ansible/latest/reference/ceph-guide.html#preparation"08:33
Sean-mdFor example, adding a additional disk, labeling to the disk... and so on08:36
Sean-mdI labeled nodes like this08:42
Sean-mdkubectl label node helm00 openstack-control-plane=enabled, kubectl label node helm01 openstack-compute-node=enabled, kubectl label node helm02 openvswitch=enabled, kubectl label node helm03 ceph-mon=enabled, kubectl label node helm04 ceph-osd=enabled, kubectl label node helm05 ceph-mds=enabled, kubectl label node helm06 ceph-rgw=enabled08:43
*** yamamoto has joined #openstack-helm11:24
*** yamamoto has quit IRC11:32
*** yamamoto has joined #openstack-helm12:32
*** yamamoto has quit IRC12:41
*** yamamoto has joined #openstack-helm13:44
*** gouthamr has joined #openstack-helm13:57
mattmceuenHey @Sean-md , can you try `kubectl -n ceph get secrets`, and also describe any that seem to be having issues?14:18
*** yamamoto has quit IRC14:26
*** yamamoto has joined #openstack-helm14:26
*** yamamoto has joined #openstack-helm15:28
*** yamamoto has quit IRC15:38
anticwSean-md: or: kubectl get secrets --all-namespaces | grep ceph15:56
anticwin the off chance they ended up somewhere else15:56
*** Sean-mdt has joined #openstack-helm15:56
portdirectcould you run kubectl describe on ceph-mds-keyring-generator-gjl5915:58
portdirectdid you run: kubectl label nodes openstack-control-plane=enabled --all ?15:59
portdirectlooks like the reason the keys cannot be found is that they have not been generated16:00
Sean-mdtmattmceuen, the result is http://paste.openstack.org/show/623632/16:17
Sean-mdtI don't know if there is a problem or not..16:18
Sean-mdtanticw, result is same as "kubectl -n ceph get secrets"16:18
Sean-mdtportdirect, I can't enter the pod using "kubectl exec..." because a main container doesn't run.16:18
portdirectSean-mdt: you shouldnt need to exec into the container16:19
Sean-mdtI labeled to each node, not to all, like this.."kubectl label node helm00 openstack-control-plane=enabled"16:19
portdirectbut can you run `kubectl describe -n ceph ceph-mds-keyring-generator-gjl59`16:19
portdirectit being stuck in pending means that the secrets have never been generated16:20
Sean-mdtok let me check..16:20
Sean-mdtWarning  FailedScheduling  1s (x1252 over 6h)  default-scheduler  No nodes are available that match all of the following predicates:: MatchNodeSelector (6), PodToleratesNodeTaints (1).16:22
portdirecthow many nodes do you have?16:23
Sean-mdthttp://paste.openstack.org/show/623634/16:23
Sean-mdt616:24
portdirectcan you dump `kubectl describe nodes` into a paste16:24
Sean-mdthold on please...16:26
Sean-mdthttp://paste.openstack.org/show/623635/16:30
Sean-mdtsorry it's 7 not 616:30
portdirectah - so only k8s master has openstack-control-plane applied16:32
portdirectdo you mind hosting pods on that node?16:32
Sean-mdtmy labels16:32
Sean-mdthttp://paste.openstack.org/show/623636/16:32
*** lukepatrick has joined #openstack-helm16:32
portdirectcan you run `kubectl taint nodes --all node-role.kubernetes.io/master-`16:33
Sean-mdtYes wait please..16:34
portdirectyou have `Taints:             node-role.kubernetes.io/master:NoSchedule`16:34
portdirecton the node that you are trying to run the jobs on16:34
portdirectso if we remove this they should be able to come up16:35
portdirectregarding the other labels - are you sure thats what you want?16:35
Sean-mdtI see,16:36
portdirectfor nova/neutron to work, you will need to have openvswitch enabled on helm0116:36
Sean-mdtThank you so much..16:36
portdirectand you probably want more than a single osd16:36
portdirectthat work?16:36
Sean-mdtyes I want multi osd16:37
Sean-mdtyou mean I shouldn't run any pods on master except for kube-system pods16:38
portdirectthats up to you16:38
portdirecti do it the whole time - but it depends on your setup and needs16:39
Sean-mdtI understood16:39
portdirecthonestly if your just kicking the tyres -id recommend labeling all the nodes like in the multinode guide16:40
portdirectbut if not you may find somthing like this works for you16:41
portdirecthttps://www.irccloud.com/pastebin/PXfam8Qd/16:41
portdirectlol - 2 sec16:41
portdirecthttps://www.irccloud.com/pastebin/C964GqNU/16:41
portdirectwhich would make nodes 0 and 6 run the control plane, 3,4,5 run ceph leaving 1 & 2 to be compute hosts16:42
Sean-mdtThank you, I will re-label nodes as you recommend16:45
portdirectjust a suggestion ;)16:45
portdirectbut did removing that taint work for you?16:45
Sean-mdtpending pods disappear, but the rest pods remain "init"16:48
Sean-mdt  Warning  FailedMount  10m (x185 over 6h)  kubelet, helm03  Unable to mount volumes for pod "ceph-mon-1dvn5_ceph(16710e29-b0c7-11e7-9dca-5254009a2265)": timeout expired waiting for volumes to attach/mount for pod "ceph"/"ceph-mon-1dvn5". list of unattached/unmounted volumes=[ceph-client-admin-keyring ceph-mon-keyring ceph-bootstrap-osd-keyring ceph-bootstrap-mds-keyring ceph-bootstrap-rgw-keyring]16:48
Sean-mdtshould I reinstall using helm?16:49
portdirectgive it some time16:49
portdirectthey will have backed off loads over the last 6 hours16:49
Sean-mdtok, Thanks :)16:49
portdirectI'd wait 10 minutes and see what things look like then16:50
portdirectI'll still be around16:50
Sean-mdtI see..16:50
Sean-mdtcan I designate a specific hdd as an osd?16:52
portdirectnot yet16:52
portdirectbut very soon :)16:52
Sean-mdtI hope.. :)16:53
portdirectrenmak on here is doing great work along with davekorman on that right now16:54
Sean-mdtI am grateful to all of you16:56
openstackgerritPete Birley proposed openstack/openstack-helm master: Bash: remove tabs in openvswitch script  https://review.openstack.org/51202816:59
*** gouthamr has quit IRC18:10
*** gouthamr has joined #openstack-helm19:56
openstackgerritMerged openstack/openstack-helm master: Added resolv.conf example to multinode doc  https://review.openstack.org/51137820:56
openstackgerritMerged openstack/openstack-helm master: Bash: remove tabs in openvswitch script  https://review.openstack.org/51202821:37
openstackgerritMerged openstack/openstack-helm master: Fix port reference name  https://review.openstack.org/51194721:41
*** lukepatrick has quit IRC22:13
openstackgerritMerged openstack/openstack-helm master: Nova: Use endpoint lookups for NoVNC proxy  https://review.openstack.org/51170622:15
openstackgerritMerged openstack/openstack-helm master: Specification: OSH logging combining fluentbit-fluentd  https://review.openstack.org/50549122:49

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