/srv/irclogs.ubuntu.com/2017/07/19/#juju.txt

rick_hinfinityplusb: try doing a juju resolved xxxx and such to get it through the error so that it can start the destroy.01:37
rick_hinfinityplusb: if it's on a system where it's the only application on the machine you can remove-machine --force01:37
rick_hand skip the application side of things01:37
=== mup_ is now known as mup
ak_devjuju remove-application <name> should do06:45
ak_dev^infinityplusb06:45
ak_devIf u want to remove the entire machine, use06:49
ak_devjuju remove-machine <machine_num> --force06:49
ak_devkjackal: are you online now?07:36
kjackal___ak_dev: I am here!08:02
kjackal___Could you explain where open_port is failing? I did not get that08:03
kjackal___ak_dev: ^08:03
ak_devkjackal___: Hey!08:03
ak_devI tested the charm on CENGN pod, and I had open_port call in the principal master and worker charms08:04
jwdmorning08:04
ak_devi will forward you the bundle so you can see for yourself08:04
ak_devhttps://www.irccloud.com/pastebin/Z6EA1mtY/08:05
ak_devdo change the "gateway-physical-interface" option if you are deploying08:06
ak_devkjackal___:08:07
ak_devkjackal:08:07
ak_dev^^08:07
kjackal___ak_dev: I am not sure what "on CENGN" refers to. These acronyms do not ring a bell08:09
kjackal___especially combined with the "pod"08:11
ak_devkjackal___: oh sorry, it is this https://wiki.opnfv.org/display/pharos/CENGN+Hosting08:11
ak_devsomething like GCE where we can test the charms08:11
kjackal___you tested a charm on a pod? We are talking about a kubernetes pod08:11
ak_deveven I was super confused the first time someone mentioned this08:12
kjackal___ak_dev: Ah I see now, is it a openstack cloud?08:12
ak_devyeah, if I understood it correctly08:13
kjackal___and you are saying the opn_port does not work if you call it from within a charm but it works if you open-ports from the cli... strange...08:14
ak_devoh, no I did not try from cli08:14
kjackal___do you get anything on the logs?08:14
ak_devhow do I do that?08:14
kjackal___juju run --application kubernetes-worker open-port "1234/tcp"08:15
kjackal___ak_dev: ^08:15
ak_devkjackal___: oh okay, i will redeploy and try that and get back to you08:15
ak_dev:-)08:15
kjackal___lets see, which charm are you deploying?08:16
ak_devthe bundle I forwarded you earlier08:16
ak_devkjackal___: ^08:16
kjackal___ak_dev: I do not see open_port on the ovn-5 charm08:18
ak_devI put it in the kubernetes-master charm08:18
ak_devkjackal___: and the kubernetes-worker charm08:19
kjackal___ok, I see!08:21
kjackal___8080, 6641 and 664208:22
kjackal___let me try to deploy08:22
ak_devkjackal___: yeah, sure, I too am trying here08:22
ak_devkjackal___: is it possible to open_port for a machine rather than an application?08:24
kjackal___ak_dev: do a juju run --help08:25
kjackal___there is a --machine option, it should work08:25
ak_devkjackal___: oh okay08:26
ak_dev"juju run --machine 2 open-port "6641/tcp"08:30
ak_devsays command not found08:31
ak_devkjackal___:08:31
kjackal___probably because you are out of the context of an application...08:31
ak_devkjackal___: oh, I don't know what that mean actually, is it that I am not allowed to run such a command on the machine?08:32
ak_devthe OVN subprdinate charm the principal charm both require the same ports to be open08:33
kjackal___I _think_ open-port is not in your path if you are not running it within an --application08:33
ak_devah I see08:33
ak_devokay so if the subordinate OVN charm requires 6641 to be open and I open it in master, will  that work?08:34
ak_devI don't think so, but still asking for confirmation08:34
kjackal___you would need it open on the workers as well, right?08:38
ak_devworker i require only 808008:38
ak_devkubernetes-master : 808008:41
ak_dev      ovn : 6641, 664208:41
ak_devkubernetes-worker : 808008:41
ak_dev      ovn : 6641, 664208:41
ak_devkjackal___: I think this is what should work08:41
ak_devi just modified to have open ports in all three charms according to above, lets see if that helps08:42
jwdanyone know what a status: unknown means?08:53
ak_devjwd: I think that means that the charm did not update its status, but kjackal___ might know better09:02
ak_devkjackal__: that did not work09:03
jwdi do a wild test anyway atm. using lxd on debian to run juju :-)09:03
kjackal__anything interesting in the logs? Did you see the ports opening?09:03
kjackal__are you deploying kubernetes on lxd?09:04
ak_devnope, its on GCE09:04
ak_devshould i check /var/log/syslog?09:04
kjackal__/var/log/syslog and /var/log/juju/unit-?????09:05
kjackal__jwd: you mean you got an lxd container and inside there you deploy juju?09:06
jwdno i use juju to create lxd containers for me09:07
kjackal__jwd: you might find deploying juju through snaps an easier way if you want to move away from ubuntu09:07
jwdi used snaps09:07
kjackal__nice!09:07
jwdrunning it on debian stretch09:08
jwdjust wondered why the machine states always ends in unknown09:08
jwdevenn tho all is working09:08
kjackal__jwd: the machine state is set by the charm. All of the charms you deployed ended on an unknown state? Or was it only one?09:09
jwdall09:10
kjackal__that is strange09:10
kjackal__you would better file a bug09:10
jwdhttps://pastebin.com/jfRED3Wd09:10
jwdjust a few things i tested09:10
kjackal__I think filing a bug and including all the logs is the right way to go09:12
jwdkk09:12
ak_devkjackal__: okay so nothing about opening ports on syslog09:12
ak_devand neither see it in juju log09:12
ak_devjust checked the code, it has the open_port function call09:13
ak_dev8080 port opened on both though, verified in the GCE firewall rules09:13
kjackal__ak_dev: this does not make sense, my deployment on aws did open ports properly09:13
ak_devI might be doing something really silly then, I will recheck everything09:14
ak_devdid kubernetes run on your deployment?09:14
kjackal__ak_dev: let me see, there must be an open_ports (with an s) call09:14
kjackal__ak_dev: no it did not work because it did not have easyrsa i think on the bundle09:15
ak_devkjackal__: ah no, I have implemented it inside the kubernetes-master charm09:15
ak_devif you still have it, could you try "sudo kubectl get pods" on master?09:15
kjackal__I got a "hook failed: "cni-relation-joined" for ovn:cni"09:16
kjackal__on the ovn subordinate of the master09:16
ak_devoh09:16
ak_devlet me check09:17
kjackal__ak_dev: and I have this error in the logs: http://pastebin.ubuntu.com/25124335/09:17
ak_devkjackal__: what is the gateway-physical-interface you are using?09:19
kjackal__ak_dev: I did not set one. It is what the smart default  is09:21
ak_devlooks like I did not use the default right09:23
ak_devkjackal__: thanks for pointing out that error though! Seems like the errors dont ever end on this one!09:23
kjackal__ak_dev: remind me again how to get the proper gateway09:23
ak_devip route | grep default09:25
ak_devthis should do09:26
ak_devkjackal__: ^09:26
kjackal__ip route | grep default09:28
kjackal__default via 172.31.0.1 dev breth009:28
kjackal__And it is the breth0, right ak_dev09:28
kjackal__?09:28
ak_devkjackal__: did you run it on the node where this charm ran?09:29
ak_devcause it creates a new interface with 'br' as prefix09:29
kjackal__yes09:30
ak_devkjackal__: so i guess your interface should be eth009:31
ak_devkjackal__: but its strange that it created the interface, since it should not after you got that error09:31
ak_devI too am confused now09:31
BlackDexHello there, i currently have a HA Juju env, but i need to remove two of those nodes and i'm currently not able to create a new node for more HA10:09
BlackDexWhat is the best way to undo the HA of juju, and keep just one running?10:09
rick_hBlackDex: what cloud is this?12:12
BlackDexwhat cloud?12:44
rick_hBlackDex: what provider? is this on AWS, GCE, an openstack?12:57
BlackDexah12:57
BlackDexmaas/openstack :)12:57
BlackDexi think i have it working btw12:57
BlackDex:)12:57
rick_hBlackDex: oh ok awesome12:57
BlackDexneeded to do some manual mongodb stuff12:58
tvansteenburghjacekn: mthaddon: you guys want/need to meet? sorry, I got hung up in a sprint session but i'm available now if you want to hangout13:40
tvansteenburghor we can just wait til next week, either way is fine13:41
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
ak_devhello, any reason why kube-proxy can fail on kubernetes-worker ?15:29
ak_devwhat I mean by fail is fail to start15:29
ak_devhttps://www.irccloud.com/pastebin/yWnQ1FoP/15:31
ak_devthat is what i get15:31
vdsHi all, suggestion on how to debug a reactive charm that is not registering a nagios hook? here's the reactive module https://paste.ubuntu.com/25126369/ apparently the relations are added correctly but the nagios check is not registered16:04
Budgie^Smoreo/ juju world16:20
rick_hReminder juju show in 10minutes17:50
rick_hGetting stuff setup to chat17:50
rick_hhttps://www.youtube.com/watch?v=3lcl51SVX2E for watching and https://hangouts.google.com/hangouts/_/gccrypbjbbbcrniklqvt2gkjcue for chatting live!17:56
ak_devhello20:41
ak_devone more question guys20:42
ak_devdoes a subordinate charm receive events from the principal charm?20:42
ak_devthedac: ^^20:44
thedacak_dev: it can if there is a relationship defined and data is passed across that relationship, but that has to be coded.20:45
ak_devoh, I have a cni relationship20:45
ak_devbasically, its kubernetes-cni b/w my charm and kubernetes-master20:45
ak_devthedac: ^20:45
ak_devbut it has to be coded in the relationship you mean?20:46
narinderguptathedac, can u show any example if there is any?20:46
thedacak_dev: yes, the charm has to set something on the relationship and the other side needs to react20:46
narinderguptaak_dev, in that case you can use the existing event in kubernetes-master and kubernetes-worker20:47
ak_devthedac: thanks :-)20:48
thedacno problem20:48

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