/srv/irclogs.ubuntu.com/2016/06/17/#juju.txt

bdxbut it needs the full path00:00
valeechbdx: ok, so I just need to feed it a config.yaml, right?00:00
bdxvaleech: juju deploy cs:~blake-rouse/maas-region-400:00
bdxvaleech: correct00:00
arosalesvaleech: ubuntu deploys looks good00:01
arosalesbdx: is the latest blake-rouse or maas-maintainers00:01
valeecharosales: so the status unknown is ok/expected?00:02
bdxvaleech, arosales: the ha functionality isn't there yet as the docs portray, but if you just want 1 rack-controller + 1 region-controller it works great00:02
valeechbdx: curses! I was hoping for the HA pieces :)00:02
bdxarosales: as far as I know, yes - I have cs:~blake-rouse/maas-region-4 deployed00:03
arosalesvaleech: workload state looks to be "unknown" which is ok00:03
valeecharosales: ok00:03
valeechhow do I go about removing those stranded mariadb and wordpress apps?00:03
bdxvaleech: from what I hear the ha portion will be getting some cycles again soon00:03
arosalesvaleech: in juju 2.0 beta9 the new syntax is "juju remove-application mariadb"00:04
arosalesand juju remove-application wordpress00:04
valeechbdx: cool. How does one go about contributing to something like that? I am new to this, but would love to give back00:05
valeecharosales: I have run both of those and the apps persist, they’re like extended family, they just won’t leave!00:06
bdxvaleech: start here -> https://jujucharms.com/docs/devel/developer-getting-started00:06
arosalesbdx, re ha no available, the docs @ https://maas.ubuntu.com/docs2.0/ha.html are very misleading then :-(00:06
valeecharosales: Yes, the docs are misleading :)00:06
* arosales filing a bug on that00:07
bdxvaleech: then go here -> https://jujucharms.com/docs/devel/developer-layer-example00:07
arosalesvaleech: huh remove-application doesn't want to work for you . . .00:07
arosaleslet me see if there is a --force00:07
arosalesvaleech: were you interested in maas ha contributions or charm contributions?00:08
arosalesor both :-)00:08
valeecharosales: both! I plan on using these products heavily00:08
bdxvaleech: I'm with you there .... I've got the hardware already set aside for it :-)00:09
arosalesvaleech: great to hear, the docs that bdx pointed are are excellent. I would also add https://jujucharms.com/docs/devel/developer-getting-started and suggest to join the mail list I pointed at earlier00:10
valeechbdx: me too! trying to get this lab up and running so the my product managers can push it into production before it’s ready!00:11
valeecharosales: I joined the mailing list! I’ll spend some time on the docs as soon as I can get a functioning concept of all of this :)00:12
bdxvaleech: the docs will aid you in getting the concept down too though:-)00:12
valeechbdx: good point00:13
arosalesvaleech: for maas contributions see http://maas.ubuntu.com/docs/about.html#contributing00:13
arosalesvaleech: but your manual setup is running00:14
arosalesjust not a lot of xenial charms yet00:14
arosalessuggest to spin up some trusty machines00:14
arosalesor if you have maas configured just point juju at that :)00:14
valeecharosales: true. I was trying to use juju to deploy maas ha :) Then I would point juju at maas. I guess I need to get maas ha up manually.00:15
valeechwould it make sense to deploy 2 maas region controllers with juju and then do the work externally to ha them togeher? or is that more work than its worth?00:16
arosalesvaleech: try:  juju deploy --to 3 cs:~maas-maintainers/trusty/maas-region-300:17
valeechAdded charm "cs:~maas-maintainers/trusty/maas-region-3" to the model.00:17
valeechDeploying charm "cs:~maas-maintainers/trusty/maas-region-3" with the user specified series "trusty".00:17
valeechERROR cannot add application "maas-region": cannot deploy to machine 3: series does not match00:17
arosalesugh00:18
arosalesxenial00:18
arosalessame issue as wordpress, no xenail charm for maas-region charm00:18
arosalesvaleech: you can try appending --force to see if deploy maas-region on xenail00:20
arosalesbut that is uncharted territory00:20
valeecharosales: sure00:20
arosalesas the charm maintainer may have to make special accommodations for xenail especially given systemd00:21
arosales  juju deploy --to 3 cs:~maas-maintainers/trusty/maas-region-3 --force00:21
arosalesmay get you a deploy, but results may vary if it works on a xenial machine00:21
arosalesvaleech: may be better to just spin up a trusty machine and go from there00:21
valeecharosales: yeah, perhaps. I’ll give that a shot and report back on results.00:22
arosalesvaleech: good luck00:23
valeechthe —force won’t take because between the time you asked to try the mass-region-3 and it failed and asking me to try the —force I install maas-region-4 and it took. I didn’t give it a yaml file though, I just wanted to see what would hapen.00:23
* arosales goes to file bug against maas docs00:23
valeechbut the remove-application function isn’t working so I can’t remove it and try the maas-region-3 —force install :)00:24
valeecharosales bdx lazyPower thanks for all the help!00:24
lazyPowervaleech anytime :)00:25
arosalesvaleech: I will also file a bug on remove-application00:25
arosalesthat should remove the application from the model00:25
arosalesvaleech: could you pastebin me "juju remove-application wordpress --debug"00:25
valeecharosales: sounds good. Is there any logs or data I should gather?00:26
valeechsure00:26
arosalesjuju debug-log --replay may be interesting00:27
arosalesbut the --debug with remove-application I think will have the interesting bits00:27
valeechhttp://pastebin.com/xyjcMz9m00:27
arosalesvaleech: thanks00:30
valeecharosales: np!00:31
arosalesvaleech: the heavy handed approach would be to destroy the model and create a new one once you are done experimenting given remove-application doesn't seem to be happy atm.00:31
valeecharosales: I tried that too and it just runs forever waiting for the service to stop…00:32
arosalesvaleech: nice :-/00:32
valeech:)00:32
arosalesand no --force on destory-model00:33
arosalesthere is on the controller, but at that point its a new bootstrap00:34
valeechThis is neat: http://pastebin.com/iSnUi1ez00:35
arosalesvaleech: ah you may have to remove the units first, given they are manually added00:36
arosalesvaleech: try "juju remove-unit 4"00:38
arosalesnote if you have ubuntu on that still you may want to at least try "juju remove-application ubuntu"00:38
thumper4 what?00:39
valeecherror: invalid unit name "4"00:39
arosalesvaleech: sorry try remove-machine00:40
arosalesso "juju remove-machine  4"00:40
arosalesthumper: you just trying to cause trouble :-)00:40
valeechthat worked00:41
* thumper lobs hand grenades from the safety of another country00:41
arosalesthumper: remove-application not being helpful tonight00:41
thumperwell that sucks00:41
arosalesthumper: http://pastebin.com/xyjcMz9m00:41
arosalesvaleech: try the same with 300:42
valeechthat worked too for 300:42
valeechbut the apps are still there :)00:42
arosalesvaleech: what does "juju destroy-model default" return now00:42
valeechok, now destroy-model worked!00:43
thumperarosales: ooo...00:43
thumper2016-06-17 00:26:42 DEBUG juju.api apiclient.go:520 health ping failed: connection is shut down00:43
thumperthat line right there00:43
arosalesthumper: timeout?00:43
thumperuh00:43
thumpermaybe not00:43
arosalesvaleech: ok suggest to start a new model, and spin up some trusty images00:43
thumperdebug on the client when things aren't working don't tell us much00:43
thumperthe debug log of the controller is much more useful00:43
arosalesthumper: well deploy ubuntu worked00:43
arosalesthumper: but couldn't remove wordpress00:44
thumperif you have debug logging on00:44
thumpergrab the output by doing this:00:44
thumperjuju debug-log -m controller --replay --no-tail > foo.log00:45
arosalesvaleech: also if you want some run time on AWS and are interested in contributing to juju charms please feel free to enroll in https://developer.juju.solutions/00:45
thumperthat will get the apiserver calls and internal errors or issues with removal00:45
arosalesvaleech: that will give access to more "machines" if you want to focus on just the charm piece if you don't have a lot of spare hardware in your maas to test against.00:46
arosalesthumper: already destroyed the controller :-/00:46
arosalesthumper: I'll try to recreate on AWS, but this issue was on manual provider so I may try Digital ocean to reproduce00:47
thumperack00:47
arosalesthumper: but " juju debug-log -m controller --replay --no-tail > foo.log" noted if I am able to reproduce00:47
thumperyeah, that is a handy command00:47
valeecharosales and thumper I can spin it back up again00:47
* thumper is in the bowels of juju ripping at the bad code he left several years ago00:48
arosalesthumper: make sure you get _all_ the bad code then00:48
arosalesvaleech: if you have time, sure. If not I can also try to produce00:48
valeecharosales: sure. It doesn’t take long to setup00:49
arosalesvaleech: thanks00:50
thumperarosales: no chance...00:50
thumperbut I'll get the cancer called fslock out00:50
arosalesthumper: well at least there is that :-)00:51
* arosales filed https://bugs.launchpad.net/maas/+bug/1593516 in reference to the incorrect syntax for deploys01:31
mupBug #1593516: docs2.0/ha juju deploy maas-region not correct syntax <MAAS:New> <https://launchpad.net/bugs/1593516>01:31
Yashnova-compute/10         error           idle        2.0-beta7 2                      10.100.100.200 hook failed: "install"07:25
YashHow to solve this?07:25
YashPlease help.07:25
admcleodYash: juju debug-log -i nova-compute/10 -n 3007:35
Yashadmcleod: yash@ugocloud:~$ juju debug-log -i nova-compute/10 -n 30 ERROR invalid entity name or password yash@ugocloud:~$ juju debug-log -i nova-compute/9 -n 30 ERROR invalid entity name or password yash@ugocloud:~$ juju debug-log -i nova-compute/11 -n 30 ERROR invalid entity name or password07:45
YashERROR invalid entity name or password07:45
admcleodYash: do you still have this 'upgrade in progress' message somewhere?07:47
admcleodYash: also i forget, which juju version are you on? (juju --version)07:50
admcleodYash: also can you pastebin the full results of 'juju status --format=yaml'07:51
Yashjuju 2.0 7 beta07:56
Yashnova-compute/9           waiting         executing   2.0-beta7 2                      10.100.100.200 Incomplete relations: image, storage-backend             neutron-openvswitch/36 error           idle        2.0-beta7                        10.100.100.200 hook failed: "install"                                   ntp/73                 error           idle        2.0-beta7                        10.100.100.200 hook failed: "install"       07:56
admcleodYash: hmm08:21
admcleodYash: how did you resolve the issue you were having yesterday? with connecting to the ip / port?08:23
admcleodYash: also can you upgrade juju to the latest version?08:25
Yashadmcleod : I restarted machine after login using container exec command08:31
Yash2.0-beta7-xenial-amd6408:31
YashHow to upgrade?08:31
Yashusing ppa?08:31
Yashdevel one?08:31
admcleodyes08:31
admcleodbeta8 is available08:32
Yashppa:juju/devel08:34
Yashright?08:34
YashAnd do I need to bootstarp again?08:34
Yashbabbageclunk: welcome :)08:35
Yash*bootstrap08:35
Yashamd64 2.0-beta9-0ubuntu1~16.0408:36
Yash 2.0-beta908:36
Yashits downloading 908:36
Yashis that ok?08:36
Yashadmcleod: please confirm08:37
admcleod_Yash: im sorry i seem to have disconnected and only saw you ask 'devel?' to which i responded 'yes', was there something else?08:38
Yashppa:juju/devel08:38
Yash amd64 2.0-beta9-0ubuntu1~16.0408:38
Yashis that ok?08:38
Yashnp :)08:39
YashAlso do I need to bootstrap again?08:39
admcleod_beta9 -even better :)08:40
admcleod_you should bootstrap again, i think there is something wrong with the current deployment you have there08:40
admcleod_Yash: ^08:41
Yashok08:41
Yash  Thanks let me try with beta 908:41
YashThank you08:41
YashIs there anytime when 2.0 stable will release?08:42
=== verterok` is now known as verterok
=== admcleod_ is now known as admcleod
admcleodYash: i was told, but ive forgotten and dont want to guess so ive asked08:44
admcleodyash: (the date)08:44
Yashwhich date... I don't get it?08:45
admcleodYash: the release date for 2.0 stable08:45
Yashohh..my bad ok :)08:45
Yashadmcleod: Thanks08:46
admcleodYash: let us know if re-bootstrapping with the new version fixes things please?08:48
Yashadmcleod: ok..I'm doing it now. I will keep you posted.08:49
Yashadmcleod: is there any tester position? I can join. ;)08:49
admcleodYash: haha im not sure, maybe :)08:50
Yashadmcleod: please ask and let me join your team :) ..lol08:51
admcleodYash: :D08:54
=== jacekn_ is now known as jacekn
Yash1https://api.jujucharms.com/identity/v1/idp/usso/callback?waitid=a593011ca1d5b53b399df26515435a53&openid.assoc_handle=%7BHMAC-SHA1%7D%7B5763c2e4%7D%7BCAq6Vg%3D%3D%7D&openid.claimed_id=https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FhpYfrJt&openid.identity=https%3A%2F%2Flogin.ubuntu.com%2F%2Bid%2FhpYfrJt&openid.mode=id_res&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.sreg=http%3A%2F%2Fopenid.net%2Fextensions%2Fsreg%2F1.1&openid.op_endpoint=https%3A%2F%2F09:29
Yash1{"message":"cannot get user details for \"https://login.ubuntu.com/+id/hpYfrJt\": not found: not found","code":"forbidden"}09:29
Yash1juju authentication problem09:29
jamespagecholcombe, hey - can you join #openstack-charms as well pls11:55
jamespagecholcombe, I tidied https://review.openstack.org/#/c/328374/ in the interest of getting that cleared for the landscape folk11:56
codepython777anyone here?12:06
=== frankban is now known as frankban|afk
jamespagebdx, hey - could you respond to my re-licensing request on openstack-dev pls (ideally want all contributors to agree before we switch to Apache 2.0)13:27
=== fginther is now known as fginther`
valeechis there a way with a manual cloud to prevent juju from removing the machine after all services are removed from it?17:39
lazyPowervaleech - there is a setting to tweak the machine reaping, but i dont recall what it is offhand17:40
gennadiyhi everybody, we have got issue with juju-gui-130. it doesn't display changes. i have found error in dev console - "Unknown delta type: actionInfo"17:49
valeechThx lazyPower17:55
lazyPowervaleech - i'm still looking17:55
lazyPowerthats buried in one of our FAQ documents i think17:55
catbus1Hi, JUJU 2.0 will create a linux bridge interface  as "br-eth0" on the node with eth0 interface. Is there a way to stop juju from creating that bridge interface?17:55
dooferladcatbus1: As it stands the bridge is always created.18:00
dooferladcatbus1: is it actually causing problems, or is it just untidy?18:00
catbus1dooferlad: I will find out if it's causing problems from this charm partner.18:02
bdxlazyPower, valeech: https://www.jujucharms.com/docs/devel/howto-harvesting18:03
valeechbdx: w00t! thanks. One more question, where is the environments.yaml in juju 2.0???18:10
magicalt1outgone away18:10
magicalt1outnever to be seen again18:11
magicalt1outbanished, if you will18:11
valeechhaha I just read that18:11
valeechok so reading the 2.0 docs, I set the provisioner-harvest-mode to none with this command:     juju set-model-config provisioner-harvest-mode=none18:40
valeechI then spun up some services on a machine, verified they worked and then destroyed them. After the services were removed juju stopped the machine and them removed it. Am I missing something?18:41
lazyPowervaleech - it may be prudent to send that to the list - juju@lists.ubuntu.com, that way the core devs can get a chance ot see it and respond, as a lot of them are over in europe and way past EOD for them.18:59
valeechlazyPower got it!18:59
=== tvansteenburgh1 is now known as tvansteenburgh
lazyPowerbdx yo19:28
bdxyo19:47
bdxlazyPower: writing documentation like a madman :-)19:50
lazyPowerbdx - http://146.148.77.23/app/kibana#/dashboard/Dockerbeat-Dashboard19:50
bdxlazyPower: no19:51
bdxredic19:51
bdxulous19:51
lazyPowerawww19:51
lazyPowerhe told me no ;_;19:51
bdx:-)19:51
lazyPowerit just keeps on giving man.19:51
lazyPowernow if only it supported triggers and notifications like prometheus, and we'd have a killer ops app on our hands.19:52
bdxno doubt ... did dockerbeat pre-exist, or did you build that?19:53
lazyPowerits a community beat :)19:54
lazyPowerhttps://github.com/Ingensi/dockerbeat19:54
bdxI have a feeling the beats stack is going to gain traction real fast .... its sooo useful and lightweight. Once people start to understand how simple and powerful it is .... game over20:00
lazyPowerinteresting prediction :)20:08
lazyPowerI hope it does happen though, its a great stack to work with. Super simple and straight forward20:08
bdxthedac: nice mp for dnsha21:12
thedacbdx: thanks. It is coming along. Should be in our 16.07 release21:15
thedacbdx: follow along if you care to https://review.openstack.org/#/q/topic:dnsha21:16
bdxthedac: thats great. thanks, I will21:41
bdxI'm documenting like a monster as of late .... what do you guys think about these top level juju admin categories ->  http://imghub.org/image/HHh422:02
valeechI have made a lot of progress on my juju understanding last night and today. Thanks for all of the help!22:14
valeechI am now stuck and can’t seem to find an answer.22:14
valeechI blew my whole setup away ealier and started with 3 fresh Trusty machines.22:15
valeechI have installed juju 2.0 beta 9 on the first, created a new model and add a manual cloud with 2 machines. I need to setup a postgres cluster. So I ran juju deploy cs:trusty/postgresql-101 —to 0. After postgres came all the way up I then ran juju add-unit postgres —to 1. Postgres installed on the other node and everything looked great until I get “Failed to clone postgresql/0”22:18
valeechThat failure shows up in juju status22:19
valeechIt changes between that and “(leader-settings-changed) Failed to clone postgresql/0”22:19
valeechHow do I troubleshoot this one?22:20
valeechFixed it.22:22
valeechI added my machines to maas using host names not IPs. The two machines weren’t able to resolve each other’s names so postgres could replicate.22:23
valeechI love this channel! you all are so helpful :)22:25
arosalesvaleech: good to see your making progress22:44
valeecharosales thx!22:53
lazyPowervaleech tell your friends about us ^_^22:55
valeechlazyPower That’s why I’m here. I need friends :)22:57
lazyPower:) We welcome you with open arms my friend23:00
valeechSo I have juju 2.0 beta 9 working well on trusty. I would now like to delpoy maas 2.0. If I look at the apt-cache I see the maas versions are old. Is there a way I can specify what version of maas I want loaded at deploy time? Do I have to add the maas dev repositories to the 2 trusty machines so that when the charm installs it gets the latest version?23:16
bdxvaleech: 'sudo add-apt-repository ppa:maas-maintainers/experimental3' will get you the daily23:20
bdxvaleech: then you must 'sudo apt-get update && sudo apt-get install --upgrade maas'23:21
valeechbdx: I only do the upgrade if I have maas installed, right? I don’t have maas installed yet. I am using a manual cloud to deploy maas and then I will connect juju to that cloud once installed23:22
arosaleshave a good weekend folks23:26
valeecharosales you too23:27
=== cmars` is now known as cmars
valeechbdx: apparently the maas-maintainers don’t have a trusty experimental release.23:41

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