=== junaidali is now known as details === details is now known as help === help is now known as Guest51665 [01:45] /query junaidali === test is now known as Guest70724 [02:19] guessing there isa problem with the charmstore? [02:19] http://paste.ubuntu.com/23357102/ === scuttlemonkey is now known as scuttle|afk [04:23] https://github.com/juju/charmstore/issues/686 [06:21] Good morning Juju world [09:16] when following the getting started document from docs, are you supposed to end up with ~/.juju/environments.yaml configured? 'charm test' is confused that it doesn't exist [09:17] yet juju (2.0) is fine with everything [09:18] cargill: where did you read that? [09:19] thats 1.2.x stuff [09:19] a) the location these days is ~/.local/share/juju [09:19] b) environments.yaml doesn't exist any more [09:20] $ charm test [09:20] juju-test INFO : Starting test run on None using Juju 2.0.0 [09:20] juju-test CRITICAL: /home/oku/.juju/environments.yaml file does not exist [09:20] this is what I get [09:21] * magicaltrout defers to kjackal_ [09:21] it may not have been revamped for 2.x I dunno [09:21] hello! [09:21] I'll check for updates just in case [09:21] kjackal_: hi! [09:22] hi cargill, magicaltrout [09:23] hm... charm test I thought this is not anailable on the recent juju+charm tools [09:23] hammer and nailable? [09:24] cargill: where did you read about "charm test" [09:25] oh, it's meant to be bundletester now? [09:25] just tried it, thinking charm build, charm proof, charm test would be the sequence :) [09:25] https://jujucharms.com/docs/2.0/tools-charm-tools look at this it is here!! [09:26] seems to suggest charm test is indeed valid terminology [09:30] so do I use charm test or bundletester? and is bundletester in the repos/ppa? [09:32] cargill: I would suggest you use bundletester, at least this is what i am using here [09:32] bundle tester should be installable by pip [09:32] sudo pip install bundletester [09:33] hmm, pip means you don't get updates unless you remember to ask for them... [09:33] (the joys of system package managers :)) [10:16] Morning all! [10:17] In my tests, I sometimes see 'juju ssh ...' failing with "Permission denied (publickey)." for just one or two units in the deployment; it's fine for all the other machines. [10:18] There are google hits for this ("juju ssh permission denied (publickey)"), but they're quite old. [10:19] So it looks like Juju is failing to copy my public key onto those machines... [10:20] Does anyone else see this, and is there a workaround? [10:23] neiljerram, are you able to manually ssh to those nodes? [10:23] ssh ubuntu@ [10:23] from maas [10:24] junaidali, I'm not sure, because this happens in the middle of an automated test. I can try modifying the script to add that in, if you think it will help. [10:45] junaidali, I'm trying that now, let's see... [11:02] junaidali, Unfortunately I am still seeing 'Permission denied (publickey)' with one of the units, even when I do 'ssh ubuntu@' first. I get 'Permission denied (publickey)' for 'ssh ubuntu@ ls', and then also for 'juju ssh ls'. [12:14] hi Hjackal [12:58] is it possible for a juju action to take a large JSON blob as a value? [13:00] icey: its a pain in the balls [13:00] you can, but you need to escape it all [13:01] wtf -_- [13:02] escape it even though it's wrapped in single quotes ? [13:02] yeah, I found for a charm where the save format is json, I couldn't get it to ingest the stuff unless it was escaped [13:02] this was a while ago, but I doubt its changed [13:02] magicaltrout: yeah, giving errors like: ERROR json: unsupported type: map[interface {}]interface {} [13:02] yeah it tries to parse it..... [13:04] * icey cries [13:04] Hi, I'm creating a charm for our product ScaleDB UDE, I have some questions, could I propose them ? [13:05] go wild SDB_Stefano [13:06] ok, I have to create a plain/easy charm that the only thing we need is to execute a install/hook to install our software, so : [13:06] I started using https://github.com/juju-solutions/layer-basic as template [13:07] about the layer.yaml : [13:07] should it contains ' includes: ['layer:basic']' ? or it's not mandatory, I don't need it [13:08] SDB_Stefano: it should [13:08] when you said "use layer basic as a template" you mean you git cloned it? [13:08] or did `charm build` ? [13:08] yes git clone [13:08] wrong answer [13:08] I : [13:08] SDB_Stefano: the better way to start, is to run `charm create` [13:08] sorry yeah create [13:09] SDB_Stefano: charms incur a compilation process, which means things like layer basic will be included in the final, compiled product [13:09] https://jujucharms.com/docs/stable/authors-charm-writing <- SDB_Stefano [13:12] the current charm is working, I think that I have only to refine, it's need that I restart using ' charm create' [13:13] SDB_Stefano: I'd behappy to help shape your charm into a layer if it's available somewhere [13:14] ok, great , I'm going to deploy the current version in github, just a moment [13:14] marcoceppi is like a charm rewriting ninja [13:14] Hello SDB_Stefano, what's up? [13:15] Hi kjackal, I have some questione about the charm [13:16] could we have a short skype call, maybe it could be easier ? [13:16] Sure [13:16] neiljerram, looks like your node is not up [13:17] hmm, great, using bundletester complains about python linting issues in the pgsql layer and that makes it fail [13:18] not that I have control over that layer in the first place... [13:18] junaidali, I'm sure that the node was up; juju status had given a successful report for it. [13:20] junaidali, you can see this in the transcript of the bug that I just reported, at https://bugs.launchpad.net/juju-core/+bug/1635622 [13:20] Bug #1635622: 'juju ssh ...' fails with Permission denied (publickey), for only one or two machines in a deployment [13:33] cargill: if you run bundletester with -F it will run all the tests and not stop on the first error [13:39] how is that handled when I submit the charm for review? [13:42] cargill: we usualy ping the author of the other layer to fix the problems, but that might block you as well since we might not be able to verify the correctness of your charm either. [13:43] if it's just python linting issues? [13:43] cargill: linting errors will most likely not block you [14:05] If i want to set config-flags for nova-compute i can't set nfs_mount_options=nfsvers=3 [14:05] because there are 2 = signs [14:12] BlackDex: quote the value [14:13] BlackDex: furthermore, I don't see nfs_mount_options as config on the charm https://jujucharms.com/nova-compute/ [14:17] marcoceppi: tried that not working [14:17] BlackDex: lwhat's the error you're getting, exactly? [14:17] its juju set nova-compute config-flags='nfs_mount_options="nfsvers=3"' [14:18] that is what needs to be done [14:18] that the config-flag value is not correct [14:35] BlackDex: taking a look [14:36] BlackDex: you may want to ask in #openstack-charms this might be a bug with how commands are being parsed [15:01] how do I propose a charm to the store again? [15:02] marcoceppi: thx i will go there :) [15:02] cargill: http://review.jujucharms.com/ [15:49] marcoceppi: thanks === freyes__ is now known as freyes [16:25] mbruzek: Your wish is my command: https://github.com/juju-solutions/charms.reactive/pull/86 [16:25] (And thank you for keeping me honest) [16:25] Sorry to be so pedantic [16:27] cory_fu: merged [16:35] Cynerva: ping [16:35] mbruzek: pong [16:35] Cynerva: or ryebot: I am getting this error with a defined action ERROR invalid params schema for action schema restore-snapshot: bool is not a valid type [16:35] type: bool [16:36] mbruzek: i believe the correct type is boolean [16:36] mbruzek: hmm I think the type needs to be 'boolean' [16:36] I knew you guys would know. [16:36] Thank you [16:37] mbruzek: cool, glad to help! [16:37] I should have tried that before asking but I gave up after I searched the documentation and found no boolean options [16:39] mbruzek: I've found it useful to refer to json-schema docs for action stuff. The primitive types (including boolean) are here for example: http://json-schema.org/latest/json-schema-core.html#anchor8 [16:40] Thanks Cynerva === ubuntu is now known as Guest33397 [17:38] Hi [17:38] I am trying to deploy Openstack charm from the store : https://jujucharms.com/openstack-base/ [17:38] I have a KVM and MAAS is configured in one guest from that box. Juju is installed and could deploy a sample charm as well. [17:38] However when i deploy Openstack charm from store I get "Failed deployment" as the status [17:38] The MAAS log ahows as : [17:38] Oct 20 15:38:32 maascontroller maas.node: [INFO] vm3: Status transition from DEPLOYING to FAILED_DEPLOYMENT Oct 20 15:38:32 maascontroller maas.node: [ERROR] vm3: Marking node failed: Node operation 'Deploying' timed out after 0:40:00. Oct 20 15:38:37 maascontroller maas.node: [INFO] vm4: Status transition from DEPLOYING to FAILED_DEPLOYMENT [17:39] Any idea on this error ? Will increasing the timeout fix the issue ? [17:47] Hi, for the storage support in MAAS for juju version 1.25.. the documentation says -  This storage provider is static-only; it is currently only possible to deploy charms requiring block storage to a new machine in MAAS, and not to an existing machine. [17:49] What exactly new machines mean here? [17:57] Trying to learn Juju 2 by setting up a local cloud (lxd). Controller gets created just fine and i can see it with `lxc list` but when i try to deploy a charm it just hangs. Any hints? [17:58] deanman: check out juju status --format=yaml and see if there's anything fishy [17:58] deanman: or juju debug-log [18:00] ok it seems its downloading a trusty image to deploy the charm by default where i would have expected that it would use a xenial image, same as with controller. [18:00] thanks rick_h_ [18:01] deanman: hmm, something in the config set trusty as the default? [18:01] just following getting started guide from stable docs [18:01] deanman: you on xenial? [18:02] xenial 64 VM on MacOS host [18:02] the deployed charm was mysql [18:03] deanman: oic, ok so that's probably because mysql charm isn't xenial ready it looks like [18:03] * rick_h_ notes it's less crazy then [18:04] ok rick_h_ fair enough, so in general having a xenial64 VM and then using local as a cloud controller to deploy consequent charms in LXD is OK for dev. workflow? [18:04] yep [18:08] just when I want to create a charm, github is down. charm-create fails due to trying to get templates from there [18:08] :( [18:09] is that mirrored anywhere else? [18:10] rick_h_: is juju gui deployed with controller by default? [18:13] cory_fu: this world wide dns problem just got real! "unit-namenode-0: 18:05:54 INFO unit.namenode/0.install Error: Could not connect to https://forgeapi.puppetlabs.com". i didn't care before, but now i'm inclined to write a letter to congress. [18:13] (and hope al gore sees it) [18:15] deanman: yes [18:15] deanman: just run 'juju gui' [18:17] kwmonroe: lol [18:18] But yeah, it's a pretty significant attack. I think python.org is being affected as well [18:20] good news is that the ddos people failed to remember never to release on a friday. we can all just go home. if they really wanted havoc, they would have waiting till monday. [18:34] Can anyone please tell me on how to get charm-tools 2.1.4 ? Mine is in 2.1.3 [18:34] I already did sudo apt update && sudo apt upgrade [19:05] anyone can help with charm storage? using a cinder volume and the charm hangs in a pending mode awaiting attachment [20:03] suchvenu: you can sudo pip install charm-tools [20:03] to get the latest verison [20:23] suchvenu: Best I can tell, from https://github.com/juju/charm-tools/blob/master/setup.py#L11, a version newer than 2.1.2 doesn't exist [20:25] pypi would disagree with me https://pypi.python.org/pypi/charm-tools [20:52] question... so with reactive how many reactive functions can trigger in a file for a single hook? [20:52] lutostag: As many as match [20:52] As long as their preconditions match, they will be triggered. There's no limit otherwise. [20:52] cory_fu: ok, that's what I thought, if I'm in debug-hook I assume I can list the states, so I'll try that, must not have a state I should [20:53] lutostag: Easy way to see the states from the CLI: charms.reactive -y get_states [20:55] cory_fu: that was easy, thanks [21:24] charm publish -> charm release... that was recent I'm not crazy right? [21:27] yeah lutostag, you're not crazy. it was right around the beta->rc timeframe === rcj is now known as Guest57444