/srv/irclogs.ubuntu.com/2018/03/05/#juju.txt

hmlhttps://bugs.launchpad.net/juju/+bug/173266508:09
mupBug #1732665: Firewaller issues on vmware vsphere <firewaller> <vmware> <vsphere-provider> <juju:In Progress by hmlanigan> <juju 2.3:Confirmed> <https://launchpad.net/bugs/1732665>08:09
=== dames is now known as thedac
WesleyMHello, I'm kinda stuck on my juju deployment. I'm trying to deploy juju into my MAAS node and everytime I get the error "ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden" does someone know the solution to this?15:12
rick_hWesleyM: can your laptop speak to the network that the maas nodes are on?16:07
rick_hWesleyM: that's usually an issue where MAAS brings up the node, installs the juju agent, but the local client (running juju bootstrap) cannot reach that new controller16:08
WesleyMRick_H: It's all running on the same machine, my laptop is connected with a SSH connected to the machine in that range16:22
bdxheyyyo18:05
bdxfor me, `juju deploy postgresql --storage pgdata=ebs,2000G` gives http://paste.ubuntu.com/p/K7bTjJ2RD2/18:31
bdxanything over 1000G seems to just hang18:33
kwmonroebdx: does aws impose ebs limits for your account?  i know, for example, that default accounts can only spin up X machines of type Y.  curious if you have to request to get an ebs limit raised.18:36
kwmonroeeither way, it'd be nice to see an error instead of waiting -- but maybe something to check on your end.18:37
bdxkwmonroe: I can create 5T, 10T vloumes via cli or aws console18:37
kwmonroehmph18:37
bdxyeah18:37
kwmonroeand bdx, this hangs the same way whether you use 2000G vs 2T?18:37
bdxyea18:39
bdxheres my controller log http://paste.ubuntu.com/p/KnjJ7PkqBn/18:39
kwmonroethanks for a 60K line pastebin.  please hold while i watch my browser crash.18:41
bdxLOL right18:57
bdxIm surprised pastebin took it18:57
bdxmine still hasn't finished loading18:58
bdxits 10MB18:58
bdxshould machine-0.log get rolled at some point?19:01
bdxlogsink.log gets rolled .... but machine-0.log isn't being rolled19:04
bdxkwmonroe: I can deploy an instance `juju deploy postgresql` then add a 2000G volume and attach it manually and it works just fine21:12
bdxhttps://paste.ubuntu.com/p/jjQfbVBSmW/21:12
bdxits only when I try to use juju to preform the operation that it fails21:12
kwmonroeyou're out of my league bdx.. i'm not sure what's going on when you run juju storagey things.  rick_h, who's our storage point-person?21:14
bdxI just need verification that `juju deploy postgresql --storage pgdata=ebs,2000G` fails for someone other than myself so I can get some legitimacy on this bug21:16
kwmonroeoh, hell, i can do that.. gimme a minute.21:16
magicaltroutjust drop the boring data.....21:17
kwmonroequiet you21:17
magicaltroutuse juju; drop table kwmonroe;21:18
bdxthis bug https://bugs.launchpad.net/juju/+bug/175190921:19
mupBug #1751909: turn up the volume - artificial quotas? <juju:New> <https://launchpad.net/bugs/1751909>21:19
magicaltrouti hope you're cold kjackal21:35
kjackalfreezing! magicaltrout21:35
magicaltroutgood21:35
kjackalAnything for you ;)21:35
magicaltroutwhen you see Uros... tell him he didn't reply to my email he said he'd reply to a week ago21:36
magicaltrout*sob*21:36
igorAWS deployment21:49
kwmonroefigured you out bdx... default "ebs,2T" is using the prev gen of aws storage: https://aws.amazon.com/ebs/previous-generation/21:49
kwmonroewhich taps out at 1tb21:50
magicaltroutgoooo kevin21:50
bdxoh what21:50
kwmonroewhatcha need to do is use the new gp2 volume type: juju create-storage-pool mybytes ebs volume-type=gp221:50
kwmonroejuju deploy postgresql p2 --storage pgdata=mybytes,2000G21:50
bdxoh dude21:50
kwmonroeer, s/p2//21:50
bdxyou are the man!21:51
igorAWS kubernetes cluster deployed with juju21:51
kwmonroei know, right?21:51
bdxdude21:51
magicaltroutigor: you need to formulate a question with those words21:51
bdxaha21:51
igorUnable to mount volumes for pod21:51
igorthis is the error when when I try to deploy wordpress chart21:52
igorthe cluster looks good and functional21:52
kwmonroebdx: that should unblock you, but the bug you opened is still relevant in that i think surely there's a message at the provider saying why 2tb can't be fulfilled.  we should capture that and inform the user (vs waiting around like log bumps)21:53
igordocker image deployed fine, but failing when it's claiming storage in cluster. the cluster has dedicated controller as per juju deployment wizard21:54
igorany post configs that should/can be applied to fix  https://usercontent.irccloud-cdn.com/file/qXCr2sly/image.png21:56
igormagicaltrout: woulkd this be the right forum for juju kubernetes deployer in AWS22:00
magicaltroutyeah igor although i'm not very familiar with it personally22:02
kwmonroeyup igor, you're in the right place... ryebot, any ideas on igor's "unable to mount volumes for pod" when deploying a wordpress chart with k8s/aws?22:02
* ryebot catches up22:02
ryebotHmm let me take a look at something22:04
igorsure22:04
ryebotigor: What kind of storage are you using?22:06
TheAbsentOneHey guys, to fully understand how juju (and the reactive framework) fundamentally work I want to recreate the phpmyadmin charm to the reactive framework and find out a way to log all the hooks and processes the juju controller makes. Any tips on how to approach this, or anyone knows some other sources or documentation then the juju docs site?22:06
igorhttps://www.irccloud.com/pastebin/VatLAPJW/22:07
ryebotigor: looks like it's pending - did you set up a persistent volume?22:08
igorryebot:  volume.alpha.kubernetes.io/storage-class: standard and I've tried with volume.alpha.kubernetes.io/storage-class: default22:08
igorno sure22:08
igorhow do I check?22:08
ryebotigor: You'd know, I think.22:09
ryebotigor: I think you'll need to use native integration and EBS like this: https://docs.conjure-up.io/devel/en/cni/k8s-and-aws#how-to-setup-ebs-for-kubernetes22:09
igorthis is sample chart to test deployment22:09
TheAbsentOnecan you mount manually on aws? (are you sure where the problem resides?)22:10
igoryou mean from container itself manually?22:11
ryebotigor: conjure-up can set up native integration for you22:12
igorgreat ryebot: should I just follow your link to the doc above to do that?22:13
TheAbsentOneyeah, just a random thought though, nvm it actually it's late for me xD22:14
ryebotigor: Yeah I'd perform an installation with conjure-up to enable the cloud integration for aws and follow those instructions such that they fit with what you're trying to do.22:19
bdxkwmonroe: sc1 | st1 .... not on juju's terms22:29
igorryebot:  just did that and got the same  error22:33
igorhttps://usercontent.irccloud-cdn.com/file/nLn64W5s/image.png22:33
bdxkwmonroe: https://paste.ubuntu.com/p/2rnz86Q2pS/22:33
bdxsupport for st1 and sc1 - https://bugs.launchpad.net/juju/+bug/175359322:40
mupBug #1753593: support st1 and sc1 ebs volume-types <juju:New> <https://launchpad.net/bugs/1753593>22:40
kwmonroeack bdx, that was a wag on my part.  so it seems for now you'll need to use a new pool with gp2 (or possibly use the default ebs-ssd pool) if you want to get > 1tb.  i'm guessing that's not great for the pocketbook :/22:42
kwmonroe+1 on your latest comment in that bug22:42
bdxtotally .... I only *need* this 5T elasticsearch for the next 2 weeks I think, so I'm not to worried, but going forward it will be super nice having st1 and sc1 for sure22:44
bdxgot me unblocked though - https://paste.ubuntu.com/p/qJ62FFH6KR/22:45
bdxI dont even know if the st1 or sc1 would support the iops for this es ... Im going to see how that ^ m5.2xlarge with the 5T gp2 holds up22:46
bdxhooking it up now22:46
kwmonroeugh bdx, next time tell me *before* you run these kinds of models.. https://finance.yahoo.com/quote/AMZN/ -- i'm assuming your tomfoolery drove AMZN up +23 today.22:48
bdxdarn .... that really makes me want to run this somewhere else22:51
* bdx (just angry I don't have any shares)22:54
magicaltroutshares? doesn't everyone buy bitcoin these days?22:57
magicaltroutICO's baby *\o/*22:57
igorryebot: I've installed with conjure-up kubernetes and select AWS22:57
igoris there anything else to do during/after install to enable the cloud integration?22:58
igorI've got dedicated controller node and 14 cluster nodes build fine in AWS23:00
igorryebot: looks like AWS permissions are fine:23:26
igorhttps://www.irccloud.com/pastebin/42gzgUqV/23:26

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