=== freeflying_away is now known as freeflying | ||
=== thumper-afk is now known as thumper | ||
=== CyberJacob|Away is now known as CyberJacob | ||
noodles775 | InformatiQ: Glad you found the vars. FWIW, I included an example of cat'ing the vars yaml file in the paste at line 53: http://paste.ubuntu.com/6442336/ | 08:03 |
---|---|---|
noodles775 | InformatiQ: and thanks for the pointer about the key names in ansible, I'll update that in charm helpers too. | 08:05 |
freeflying | can we change config flag with juju set dynamically? | 08:25 |
freeflying | like set quantum's ext network pool | 08:25 |
noodles775 | freeflying: running `juju set servicename mysetting=foo` will trigger the config-changed hook on all units of servicename in addition to providing the new value for the mysetting config optin (which must be part of the config.yaml). | 08:39 |
freeflying | noodles775, sounds cool, thx | 09:06 |
=== axw_ is now known as axw | ||
InformatiQ | good morning/day/whateveryoutimeis | 09:54 |
InformatiQ | is there any page which lists who is using juju? | 09:55 |
InformatiQ | I usually don't see juju much in the devops circles (which is where juju should be really) | 09:56 |
InformatiQ | so I was hoping to get a feeling of the adoption of juju | 09:56 |
InformatiQ | also if anyone here does juju consulting I would interested to have a quick chat | 09:57 |
noodles775 | Hi InformatiQ. I'm not aware of a page listing adoption, jcastro is the person to talk to I'd think (when he's awake). | 09:58 |
InformatiQ | Hi noodles775 | 09:58 |
InformatiQ | noodles775: so in ansible if i need to open a port i just run the command in shell from ansible | 10:00 |
InformatiQ | right? | 10:00 |
noodles775 | InformatiQ: Normally if it's to expose the service, you'd use `juju expose servicename`... is that what you're after? eg, https://juju.ubuntu.com/docs/charms-exposing.html | 10:02 |
InformatiQ | noodles775: i thought you had to put open anyway | 10:09 |
=== freeflying is now known as freeflying_away | ||
noodles775 | InformatiQ: yes, sorry. I'm not sure of the best way to do that with ansible - perhaps a command is the best way. | 10:15 |
* noodles775 checks | 10:15 | |
noodles775 | Yeah, there's a charm-helper for it (charmhelpers.core.hookenv.open_port), but it's just trivially calling open-port. | 10:18 |
noodles775 | jamespage: Thanks for landing the one-liner yesterday. I've got another branch here which deals with an issue InformatiQ pointed out yesterday - but I'm assuming I shouldn't be pinging you for each branch. Are there a bunch of people subscribed or reviewing? | 10:22 |
noodles775 | Anyway, fwiw: https://code.launchpad.net/~michael.nelson/charm-helpers/no-hyphens-in-ansible-yaml-keys/+merge/195931 | 10:22 |
jamespage | noodles775, I'll do it for future review credit :-) | 10:26 |
noodles775 | jamespage: Done :-) (although, can we go by line-count? :P) | 10:26 |
jamespage | noodles775, reviewed and merged - thanks | 10:29 |
noodles775 | Great, thank-you! | 10:29 |
InformatiQ | noodles775 jamespage : so everytime i make a charm using ansible i copy the charmhelpers tree in my hooks? | 10:32 |
jamespage | InformatiQ, for now yes | 10:32 |
jamespage | there are plans to release charm-helpers (at least the stable, core ones) for 14.04 | 10:33 |
jamespage | + PPA's for backports (I expect) | 10:33 |
InformatiQ | 14.04 that's a long wait | 10:33 |
InformatiQ | i need to get familiar with launchpad | 10:36 |
noodles775 | InformatiQ: Based on our experience yesterday, I'm putting together a charm-bootstrap-ansible branch on github that'll make it easier (it uses a script to just pull in or update the parts of charmhelpers you need) | 10:37 |
InformatiQ | noodles775: oh great thanks noodles | 10:38 |
InformatiQ | i am more familiar with github | 10:39 |
stub | I'm trying to work out the best place to initialize some storage shared between units in my service (a Swift container) | 10:44 |
stub | I'm trying to work out the best place to initialize some storage shared between units in my service (a Swift container) | 10:45 |
stub | The problem I see is that if I do it in my install or config-changed hook, then every unit will attempt to intialize it. | 10:45 |
stub | If I do it in my peer relation-joined hook, then it is only initialized if there are more than one unit. | 10:46 |
noodles775 | stub: it shouldn't matter I think? (that is, the PUT request for container creation is idempotent - http://docs.openstack.org/api/openstack-object-storage/1.0/content/create-container.html ) | 10:51 |
noodles775 | stub: you just get a 202 instead of a 201 | 10:51 |
stub | I guess that isn't the real problem | 10:52 |
noodles775 | Ah - or you want to do more than just create the container... | 10:52 |
noodles775 | Yeah. | 10:52 |
stub | If there is a single unit, the unit needs to use the container. If there are multiple units, only the master unit needs to use the container. | 10:53 |
stub | If I 'deploy --units=3', then until the peer relation hooks are run I'll have 3 units that don't know about each other and will all attempt to use the shared storage. | 10:53 |
noodles775 | Hrm, that seems to make sense though (that until they know about each other, they assume they use the shared storage themselves). | 10:54 |
stub | yeah. Also, if I add a new unit I don't want it to crap all over the shared area when it thinks it is alone. | 10:55 |
stub | I think I need some sort of locking, but I don't think I can do that with Swift? | 10:55 |
stub | create_container_if_not_exists_else_fail | 10:56 |
noodles775 | You should be able to do that with multiple requests? (ie. a HEAD for metadata, which will 404 if it doesn't exist) | 10:57 |
stub | Maybe append a UUID to the container name... | 10:57 |
noodles775 | Ah - right, but that'll just race. | 10:57 |
InformatiQ | stub why not the first container writes a lock file to the container (assuming the container is a filesystem of some sort) | 10:58 |
stub | That master-election thing someone mentioned on the mailing list would be useful here (that doesn't eist) | 10:58 |
stub | InformatiQ: Swift is an object store, and some of its features make locking problematic I think | 10:59 |
gnuoy | jamespage, fwiw I've resubmitted the multiple floating pools branch. I see the mp to nova-compute is still outstanding, do you have any philosophical objection to that one or is it just in the queue ? | 11:00 |
noodles775 | (lake of consistency, for example, http://julien.danjou.info/blog/2012/openstack-swift-consistency-analysis ) | 11:00 |
jamespage | gnuoy, in the queue but uds this week | 11:02 |
gnuoy | ok, understood | 11:02 |
jamespage | gnuoy, was that the one that does the mtu setting stuff? | 11:02 |
jamespage | I was pondering that approach | 11:02 |
gnuoy | jamespage, thats the one | 11:02 |
gnuoy | jamespage, what's your reservation about the approach ? | 11:03 |
jamespage | gnuoy, well as much as possible I'm adverse to twiddling network knobs and configuration in the charm | 11:04 |
jamespage | I think that should be done during provisioning and written into /etc/network/interfaces | 11:05 |
gnuoy | jamespage, really ? Surely a customers experience would be far better if they deploy openstack via stock maas and twiddle the mtu setting afterwards. If you do object strongly I can add it to my MaaS hacking instead | 11:08 |
jamespage | gnuoy, that's kinda why I'm still pondering it | 11:08 |
gnuoy | jamespage, I can see your pov, there is an element of compensating for a missing MaaS feature | 11:09 |
jamespage | gnuoy, yes indeed | 11:11 |
* jamespage thinks a bit more | 11:12 | |
ashipika | hello juju! | 11:39 |
ashipika | having a bit of a problem with juju and MaaS.. and i was hoping somebody here would be kind eough to shed some light on a juju newbie | 11:40 |
ashipika | three computers.. one installed with ubuntu server CD with maas (create new...), configured (managed eth0, dhcp, etc).. the other two computers comissioned as nodes (raring, wake on lan..).. juju init, changed the .yaml file.. juju bootstrap went fine: | 11:43 |
ashipika | WARNING picked arbitrary tools &{"1.16.0.1-precise-amd64" "http://192.168.1.99/MAAS/api/1.0/files/?key=11d9953c-51d5-11e3-a0a8-001e8c1c89bd&op=get_by_key" "9be79a60ec6084880521069f7555c011825ed9294a65cbac575333afe6bf1484" %!q(int64=4638204)} | 11:43 |
ashipika | ... | 11:43 |
ashipika | juju status.. freezes.. | 11:43 |
ashipika | 2013-11-20 11:29:51 INFO juju.state open.go:68 opening state; mongo addresses: ["kwhp7.local:37017"]; entity "" | 11:43 |
ashipika | any ideas? | 11:43 |
jamespage | ashipika, I would suspect that the bootstrap node is still being installed; but you would need to see which node is allocated in the maas ui and go check to be sure | 11:46 |
jamespage | its possible something bad happened... | 11:47 |
ashipika | jamespage: thanks for your reply. yes. something strange is going on with my maas.. seems to be installing, but the node just shutsdown when it is "done" | 11:48 |
jamespage | ashipika, maas nodes have to be registered and commissioned prior to use; the commissioning step does what you just described above | 11:48 |
jamespage | and that's triggered when you accept the nodes in MAAS | 11:49 |
ashipika | yes.. but the status on the web says: Allocated to <username> | 11:49 |
ashipika | i already went through the commisioning step and accepting and whatnot | 11:49 |
jamespage | ashipika, probably worth asking in #maas - more knowledge in that channel as this sounds maas-ish | 11:51 |
ashipika | thanks! | 11:51 |
ashipika | :D | 11:51 |
InformatiQ | #juju on twitter returns lots of cats a weired people | 11:52 |
=== freeflying_away is now known as freeflying | ||
jamespage | marcoceppi, jcastro: when did lp:charms/ceph -> lp:charms/precise/ceph | 12:57 |
jamespage | ? | 12:57 |
jamespage | jamespage@armstrong:~/src/charms/precise$ charm get ceph | 12:59 |
jamespage | Error: ceph not found in charm store. | 12:59 |
jamespage | ouch! | 12:59 |
jamespage | marcoceppi, ^^ | 12:59 |
marcoceppi | jamespage: what. | 13:30 |
jamespage | marcoceppi, that was my reaction as well | 13:31 |
jamespage | marcoceppi, https://code.launchpad.net/~charmers/ | 13:32 |
marcoceppi | what the hell | 13:32 |
jamespage | marcoceppi, I suspect " Registered by Curtis Hovey 17 hours ago " is the cause | 13:32 |
jamespage | sinzui, ^^ | 13:33 |
jamespage | https://launchpad.net/charms/trusty | 13:33 |
=== exekias_ is now known as exekias | ||
sinzui | jamespage, marcoceppi egad. I don't think registering trusty is the exact cause because I registered bundles several months ago | 13:49 |
sinzui | jamespage: I just changed trusty to experimental to de-empahise it | 13:50 |
jamespage | mthaddon, ^^ can you shed light on this issue? | 13:52 |
sinzui | jamespage, mthaddon: With projects, you explicitly set the series that is the focus of development. | 13:52 |
jamespage | sinzui, charms is a distributed tho | 13:53 |
jamespage | so I expect it behaves differently | 13:53 |
sinzui | jamespage, I did register trusty yesterday as I did bundles a few months ago. I did not edit precise | 13:53 |
sinzui | precise is set as supported, and once in that state, I can only become "current stable release" and "obsolete" | 13:54 |
sinzui | trusty is experimental | 13:54 |
* mthaddon catches up | 13:58 | |
sinzui | mthaddon, jamespage: I was mistaken. /charms/trusty was NOT experimental. It claimed to be active development like precise. I just changed it to be Experimental after flipping between staging.lp and lp | 13:59 |
mthaddon | ah, yeah, it's now working for me, so I'm glad something was changed | 13:59 |
mthaddon | jamespage: I would definitely recommend lp:charms/precise/ceph though | 14:00 |
sinzui | I'm not. I did make the change and I really didn't expect this. And I really don't know if I have fixed anything | 14:00 |
mthaddon | I think if it was set to active development it's entirely expected | 14:02 |
sinzui | jamespage, have I fixed it? I ran "bzr branch lp:charms/ceph ceph" and got a branch | 14:06 |
jamespage | I think so yes | 14:07 |
sinzui | okay I see this command did change the listing | 14:08 |
sinzui | charm search ganglia | 14:08 |
sinzui | damn. ppetraki was the first to spot the problem and I didn't understand the issue when we talked about it | 14:09 |
ppetraki | oh that | 14:14 |
noodles775 | jamespage: another short charmhelpers branch for an error which the tests only highlight when run in isolation :/ https://code.launchpad.net/~michael.nelson/charm-helpers/missing-import-for-ansible-helpers/+merge/195967 | 14:25 |
AskUbuntu | Problems using containers created using juju | http://askubuntu.com/q/379902 | 15:15 |
marcoceppi | sinzui: could you jump in to uds-servercloud-1 ? | 15:15 |
* sinzui does, first killing cpu intensive procs | 15:16 | |
marcoceppi | sinzui: https://plus.google.com/hangouts/_/72cpjufj5oc8omdro2acjh1vco?authuser=0&hl=en | 15:18 |
SuperMatt | all right, now I need to get my head around how relations work in juju! | 15:29 |
SuperMatt | my mind boggles | 15:29 |
SuperMatt | so in the metadata, you can set the requires stuff. I'm not sure why for instance you might need to specify "database:\n interface: mysql." Why the database part, when we already know that mysql is a db | 15:32 |
SuperMatt | does the interface specify the port? | 15:33 |
SuperMatt | or is it something different entirely? | 15:33 |
SuperMatt | hmmmm | 16:46 |
SuperMatt | I think I'm beginning to undestand relations, but at what point does one end of the relationship set their variables, such as ip address, etc? | 16:46 |
SuperMatt | or am I doing things wrong? | 16:46 |
marcoceppi | SuperMatt: so you can set relation data at anytime | 16:48 |
marcoceppi | but it won't be sent until the hook finishes executing | 16:49 |
SuperMatt | basically, I have a reverse proxy, and I want to get the ip address from one of the web servers. how and where would I set the ip address? In the start section? | 16:51 |
marcoceppi | SuperMatt: so your charm is providing the http interface, or is it consuming the interface | 16:53 |
marcoceppi | err, "requires" | 16:53 |
SuperMatt | well I have two charms, one for the web server, one for the reverse proxy | 16:53 |
SuperMatt | and I just want to update the reverse proxy with the ip addresses of the web servers | 16:54 |
marcoceppi | SuperMatt: right, so what you should have is the web server providing the http interface, and the reverse proxy requring the http interface | 16:54 |
SuperMatt | yes | 16:54 |
marcoceppi | SuperMatt: so the http interface relation on the app needs to | 16:55 |
marcoceppi | relation-set hostname=unit-get private-address port=<PORT> | 16:55 |
marcoceppi | SuperMatt: and the proxy http interface relation needs to | 16:55 |
marcoceppi | relation-get hostname | 16:55 |
marcoceppi | relation-get port | 16:55 |
marcoceppi | inside of the hook, so that it can read those values | 16:55 |
SuperMatt | ok | 16:55 |
SuperMatt | so which hook? the relation-changed hook? | 16:55 |
marcoceppi | SuperMatt: it'd be easier to explain if you provided a paste of each of the metadata.yaml files | 16:56 |
marcoceppi | SuperMatt: then I could provide exact hooknames that it would happen in | 16:56 |
SuperMatt | http://paste.ubuntu-helpouts.org/9 | 16:56 |
SuperMatt | http://paste.ubuntu-helpouts.org/10 | 16:57 |
SuperMatt | the second is a modified version of the node-app we talked about yesterday | 16:57 |
marcoceppi | SuperMatt: okay, so on the nginx-hash site, you're going to have a hook called reverseproxy-relation-changed | 16:58 |
SuperMatt | got it | 16:59 |
SuperMatt | I assume that's where I do my magic to update nginx | 16:59 |
marcoceppi | SuperMatt: each relation has four events/hooks tied to them relation-joined, relation-changed, relation-departed, and relation-broken | 16:59 |
SuperMatt | sure | 16:59 |
marcoceppi | SuperMatt: yes, you'll also want to add a realtion-departed/broken hook logic to remove those values from nginx config as the relation no longer exists | 16:59 |
SuperMatt | makes sense | 16:59 |
marcoceppi | SuperMatt: we have an nginx-reverseproxy charm, if you want to use as a reference | 16:59 |
SuperMatt | I might check it out | 17:00 |
SuperMatt | I had to make my own anyway, because I had to compile in an extra plugin | 17:00 |
marcoceppi | SuperMatt: nevermind, we don't have a reverseproxy charm | 17:00 |
SuperMatt | hahaha | 17:00 |
marcoceppi | could have sworn we did | 17:00 |
SuperMatt | well I have a general idea of how to update the conf file | 17:01 |
* marcoceppi may have confused with squid | 17:01 | |
SuperMatt | the only thing I need is the list of IPs from the node-apps | 17:01 |
marcoceppi | SuperMatt: you can do that with relation-list actually | 17:01 |
SuperMatt | oh? | 17:01 |
marcoceppi | SuperMatt: so if you wanted to rebuild the file everytime | 17:01 |
marcoceppi | you could have the reverseproxy-relation-changed run relation-list to get a list of all the units | 17:01 |
marcoceppi | SuperMatt: then loop through those units and do a relation-get to that unit | 17:02 |
* marcoceppi finds example | 17:02 | |
SuperMatt | lemme show you what I have | 17:02 |
SuperMatt | http://paste.ubuntu-helpouts.org/11 | 17:03 |
SuperMatt | that's not by any means complete | 17:03 |
marcoceppi | SuperMatt: that's pretty much the idea | 17:03 |
SuperMatt | sure | 17:03 |
SuperMatt | but ip isn't set anywhere | 17:04 |
marcoceppi | I need to look up the relation-get syntax for specifying a unit | 17:04 |
marcoceppi | SuperMatt: you want to use hostname | 17:04 |
marcoceppi | http interface exposes `hostname` rather than ip | 17:04 |
SuperMatt | right | 17:04 |
SuperMatt | is hostname something that's set automatically by the unit? | 17:04 |
gary_poster | marcoceppi, jcastro can someone give me the hangout for the gui vUDS now please | 17:05 |
marcoceppi | SuperMatt: no, it's something that the relation requries authors to set | 17:05 |
gary_poster | happening now I mean | 17:05 |
jcastro | gary_poster, I just made the same mistake, check the time | 17:05 |
jcastro | it's lunch | 17:05 |
marcoceppi | SuperMatt: the assumption is all service will provide you with a port and a hostname | 17:05 |
jcastro | it just doesn't have a "lunch" session there | 17:05 |
gary_poster | jcastro, oh! ok thanks | 17:05 |
SuperMatt | marcoceppi: ok, I'm beginning to understand | 17:05 |
SuperMatt | so when does the service set that? | 17:06 |
SuperMatt | relation-changed? | 17:06 |
marcoceppi | SuperMatt: relation-changed is the best time to do this | 17:06 |
marcoceppi | http://paste.ubuntu.com/6449144/ | 17:06 |
SuperMatt | ok | 17:06 |
SuperMatt | I think I get you | 17:06 |
marcoceppi | SuperMatt: since you're re-creating the file each time, you could symlink relation-departed and relation-broken to this file and then it'll update whenever a unit goes away | 17:07 |
marcoceppi | and that's your logic for updating when units get removed | 17:07 |
vds | I'm trying to ssh a unit in local environment and I get http://paste.ubuntu.com/6449146/ any suggestions? | 17:07 |
SuperMatt | but the thing I don't understand is, if both ends are running relation-changed at the same time, how does the reverse proxy know when the node has prepared all variables? | 17:07 |
marcoceppi | vds: don't use sudo | 17:07 |
marcoceppi | vds: only use sudo when you're bootstrapping and destroying a local environment | 17:08 |
marcoceppi | SuperMatt: they arent' running at the same time | 17:08 |
SuperMatt | oh | 17:08 |
SuperMatt | ok | 17:08 |
SuperMatt | I just assumed they were | 17:08 |
marcoceppi | SuperMatt: -changed will be run anytime there is a new data on the relation wire | 17:08 |
vds | marcoceppi, I'll try thanks | 17:08 |
SuperMatt | ok | 17:08 |
SuperMatt | I'll just give it a bash now | 17:08 |
SuperMatt | I think I have everything I need | 17:09 |
marcoceppi | SuperMatt: so what happens is, you add-relation and the -joined then -changed event will fire for each unit attached. Then if any of those two hooks added data -changed will be fired for the other side, -changed continues to fire on each side until there is no more new data being sent | 17:09 |
SuperMatt | I see | 17:10 |
SuperMatt | well fingers crossed, here goes nothing | 17:10 |
vds | marcoceppi, if I try to juju deploy without sudo I get http://paste.ubuntu.com/6449178/ | 17:13 |
SuperMatt | marcoceppi: your help has been indispensible throughout my trails and tribulations. For that, I thank you. | 17:17 |
marcoceppi | vds: something is wrong then | 17:17 |
marcoceppi | vds: destroy-environment, then make sure you .juju folder is recursively owned by you | 17:17 |
marcoceppi | then bootstrap/deploy again | 17:18 |
vds | marcoceppi, same result | 17:18 |
marcoceppi | vds: what version of juju? | 17:19 |
marcoceppi | vds: this is really a bug, you shouldn't be using sudo for commands other than bootstrap and destroy-env | 17:19 |
vds | marcoceppi, 1.13.2-raring-amd64 | 17:19 |
marcoceppi | vds: try upgrading to the latest, 1.16.3 and trying again | 17:20 |
vds | let's see what happens... | 17:20 |
=== cmagina is now known as cmagina-lunch | ||
InformatiQ | jcastro: I was told you're the man to talk to about juju | 19:30 |
InformatiQ | :) | 19:30 |
=== cmagina-lunch is now known as cmagina | ||
jcastro | InformatiQ, shoot! | 20:18 |
jcastro | I am ready! | 20:18 |
thumper | BANG! | 20:18 |
* thumper ducks | 20:18 | |
InformatiQ | jcastro: well i was wondering about the adoption of juju, like who is using it, what environments, own charms vs cs | 20:19 |
jcastro | we're still in the early stages | 20:19 |
jcastro | we really didn't hit a production quality release until ~6 months ago | 20:20 |
jcastro | and for some people needing HA is still an issue which we'll address in 14.04 | 20:20 |
jcastro | but we use it in production and we have customers who do | 20:20 |
jcastro | Juju hasn't been included in an LTS yet so the adoption is still early-stages | 20:20 |
InformatiQ | who is your target customers profiles? | 20:21 |
jcastro | So right now the obvious one is anyone deploying and orchestrating on openstack | 20:22 |
jcastro | However I am not a product-ish guy, so right now I'm focused on developers and sysadmins | 20:22 |
InformatiQ | well amazon fits in quite well too | 20:22 |
jcastro | I don't have like a list of personas or anything we target offhand | 20:22 |
jcastro | oh yeah, amazon, hp cloud, and azure are all first class citizens | 20:23 |
InformatiQ | well i am just trying to understand where juju is going | 20:23 |
jcastro | it's just openstack has a bunch of deployment painpoints that we address nicely | 20:23 |
jcastro | oh so did you see the 2.0 roadmap video from today's UDS? | 20:23 |
InformatiQ | so developers write juju code and sysadmin run the juju infra? | 20:23 |
InformatiQ | haven't seen the video yet | 20:24 |
jcastro | well the idea is to bridge dev and ops | 20:25 |
jcastro | for example being able to deploy something when developing it in a way that is similar to how you would run it in production | 20:26 |
InformatiQ | ah you meant you care about them as your target users, ok | 20:27 |
InformatiQ | got that point | 20:27 |
jcastro | https://www.youtube.com/watch?v=ZjzImjEinB8&feature=c4-overview&list=UUyT3AcQaRx_yl1yYLa5ikXQ | 20:27 |
jcastro | is the video | 20:27 |
jcastro | oh for sure. | 20:27 |
InformatiQ | well yeah that is my day job, do ops and get devs involved | 20:27 |
jcastro | right, so the idea with dev charms in particular | 20:27 |
jcastro | like rails, or the django charm | 20:28 |
jcastro | is that a developer will straight away be deploying to instances | 20:28 |
jcastro | and he iterates in a way that can be deployed by ops | 20:28 |
jcastro | I made a joke once, "You ever deploy something from a developer where he hardcoded in `localhost`? That's what we're trying to fix." | 20:29 |
jcastro | so the local provider the guy is developing on uses the same cloud images you would use on say Amazon | 20:29 |
jcastro | and he can rev at his pace on his laptop, and then when he's ready redeploy it to AWS | 20:30 |
jcastro | or over to your internal hardware | 20:30 |
jcastro | we want to make it easy for people to shift workloads around in different clouds | 20:30 |
InformatiQ | yup, and make dev envs as colse as possible to prod | 20:30 |
InformatiQ | which might make a case for mking a juju local provider run on virtualbox for those devs using macs | 20:31 |
InformatiQ | but anyway | 20:31 |
InformatiQ | coming from a sysadmin and ansible background | 20:32 |
InformatiQ | the playbook is a living thing, it changes as your conf changes so next time you dpeloy it it is uptodate and configured) | 20:33 |
InformatiQ | while that doesn't seem like the workflow in juju | 20:33 |
InformatiQ | i know you can always fork and edit the charm | 20:33 |
InformatiQ | just was wondering what is the official view on that? | 20:33 |
zradmin | is anyone else using it with MAAS and having the issue where juju locks up because the maas api is throwing back "not authorized" errors? | 21:16 |
=== CyberJacob is now known as CyberJacob|Away | ||
=== CyberJacob|Away is now known as CyberJacob | ||
arosales | InformatiQ, I think a charm is flexible to accomodate a dynamic playboook. It may be analogous to a git hub project branch that a charm pulls from (at any deploy that git branch could be updated, if not pinned). | 21:55 |
arosales | zradmin, not sure how you were setting up but did you leave any of the fields blank when issuing "createsuperuser" | 21:59 |
arosales | https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1243917 | 21:59 |
_mup_ | Bug #1243917: 'maas createsuperuser' errors out if no email address is entered. <MAAS:Fix Committed by jtv> <maas (Ubuntu):New> <https://launchpad.net/bugs/1243917> | 21:59 |
thumper | jcastro: you around? | 22:21 |
zradmin | arosales: yeah, i have an email address in the superuser but nothing under Full Name, my bug seems to be related to this entry: https://bugs.launchpad.net/maas/+bug/1218997 | 23:09 |
_mup_ | Bug #1218997: maas throws unauthorized sometimes for no reason <intermittent-failure> <maas> <juju-core:Triaged> <MAAS:Invalid> <https://launchpad.net/bugs/1218997> | 23:09 |
arosales | zradmin, can you confirm your clocks are within 5 minutes of each other? | 23:13 |
=== CyberJacob is now known as CyberJacob|Away | ||
zradmin | arosales: yes, between maas & juju they are both on the same time, just different timezones | 23:27 |
sarnold | does date -u on both return the same time? | 23:28 |
zradmin | sarnold: I just ran it on node 0 and maas and they are both returning the same time | 23:31 |
sarnold | zradmin: cool, thanks | 23:31 |
zradmin | sarnold: no problem | 23:32 |
arosales | zradmin, so it may not but be bug 1218997 your are hitting that roughly looked to be a clock sync issue | 23:32 |
_mup_ | Bug #1218997: maas throws unauthorized sometimes for no reason <intermittent-failure> <maas> <juju-core:Triaged> <MAAS:Invalid> <https://launchpad.net/bugs/1218997> | 23:33 |
arosales | hmm . .. | 23:35 |
arosales | zradmin, which version of juju and maas are you running? | 23:38 |
=== freeflying is now known as freeflying_away | ||
zradmin | arosales: juju 1.16.3, MAAS 1.5.4 | 23:49 |
arosales | zradmin, yup that looks recent | 23:51 |
davecheney | zradmin: what does the maas log say | 23:51 |
davecheney | in maas/juju | 23:51 |
arosales | davecheney, hello | 23:51 |
davecheney | maas returns very terse errors to the client | 23:51 |
davecheney | for security reasons | 23:52 |
davecheney | but is usualy much more vocal in its own log | 23:52 |
* davecheney waves to arosales | 23:52 | |
zradmin | davecheney: it's filled with these errors http://pastebin.ubuntu.com/6450947/ | 23:53 |
davecheney | brilliant | 23:56 |
davecheney | can you generate a new user and try to authenticate with that user ? | 23:56 |
zradmin | oauth or just logon to the webpage | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!