/srv/irclogs.ubuntu.com/2017/03/21/#juju.txt

=== thumper is now known as thumper-afk
=== thumper-afk is now known as thumper
=== ubuntu is now known as Guest65049
=== Guest65049 is now known as bdx
=== axino` is now known as axino
kjackalgood morning Juju world!08:39
chrome0I'm trying to upgrade juju 1.25.6 -> 1.25.10 but it seems to fail right at the beginning and not even starting the upgrade. http://paste.ubuntu.com/24220847/10:56
chrome0Any idea what's going on here? At machine #0 I can't see anything that even registers as a upgrade attempt10:57
kklimondaif one of the machines fails during bundle deployment, can I tell juju to retry this one machine and all units that depend on it?10:59
kjackalkklimonda: this is a rather charm/specific issue. The charms should stay in waiting/blocked state and react to other charms states11:10
kjackalkklimonda: so as soon as you resolve the issue with the machine/charm the rest of the bundle should react to that11:11
kklimondabut what if MAAS has failed to deploy the machine?11:12
kklimondaI can't retry it, as juju plumbing would be missing11:12
ybaumyjuhu juju11:16
ybaumyhow do i change the cpu overcommitment values in nova.conf .. it says that its maintained by juju11:17
ybaumyi want a 20:1 ratio11:17
ybaumyi know thats high but its just for test instances11:19
jianghuaw_Hi, I deployed a bundle with maas; but one of the machines got broken (stuck with no access to this machine). So I marked this machine as broken. Now how can I proceed the deployment?11:22
jianghuaw_Any advice? Is it possible to make it to allocate a new machine and proceed the remaining application deployment?11:25
kjackaljianghuaw_ kklimonda: you can try a juju retry-provisioning . If that fails you can deploy the failing application in another machine and re-add the relations11:28
kjackalif any11:28
kklimondakjackal: thanks, does it work for both machines and lxc containers?11:29
kklimondalooks like what I'm looking for11:29
jianghuaw_kjackal, thanks.11:30
kjackalkklimonda: yes works for any provider. The bundle is just a "script"11:30
kjackalybaumy:  I do not see anyhting in https://jujucharms.com/nova-compute/266 . You could ask at #openstack-charms11:32
cnfhmm, ok12:29
cnfjamespage: this is the result from your bundle http://termbin.com/dy1u did i do something silly? you where going to test it, right?12:33
jamespagecnf: I think what I said was I don't have anywhere to test this right now :(12:34
jamespagecnf: juju status --format=yaml might tell us more12:34
cnfah, ok :P12:34
cnfmessage: '{"hostname": ["Node with this Hostname already exists."]}' o,O12:35
cnfthat's on an lxd container12:36
cnfalso12:36
cnf         current: provisioning error12:36
cnf          message: 'unable to setup network: host machine "0" has no available device12:36
cnf            in space(s) "space-openstack-mgmt"'12:36
cnfbut it does?12:36
cnfhttp://termbin.com/va8212:38
cnfoh, nm12:42
cnfit seems MAAS is being weird again?12:42
cnfwtf?12:42
cnfjamespage: ok, back to #maas it seems omO12:43
cnfor is it12:52
cnfbah! i don't know12:52
cnfthis is frustrating12:53
iceyis there a good way to make an interface that's local to a specific charm rather than a global interface on interfaces.juju.solutions?12:53
marcoceppiicey: yeah, just put it in INTERFACE_PATH (and set that environment variable)12:57
iceymarcoceppi: ideally I'd love to have it in tree for this charm12:58
marcoceppiicey: why?12:58
marcoceppikind of defeats the purpose of interop12:58
iceymarcoceppi: it's an existing interface; I'm porting a charm (old, bash + python) into layers + reactive. The interface is very explicitly only for this application12:58
marcoceppiicey: why even have an interface at all12:59
marcoceppiif nothing will ever connect to it12:59
iceymarcoceppi: there are things that connect to it, but nothing else will provide it12:59
iceyI suppose I can make a full interface and host it12:59
marcoceppiicey: well the interface on interfaces.juju.solutions include the provides and requires parts13:00
iceymarcoceppi: yeah13:00
marcoceppiicey: yeah, I would go the full monty if other things consume (or provide) it13:00
iceythe other things consuming it already have written their code to do that ;-)13:00
marcoceppiicey: but new applications can now use the layer you produce :)13:01
iceyindeed marcoceppi13:01
marcoceppistokachu: https://github.com/conjure-up/conjure-up/issues/750 any thoughts?13:05
stokachumarcoceppi: what does 'sudo apt-get update' give you? does it work?13:07
marcoceppistokachu: no, 403 as well13:08
stokachuhmm13:08
stokachuso we rely on either that ppa or the snap version of lxd13:08
stokachumarcoceppi: are you behind a proxy or anything?13:09
marcoceppiat home13:09
stokachumaybe that needs a refresh13:09
marcoceppioddly enough, works elsewhere13:11
marcoceppinvm13:11
stokachugot it?13:11
marcoceppiactually, nope13:12
marcoceppiokay, I think I figured it out13:13
stokachuwhat was it?13:13
marcoceppibad apt proxy config13:14
marcoceppiwell, apt proxy config, which was fine, but not for ppas13:14
stokachuah ok13:15
marcoceppinow I have to fight with snapd13:16
jrwrenmarcoceppi: apt-cacher-ng ?13:23
marcoceppisquid-deb-proxy13:23
cnfhmz ok14:38
cnflets try this again :(14:38
cnfit seems juju breaks my network config on maas nodes14:39
cnfand then complains about it14:39
cnf:(14:40
cnfit tries to move an ip to a bridge14:41
cnfand then fails?14:41
cnfcan anyone help debug this?14:42
cnfi'm stuck at http://termbin.com/3z4n14:43
cnfhmm, this is really frustrating14:48
cnfjamespage: are you available?14:55
cnfhmm, how do i upgrade a controller?14:57
cnf2.1.2 has something about one of the errors14:57
cnf>,<15:03
cnfugh, wtf15:04
cnfupgrade instructions don't work15:04
rick_hcnf: you did juju switch controller and juju upgrade-juju?15:06
cnfrick_h: yes, upgrade-juju doesn't work15:06
rick_hwhat does it say?15:07
cnf$ juju upgrade-juju15:07
cnfno prepackaged tools available, using local agent binary 2.1.2.115:07
cnfERROR no matching tools available15:07
rick_hcnf: hmm, what did you deploy from?15:07
cnf2.1.2-sierra-amd6415:08
cnfit is what i used to bootstrap15:08
cnfwell, i used 2.1.1 to bootstrap15:08
rick_hcnf: hmm, so it couldn't find a 2.1.2 for the architecture and tried to use yours but you're on osx which of course can't be uploaded.15:10
cnfright15:10
rick_hcnf: what is this installed on?15:10
cnfan ubuntu vm15:11
rick_hcnf: the controllers?15:11
rick_hnot sure why it wouldn't be able to upgrade an ubuntu vm to 2.1.2. What version is it at now? juju show-controller xxxxx15:11
cnf2.1.115:12
rick_hon a xenial VM?15:12
rick_hubuntu xenial that is15:12
cnfyes15:12
cnfi'm trying to upgrade because https://jujucharms.com/docs/devel/reference-release-notes says "[juju] Handle 'Node with this Hostname already exists' errors when provisioning containers. LP:#1670873"15:13
mupBug #1670873: juju fails when requesting an IP for a container when retrying after lxd forkstart <oil> <oil-2.0> <juju:Fix Released by jameinel> <juju 2.1:Fix Released by jameinel> <https://launchpad.net/bugs/1670873>15:13
cnfand my deploy is failing, and this is one of the errors in my logs15:13
cnfdon't know if this will fix it, but hey15:13
rick_hcnf: k, that sounds good. I'm not sure why the upgrade wouldn't find the 2.1.2 agents though.15:13
cnfuhu15:14
rick_hcnf: so the controller is a VM, how did you get it setup? With the manual provider? I thought I saw something about MAAS earlier?15:14
cnfjuju model-config shows the right proxies are set15:14
cnfrick_h: juju bootstrap15:14
cnfit's a KVM running on the MAAS controller, and added as a MAAS machine15:14
rick_hcnf: on the vm itself using localhost?15:14
cnfso it is a VM, but it looks like a maas machine to juju15:15
rick_hcnf: ah ok, so yea using the maas provider bits15:15
cnfyes15:15
cnfso i use my laptop to run the juju command against a maas / juju setup in the lab15:15
rick_hballoons: have a sec? can you think of why the controller wouldn't find agents for 2.1.2 on xenial/maas? ^15:15
rick_hcnf: makes sense15:15
balloonsrick_h, what does the log show?15:16
cnfwhich log?15:16
balloonsbootstrap -- try running it with --debug too15:16
balloonsthe obvious answer is if the maas doesn't have outside internet access15:16
cnfhttp://termbin.com/p59f15:17
rick_hballoons: it's already bootstrapped and running15:17
cnfballoons: the bootstrap was done 2 weeks or so ago15:17
rick_hballoons: so he's trying to juju upgrade-juju to go from 2.1.1 to 2.1.215:17
balloonswhat's the controller version?15:22
balloonsAre we sure it thinks it's 2.1.1?15:22
rick_hballoons: using show-controller that's what cnf says?15:23
cnfand it was installed 2 or 3 weeks ago :P15:23
cnf agent-version: 2.1.115:24
balloonsack15:25
rick_hcnf: can you run the 'juju upgrade-juju' with --debug on it and see if it outputs something helpful on where it's going and we can verify it can reach it?15:27
cnfrick_h: i did, and pasted the output above15:28
cnfhttp://termbin.com/p59f15:28
rick_hoh, sorry I missed it15:28
balloonsit's weird because I don't see it doing anything beyond starting the initial search15:30
cnfyeah15:31
cnfand juju model-config shows the right proxies are set15:31
balloonscnf, can you bootstrap a new 2.1.2 controller? Just to make sure you can see streams?15:32
cnfballoons: streams?15:32
cnfbtw, "juju status" says "upgrade available: 2.1.2"15:32
=== joedborg_ is now known as joedborg
cnfballoons: and bootstrapping a new controller would be about an hour work15:36
cnfi have nothing ready to take it, atm15:36
balloonscnf, no worries. Don't want to try that then15:36
cnfi'll put that on the last resort list :P15:37
cnfit's possible, but i'd rather go for the easer debugging first, if we can15:37
balloonscnf, sync-tools may also be an ok test15:38
balloonsif you run with juju upgrade-juju --dry-run or juju upgrade-juju --dry-run --agent-version 2.1.215:38
balloonswhat happens?15:38
cnf$ juju upgrade-juju --dry-run --agent-version 2.1.215:39
cnfupgrade to this version by running15:39
cnf    juju upgrade-juju --agent-version="2.1.2"15:39
cnf:P15:39
balloonsjuju sync-tools --public --debug --version 2.1 --local-dir=. --dry-run --stream=released15:40
cnfhttp://termbin.com/qx5215:41
balloonsk, so it can see agents just fine15:42
cnfballoons: 16:44:55 DEBUG juju.environs.simplestreams simplestreams.go:454 skipping index "file:///Users/cnf/tools/streams/v1/index2.json" because of missing information: "content-download" data not found15:45
cnfis that normal?15:45
balloonscnf, do you have local streams? Where did that come from?15:46
cnfballoons: i took away the --dry-run from that last command15:46
andrew-iiA model can't reasonably share machines, right? Like, two models can't coexist?15:50
cnfhmm15:52
balloonscnf, juju show-controller15:53
cnfballoons: https://bpaste.net/show/60fec9e338f815:54
rick_handrew-ii: no, the little watchers running on there would probably get pretty confused15:55
andrew-iirick_h: Thanks - I was pretty sure it was nonsensical, but I didn't find the verbage (obvious as it may be)15:56
cnfballoons: i'm both glad and worried this stumps you as well :P16:00
cnfglad because it means i wasn't doing obviously stupid stuff, and worried because debugging it is going to be a pita16:01
balloonscnf, do you know the history of the controller? How was it created, and what's happened to it along the way?16:02
cnfballoons: yeah, it's all me16:02
cnfi bootstrapped it 2 or 3 weeks ago16:02
cnffrom this very machine16:03
balloonsusing the 2.1.1 client right?16:03
balloonscnf, juju model-defaults16:04
cnfyes16:04
cnfhttp://termbin.com/hoqz16:04
cnfmodel-config has proxy overrides16:05
balloonscnf, how about model-config then as well :-)16:06
cnfhttp://termbin.com/detm16:06
Budgie^Smoreo/ juju world16:07
balloonscnf, juju model-config logging-config=juju.apiserver=trace16:09
balloonsjuju model-config -m controller logging-config=juju=trace16:09
cnfok, and then juju upgrade-juju again?16:10
balloonsyea, with debug. I don't think in this case it will show anything more16:11
balloonsHowever, we're not getting a good return on finding the agents from streams.16:11
balloonsHave you upgraded controllers before?16:11
cnfit doesn't show anything more16:11
cnfno16:12
cnfballoons: i'm brand baby new to juju / maas16:12
balloonsThere may be an issue with it not respecting proxy on upgrade16:12
cnf(been quite a frustrating experience so far :( )16:12
balloonsIt's clear I think that it's not seeing streams. It should return something16:12
balloonsIt's possible to bootstrap another controller and migrate your workload, or do use sync-tools and manually push the agent to the controller to upgrade it16:12
cnfi did sync-tools, so i have them all locally now16:13
cnfwhere should they be on the controller?16:13
cnf(though it sounds like a bug of sorts)16:13
balloonscnf, yes, you found a bug indeed I believe. I'll have to repo it, but I'm thinking that's it16:14
cnf$ pwd16:15
cnfubuntu@juju-controller:/var/lib/juju/tools$ ls16:15
cnf2.1.1-xenial-amd64  machine-016:15
cnfbtw16:15
cnfthat is on the controller16:15
balloonsright, so we'll need to make a local stream, then tell the controller about it, and upgrade using it16:16
cnfok16:16
balloonsok, so you ran synctools and have them all in a local folder?16:18
Budgie^SmorelazyPower, you about today? do you remember us talking about elasticsearch integration?16:18
cnfballoons: http://termbin.com/mq2916:19
lazyPowerBudgie^Smore: in what context?16:21
cnfhttp://termbin.com/rdvo is cleaner :P16:21
Budgie^SmorelazyPower, from memory (so don't quote me on this, slept a few times since then), you were already testing it as part of the CDK bundle16:23
lazyPowerBudgie^Smore: when we first released the CDK bundle we had elastic beats + elasticsearch + kibana as part of the bundle16:23
lazyPowerso the integration points already exist16:23
Budgie^Smoreso add charm, relate and deploy?16:24
lazyPowerThat should be the basics, yeah16:24
lazyPowerBudgie^Smore: give me a bit i'm ina meeting16:24
lazyPowerBudgie^Smore: but you should be able to deploy beats-core and add the beats=>kube relations, configure the beats and that should be the basics of the operation though.16:25
lazyPowerthere's a new elasticsearch charm incoming from bdx that targets ES 5.x16:25
lazyPowermight be worth tracking that work as well16:25
Budgie^Smoreno worries, about to head to the office16:25
balloonscnf, sorry just a moment16:30
cnfsure16:30
balloonscnf, which model are you in?16:44
cnfcontroller16:44
cnfor i should say admin/controller i guess16:45
balloonscnf, so my idea isn't possible to avoid you bootstrapping another controller16:49
cnf:(16:49
balloonsI beat on it a bit, but apart from manually placing the tools and editing the db, it's not going to happen16:50
cnfdo you know what the bug is?16:50
cnfi don't fancy doing this again next time :/16:50
balloonscnf, I'd encourage you to post to the list to get feedback on others in locked down maas environments on how they manage things16:50
balloonsthe collective knowledge is better than me16:50
cnfi'm not quite sure what to post16:51
cnfbesides "it doesn't work"16:51
balloonscnf, well you shouldn't be doing any of this. upgrade-juju should just work16:51
cnfyes, it should :P16:51
cnfbut if i don't know why it doesn't, i don't trust it will work next time16:51
balloonscnf, can you ssh into the controller16:52
cnfyes16:52
balloonswe actually never proved the controller has a good proxy16:52
balloonsjuju ssh -m controller 016:52
balloonsthen try grabbing from streams.canonical.com16:52
cnf<h1>Index of /</h1>16:53
balloonscnf, when you bootstrap, the agent is uploaded by the client to the controller. The deployed machines then get the agent from the controller. So it's possible the controller doesn't have access at all16:53
cnfcurl can get to it just fine16:53
cnfunless juju just ignores the set proxies16:54
balloonsvia proxy yes?16:54
cnfyes16:54
balloonsare we sure the proxy set in juju is correct?16:54
cnfuhm, no?16:54
cnfi don't know what "correct" is besides "juju model-config"16:54
cnfit's set in /etc/apt/apt.conf.d/95-juju-proxy-settings16:55
cnfand it's set in the env16:55
cnfso i don't know what else should be set16:55
cnfunless the tool that does the downloading from the stream ignores this?16:56
balloonsahh, we did confirm juju status shows upgrade availible yea?16:57
balloonsso the proxy works, the values set in model-config match your expectations, and juju can kind of see the upgrade, since it tells you it exists16:58
cnfyes16:58
cnfcontroller  dsmaas-controller  dsmaas        2.1.1    upgrade available: 2.1.216:58
cnfright16:59
balloonscnf, did you bootstrap with those proxy settings?17:02
cnfyes17:02
balloonsdid you show me juju model-config -m controller?17:03
kklimondawhom is conjure-up targetted at?17:03
kklimonda(for example I seem to be missing the point of deploying OpenStack with one command, given how complicated software it is, and how much planning ahead is required)17:04
kklimondais this for demos and lab?17:04
balloonsstokachu, ^^17:05
bdxkklimonda: getting the initial base infrastructure stack deployed successfully is one thing, maintaining it over time is another17:05
cnfballoons: yes,  but i can show it again :P17:06
balloonscnf, ty :-)17:06
cnfballoons: http://termbin.com/69cn17:06
bdxkklimonda: the ability to spin up openstack, or any other complex software stack with a single command is really the polish on the block17:07
balloonsAnyways, if you wouldn't mind posting to the mailing list about your issues, that would be lovely. It would also be useful for you to ask how folks best handle upgrades in these situations, though, it should work.17:07
kklimondabdx: yes - but that's my point. what does it bring to the table over juju?17:07
kklimondait just seems to be another layer of indirection17:08
bdxkklimonda: its a layer of useability17:08
cnfi don't know the mailing list17:09
cnfi'm generally not a fan of mailing lists17:09
balloonscnf, ahh. Well, you certainly don't have to post. I can file a bug about it, but it may be useful for you to do so, so you can track it: https://bugs.launchpad.net/juju/+filebug17:10
cnfwhat do i call it?17:11
cnfjuju upgrade-juju fails ?17:11
bdxkklimonda: I don't want the users of my charms maintaining yaml configs all over the place, its easier for me, and my users, if I create spells for theses infrastructure stacks so as the deploys can be interactive and intuitive17:11
cnfit's so generic :/17:11
balloonscnf, juju upgrade-juju doesn't honor proxy settings17:11
bdxkklimonda: especially for openstack .... your config.yaml for an openstack bundle can end up being 1000+ lines17:12
balloonsI wonder if I can repo quickly actually17:12
cnfbdx: been trying to deploy openstack with juju for 3 weeks, little polish to that :(17:12
cnfballoons: are you sure it's the proxy ?17:12
balloonscnf, did you try conjure-up, heh?17:12
kklimondabdx: yes, but that configuration (and the decisions behind it) still have to be made17:12
balloonscnf, your log indicates you don't get anything back from the version check17:12
balloonscnf, it should return, nothing to upgrade, or XXXX found. You get nothing and it drops to trying a locally built one17:13
bdxcnf: I have successfully deployed openstack with juju in a myriad of different ways, let me know if you need some insight, I would be glad to give you some pointers if needed17:13
cnfbdx: i can't get anything sensible out of juju so far17:14
zeestratkklimonda: As another side of the tale, we find the extra layer of abstraction to give little value so we stick to Juju.17:14
cnfcan't even upgrade it, it seems17:14
bdxkklimonda: conjure-up also allows for different types of provisioning automation not available via vanilla juju17:15
bdxkklimonda: e.g. lxd-profiles17:15
cnfballoons: https://bugs.launchpad.net/juju/+bug/167475917:16
mupBug #1674759: juju upgrade-juju doesn't honor proxy settings <juju:New> <https://launchpad.net/bugs/1674759>17:16
cnfsorry if it's a bit susinct, i'm tired and hungry atm17:16
balloonscnf, I know we didn't want to bootstrap a controller, but I would encourage you to try upgrading with https://jujucharms.com/docs/2.1/models-migrate. It's likely how you should manage models in production anyway17:16
balloonsie, bootstrap a 2.1.2 controller, then migrate your models. Finally, teardown the 2.1.1 controller17:16
cnfballoons: well, that assumes you have spare machines to do this :P17:16
balloonscnf, yea, that's the blessing and curse17:17
cnfi'll have to do that twice17:17
cnfonce away, once back17:17
balloonswhy twice?17:17
cnfand bootstrapping a new machine takes 20 minutes on its own17:17
cnfballoons: once to a machine, then back to the vm17:17
bdxkklimonda: look at the example of the kubernetes spell for lxd provider .... conjure-up lends to some really cool extended functionality where you can use pre/post scripts to modify things outside of your juju environment17:17
cnfconjure-up looks like even more magic ontop of juju17:18
cnfi can't get juju to behave sanely, i don't want even more magic personally17:18
bdxcnf, kklimonda: https://github.com/conjure-up/spells/blob/master/canonical-kubernetes/steps/00_pre-deploy17:18
bdxif allows you to do cool and important things that you guys aren't really looking at or taking into account17:19
cnfbdx: that looks ugly, what's that for?17:19
balloonsty for the bug report cnf17:20
bdxcnf: that is a conjure-up pre-deploy script - it runs prior to conjure-up deploying your juju stuff to configure the lxd profile https://github.com/conjure-up/spells/blob/master/canonical-kubernetes/steps/lxd-profile.yaml#L617:20
cnfo,O17:20
bdxcnf: things like this (customizing lxd profiles) are a huge hassle as well as a blocker for people trying to deploy things to containers that need special modifications17:21
=== tinwood_ is now known as tinwood
cnfand how do i install conjure-up?17:22
bdxcnf, kklimonda: if you aren't wise to all of things you would need to do to lxd to make it support deploying kubernetes ... these things are encapsulated in the conjure-up workflow/spells17:23
cnfi don't care about lxd, much17:23
bdxcnf: are you familiar with snaps?17:23
cnfno17:23
bdxcnf: you are trying to ride the horse without knowing well the saddle17:23
cnf...17:24
kklimondabdx: I mean, I understand what you're saying but someone will have to understand all this once the deployment is done17:24
cnfconjure-up is available on both Ubuntu Trusty 14.04 LTS and Ubuntu Xenial 16.04 LTS17:25
cnfno ubuntu here17:25
lazyPowerwork is underway to port it to MacOS, but that's still pending.17:25
bdxcnf: you are going to have a tough time trying to run all/any of this from non Ubuntu Xenial17:25
cnfbdx: so no thank you17:25
bdxcnf: conjure-up is delivered as a snap - which isn't a thing on non-ubuntu systems17:26
lazyPowerbdx: thats a lie17:26
bdx:-017:26
lazyPowerbdx: snap is supported on centos, debian, arch, sles17:26
bdxoooh17:26
bdxthanks LP!17:26
lazyPowerbdx: <3 happy to alley oop some knowledge17:26
bdxcnf: srry17:26
cnfso you don't know your own tools...17:26
cnfeither way, as long as juju isn't reliably, no amount of magic on top of it will make me trust it17:27
bdxcnf: I'm just a community member, I don't work for canonical .... I try to know the tools as well as possible, I didn't know snap was supported across other os's srry17:28
bdxkklimonda: have to know what?17:29
cnfyou don't deploy / run openstack without knowing the details17:29
bdxcnf: what details?17:29
cnfyeah, you don't run openstack, i take it17:30
cnfballoons: where is the mailing list, btw?17:30
bdxyeah ... I have been since it was released to the public ... before there was automation17:30
kklimondabdx: for example, even if conjure spell manages apparmor profiles on host machines for the user, that doesn't mean this is removing any burden - you still have to understand what has been changed, and why, or you'll have a bad day later.17:31
balloonscnf, https://lists.ubuntu.com/mailman/listinfo/juju17:31
cnfbdx: in production, with people using it?17:31
bdxcnf: yea man17:31
bdxdeployed via juju17:31
cnfand you suggest people deploy openstack without knowing about how it works? what network is used for that17:32
cnfor what hardware is holding ceph data etc17:32
bdxcnf: that is the admins responsibility to track that information17:32
cnfballoons: oh, you need to join it?17:32
cnfo,O17:32
bdxcnf: juju/maas really help there too17:32
lazyPowercnf: our goal is not to remove the knowledge requirement for management over time, its to remove the knowledge barrier to get started. We still advcoate you should read teh book at least once, we want to abstract away that requirement though.17:32
balloonscnf, well juju@lists.ubuntu.com if you just want to send a mail. But replies posted only to the list obviously won't reach you17:32
cnfbdx: for the past 3 weeks, juju / maas has been gettin in my way17:32
cnfnot helping me17:32
bdxcnf: sorry to hear that, let me know if you need some guidance17:34
cnfto be quite honest, if i can't get something working soon, my advice here will be to NOT use juju / canonical for openstack deployment17:34
cnfbdx: feel free to start with https://bugs.launchpad.net/juju/+bug/167475917:34
mupBug #1674759: juju upgrade-juju doesn't honor proxy settings <juju:New> <https://launchpad.net/bugs/1674759>17:34
bdxkklimonda: so if you are deploying kubernetes to lxd, you are probably just looking for a POC anyway right?17:35
kklimondabdx: well, conjure-up seems like a pretty cool POC/lab deployment tool17:36
kklimondaI don't deny that :)17:36
cnfballoons: thanks for the help so far, i'm calling it a day17:36
cnfi'm tired, frustrated and hungry17:36
cnfballoons: not a good state to deal with this :P17:36
balloonscnf, you are most welcome. Sorry to hear about your troubles :-(17:36
bdxkklimonda: I can't speak for others, or for how the tool is intended to be used, but I find it most useful for getting my initial stack deployed, then I switch over to pure juju for the rest of the lifecycle ops17:38
bdxcnf: did you try `juju upgrade-juju --build-agent`17:42
rick_hbdx: seems like a legit bug in the upgrade command not able to go through the proxy that's set17:43
rick_hbdx: and from a osx client can't provide agents for ubuntu xenial17:43
bdxrick_h: ahh .. I forgot the osx thing , darn17:43
rick_hbdx: yea, nasty bug basically17:44
bdxok then17:44
bdxshoot17:44
stormmoreo/ juju world18:07
=== frankban is now known as frankban|afk
=== dannf` is now known as dannf
andrew-iibdx: you mentioned a good book to read? One that would make sense with version 2?19:23
marcoceppistokachu cory_fu any progress on osx + conjure?19:30
bdxandrew-ii: I mentioned a book?19:47
andrew-iiMight have been a figure of speech19:47
andrew-iiBasically, I jumped into maas/juju full hog back before 2 was released, and never really got a cloud up. So it's been hard to get started.19:48
andrew-iiI've tried conjure-up, but I'm just too ignorant to troubleshoot it, I think19:48
andrew-iiSo I'm slowly building openstack up manually, and that's been really informative19:49
bdxandrew-ii: yeah ... that is probably the biggest backwards whale there is ... juju makes openstack really niceee, but you have to know a bit about openstack for it all to make sense19:51
bdxandrew-ii: you should imagine juju as something that takes away a lot of the pain points, that being said, you still need to be entirely and overly familiar with the actual cloud substrate if you plan on supporting/operating/maintaining it to any degree19:52
andrew-iiI've certainly felt that :)19:53
bdxwhich it sounds like you are touching up in some of those areas for sure19:53
andrew-iiYou'd be amazed how much you can learn by ramming your head against an immovable object for a while19:53
bdxhaha ... right ... some may call it psychotic, but I'll stand by it19:55
andrew-iiIt's been a blast19:55
andrew-iiCompletely useless19:55
andrew-iiBut fun19:55
andrew-iiThough it looks like I'll be able to use it for a simple test environment, so I'm actually excited to see that work!19:57
bdxandrew-ii: have you gotten a POC deploy up via conjure-up or the openstack-base-bundle / openstack-lxd-base-bundle?19:57
andrew-iiEvery time I tried conjure-up, I ended up reinstalling the maas controller19:58
bdxandrew-ii: I see. Did you find out why that was happening?19:58
andrew-iiSo I was following the setup on one of the Juju dev blogs, and it has a lot of network config19:59
andrew-iiIt seems like conjure-up didn't really respect that and, combined with some strange dns/routing issues, just sorta confused it20:00
andrew-iiI'm sure it was recoverable, but I didn't know how or what was *really* wrong20:00
bdxandrew-ii: yeah, (are you reading Dimiter's blog?) a good amount of that has been simplified/made possibly from the maas gui now20:01
andrew-iiYes!20:01
andrew-iiThe new maas 2 interface is a joy20:01
andrew-iiAnd that has greatly alieviated a bunch of the rebuild/configuration pain20:01
bdxandrew-ii: fair enough - right20:01
andrew-iiAnd I've almost gotten openstack manually deployed20:01
andrew-iiIt just hung on some relations that... well, should have been ok20:02
bdxooooh, you are building it manually via juju20:02
andrew-iiSo I'm rebuilding it tonight to see what I missed the first time in my config20:02
bdxlol20:02
bdxok20:02
bdxgotcha20:02
andrew-iiYeah - one of my machines seems to be slightly junk20:02
andrew-iiSince it won't always be able to talk to the cloud images20:02
andrew-iiSo I need to do a lot of checks before I can let a bundle loose, or it just sorta stalls20:03
bdxhmmm .... I see20:03
andrew-iiI'll admit, it's weird20:04
andrew-iiOne machine basically only starts LXD containers once I destroy it once and rebootstrap20:04
bdxas opposed to?20:05
andrew-iiSeems there's some screwy TLS handshake issue that won't work because I think I have a dead network card20:05
andrew-iiwell, one or two of the network connections is sligthly garbage - both trouble machines are SuperMicro20:05
andrew-iiBonding helped, but not perfectly20:05
bdxlol oh man20:06
bdxyeah ... that will be a stick in your spokes for sure20:06
andrew-iiBasically, it seems to be a hilarious series of nonsensical bumps :P20:06
bdxaweee, I'm sorry man ... I know how that goes ... just gotta take the good with the bad and roll on20:07
hatchHi everyone, we're aware of a service outage on jujucharms.com and are currently working quickly on a resolution.20:07
andrew-iiAin't no thing. I'm pretty zen about it20:07
andrew-iiI knew going in that bucking for the 2.0+ releases was riding the bleeding edge, and so naturally I got a bit cut20:07
bdxandrew-ii: when I've been in similar situations, I create a working source of truth and make small incremental changes from that starting point20:07
bdxyeah20:08
andrew-iiMAAS is stable and seems great now, so now I'm just learning juju, and soon OpenStack :)20:08
bdxthere ya go .... the best thing being, if/when you get stuck you know you have a whole community of engineers here to lend a hand - keep up the good work!20:10
hatch jujucharms.com outage has been resolved, thanks for your patience :)20:18
magicaltroutI AM NOT PATIENT!20:20
magicaltroutbut i didn't notice20:20
magicaltroutso i figure its okay20:20
hatchlol20:20
hatchthat's the best kind of outage20:21
stormmorelazyPower, I think I finally broke my AWS cluster badly21:31
magicaltrouttry switching it off and on again21:32
magicaltroutor take the floppy disk out21:32
stormmoremagicaltrout, I did that made things worse :P21:33
magicaltroutdid you defragment the drive? or mark the bad sectors? :P21:34
stormmore:P doubt that is the problem magicaltrout ... getting told by the master that it is waiting for kube-system pods to start and the workers are waiting for kubectl!21:36
magicaltroutah nice21:37
stormmoreat this point I am thinking about destroying and recreating it but wanted to know if lazyPower would like to get some failure data before I actually do destroy the cluster21:41
magicaltroutwhen you say waiting for kubectrl you mean the executable isn't available?21:42
stormmorenot sure at this point, "Waiting for kubelet to start." is what juju status says about the node21:43
=== sarnold_ is now known as sarnold
magicaltroutoh21:43
tvansteenburghstormmore: juju ssh to the worker node, then `journalctl -u kubelet`21:44
stormmorewell for the workers. "Waiting for kube-system pods to start" is what the state is for the master21:44
tvansteenburghjournalctl should have some info in there about why kubelet won't start21:44
tvansteenburghstormmore: for the master, juju debug-log --replay -i unit-kubernetes-master-0 # pastebin that somewhere21:47
stormmoretvansteenburgh, http://paste.ubuntu.com/24224523/ the journalctl -u kubectl from a worker21:47
tvansteenburghthat's the whole thing?!21:48
stormmoreno but it gets into a loop by the looks of it21:48
tvansteenburghthat last error msg might be relevant but it's truncated21:49
tvansteenburghstormmore: i gotta step away for a bit, bbl21:50
stormmoreno worries, yeah I though that... might try and remove that deployment but not sure how I can without the cluster being healthier21:51
stormmoreI am about to step away and take this home with me21:51
=== balloons27 is now known as balloons
Budgie^Smoreok I am home22:40
stokachukklimonda: conjure-up is way more than a poc tool22:44
stokachukklimonda: you can deploy to localhost if you want to22:44
stokachukklimonda: but you aren't limited to just localhost22:44
stokachuyou dont have to alter lxd profiles etc when deploying kubernetes to aws22:47
stokachuso not knowing about lxd profiles won't stop you in learning how to deploy kubernetes22:47
stokachuand if you have all day to read through 5 pages of documentation to setup a cluster then feel free22:47

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