/srv/irclogs.ubuntu.com/2014/12/05/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
=== kadams54 is now known as kadams54-away
=== linstatsdr_ is now known as LinstatSDR
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== erkules_ is now known as erkules
jaceknhello. I it possible for a subordinate charm to establish 2 relations to its master?09:53
jaceknare there know problems with juju from ppa:juju/stable ? https://bugs.launchpad.net/juju-core/+bug/139960610:51
mupBug #1399606: juju bootstrap of local environment failing <juju-core:New> <https://launchpad.net/bugs/1399606>10:51
ezobnlazyPower: Not had time yesterday - just create https://bugs.launchpad.net/juju-core/+bug/139961311:24
mupBug #1399613: juju-core not using constraints when creating KVM  unit on maas machine <juju-core:New> <https://launchpad.net/bugs/1399613>11:24
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
lazyPowerjacekn: its certainly possible to have 2 relationships with a sub to a service.14:08
jaceknlazyPower: thanks, this is good news for me14:17
plarsis there a ?-relation-changed hook that should fire when the config on a subordinate charm is changed? I'm trying to do something like that and someone recommended container-relation-changed, but it's not working for me15:13
lazyPowerplars: only if the relationship name between the service and your sub is 'container'15:19
lazyPowermarcoceppi: do we allow juju-info-relation-changed hooks? i haven't actually tried to do this before.15:19
lazyPoweri'm iffy on if that'll work as juju-info is reserved15:19
marcoceppilazyPower: yes, if the relation name is called juju-info15:19
plarslazyPower: ah, so we have to have an explicit relationship name for it?15:19
marcoceppibut don't call the relation juju-info15:19
lazyPoweryeah15:19
lazyPowerso if your relationship is like such15:19
lazyPowerrelation: foo15:19
marcoceppiplars: you can use the juju-info interface15:19
lazyPowerinterface: bar15:19
lazyPowerits foo-relation-changed15:20
plarsmarcoceppi: how do you mean?15:20
marcoceppiplars: http://paste.ubuntu.com/9383535/15:20
marcoceppijuju-info, as an interface, is what you really need, but don't use "juju-info" as the releation name, instead name it something more useful15:21
plarsthanks, I'll give it a try15:21
ejathi tvansteenburgh15:27
ejathow r ya ?15:27
tvansteenburghhey ejat15:29
ejatdid u already have time to fix and update the limesurvey charm ?15:30
* ejat no worries .. just asking .. 15:30
tvansteenburghejat, i got the install fixed but there is still a prob in the db-relation-changed hook15:32
ejatthanks for the update.15:33
ejatdo u file the bugs ? maybe i can subscribe and follow the bugs :)15:33
tvansteenburghejat, no i haven't15:34
ejatmaybe need to seek Clint Byrum help on this15:36
tvansteenburghejat https://bugs.launchpad.net/charms/+source/limesurvey15:36
tvansteenburghlooks like bugs already reported15:36
ejatowh ..15:36
ejatok thanks tvansteenburgh15:36
=== roadmr is now known as roadmr_afk
ejatinstall hook reported15:39
ejatbut not the db-relation-changed15:39
ejatright ?15:39
tvansteenburghwhoever fixes install will see that db- is broken15:41
ejat:)15:45
=== fenris- is now known as ejat
=== roadmr_afk is now known as roadmr
ejathi ...17:15
ejatim facing this for hpcloud17:15
ejathttp://paste.ubuntu.com/9384755/17:15
ejatcan someone help me?17:15
joseejat: are you sure your credentials are correct?17:16
joseand all the settings are correctly put on the environments.yaml file?17:16
ejatyups .. ive checked17:17
ejatA common mistake is17:18
ejatto specify the wrong tenant. Use the OpenStack "project" name17:18
ejatfor tenant-name in your environment configuration.17:18
ejatneed to create project name 1st?17:18
ejatthen put that name in .yaml??17:18
jcastromarcoceppi, can you this this one up? http://askubuntu.com/questions/554246/deploying-openstack-with-just-two-machines-with-juju17:19
marcoceppijcastro: following up17:21
ejatcan i use userpass instead of keypair ?17:23
ejator best recommend keypair?17:23
jcastroI've used both but I think they recommend keypair17:23
joseejat: when I set up hpcloud a couple months ago, I followed the instructions at jujucharms.com/docs and found no errors17:24
josehave you checked those?17:25
jcastrothere should be a screenshot pointing to where the exact tebnant name is17:25
* ejat checking and syncing with the docs .. 17:25
ejatjcastro: i already put same as it is17:26
ejatshould i create another project?17:26
jcastromarcoceppi, I also tossed some bounties on the openstack and maas tags to motivate folks if you want to do the same17:26
marcoceppiack17:26
ejatbecause xxx-default-tenant17:27
ejatbecause mine was xxx-default-tenant17:27
ejatbecause last time i use userpass ...17:31
ejat:(17:31
jcastrook so  you want to switch it to userpass?17:31
jcastroejat, how about this? http://pastebin.ubuntu.com/9385015/17:33
ejati think ... im having problem while im using this as my identity https://region-a.geo-1.identity.hpcloudsvc.com:35357/v3/17:42
ejatis there any problem if i use 2.0 and 3 ?17:42
ejatjcastro: http://paste.ubuntu.com/9385155/17:43
designateI am trying to bootstrap an environment using maas/juju (latest stable versions of both) but I'm getting the following error: "401 OK (Authorization Error: 'Expired timestamp: given 1417774874 and now 1417800053 has a greater difference than threshold 300')" despite the fact that I have configured an NTP server in MAAS that is reachable by all servers.17:43
marcoceppidesignate: is your local computer also ntpdated?17:46
jcastroejat, huh unsure on that one, have you seen that before on hpcloud sinzui?17:46
designatemarcoceppi: if by local computer, you mean the machine I'm running "juju bootstrap" from, then yes...it is also the maas box17:46
marcoceppidesignate: interesting17:47
designatemy "local" computer's time will in no way affect maas or juju as I am SSHd into the box.17:47
marcoceppipersonally, I've never seen that error, it's being generated by maas and not juju17:48
marcoceppiis that error presented during the bootstrap phase or when you run juju status after bootstrap?17:48
marcoceppiare you using fastpath installer?17:48
marcoceppiwhat version of juju?17:48
designate 1.20.13-0ubuntu1~14.04.1~juju117:49
sinzuiejat, I don't know about auth version, but i can tell you in a few minutes. I have been using v217:49
designateit happens during "juju bootstrap"17:49
designateyes I am using fastpath installer17:49
ejatsinzui: owh okie ...17:50
ejatsinzui: http://paste.ubuntu.com/9385155/17:50
sinzuiejat, my https://horizon.hpcloud.com/project/access_and_security/ doesn't let me use v3, it just permits v217:50
* sinzui tries anyway17:50
sinzuiejat, I cannot use v3, but that might be because Hp doesn't list it as my as my identity endpoint17:53
=== kadams54 is now known as kadams54-away
ejatbrb17:58
=== kadams54-away is now known as kadams54
jumpkickI'm running on ubuntu 14.10, when I try to deploy my 3rd charm after juju-gui and another charm it is failing with a 1 hook failed "install", what's the best way to troubleshoot this (I19:07
jumpkick(I'm a juju noob)19:07
jumpkickI've already destroyed and recreated the environment with juju-quickstart twice19:08
=== kadams54 is now known as kadams54-away
=== CyberJacob|Away is now known as CyberJacob
jcastrojose, yo yo19:30
josejcastro: hey!19:30
jcastrombruzek, 30 minute warning!19:30
jcastrojose, ^^19:30
mbruzekack19:30
joseI have to leave real quick (less than 10m) and I'll be back here19:30
josedon't worry19:30
mbruzekjose are you going to give me a link19:45
josembruzek: I am, yes19:45
lazyPowerjumpkick: hey sorry about the latent reply19:47
lazyPowerjumpkick: there's a few things you can do 1) would be to investigate the log output - but that can be cumbersome, especially with an hour of log spam piling on top of that19:47
lazyPower2) use juju debug-hooks to attach to the unit, run juju resolved --retry in another terminal to enter the hook context and run the hook interactively to find the failure (and optionally correct the broken behavior)19:48
lazyPowerjumpkick: if you've got the time, we did an excellent charm school over this: https://www.youtube.com/watch?v=NjERFuBs2S819:48
jcastrojose, hangout URL?19:53
joseI sent you an invite19:54
mbruzekhttps://plus.google.com/hangouts/_/hoaevent/AP36tYegIWRyr0b1jvjaNiDlQDG_L-JKYd8WtjRoU-pWwUxGVqPDTw19:54
jcastrook fellas19:54
jcastrohttps://plus.google.com/hangouts/_/hoaevent/AP36tYegIWRyr0b1jvjaNiDlQDG_L-JKYd8WtjRoU-pWwUxGVqPDTw19:54
jose#ubuntu-on-air20:01
cory_fuubuntuonair.com still shows the Ubuntu Community Q&A video instead of the charm school20:02
skaysame here20:03
mbruzekJorge that is enough20:04
cory_fuVideo is here, though: https://www.youtube.com/watch?v=17FFAhhHPLI20:04
kwmonroe:)20:04
mbruzekI have all this stuff in my script20:04
mbruzekyou are stealing all my best material20:04
skaycory_fu: thannks :)20:04
kwmonroepage 2 man!  page 2!20:04
mbruzekjcastro20:04
josehuh, let's give it another update20:05
jcastrois he supposed to be showing slides?20:05
joseno, there's people saying ubuntuonair is not showing the right video20:06
jcastrostill the old video for me20:07
josejcastro: can you try refreshing now, please?20:09
jcastroworks!20:09
jose\o/20:10
kwmonroe:)  good lookin out for creds jose20:15
jose:P20:15
=== roadmr is now known as roadmr_afk
kwmonroejcastro: you froze up 1/2 way through the "over arching question" itnro20:37
jcastrothat's ok20:37
skayuh oh. repeat the question when you come back20:37
jcastroit's hard locked now20:37
jcastroit has not been a good hangout week for me20:38
kwmonroeexcellent thumbnail.  you look so happy.20:38
jcastrojose, QUESTION: Do we have any things in place to allow people to host their own internal charm store?20:38
joseack20:38
josewill ask in a min20:38
josejcastro: invited you, try joining again20:39
jcastrosec, it's a chromebook, trying to figure out how to reboot it20:40
jose:P20:40
josetake the battery out?20:40
=== kadams54 is now known as kadams54-away
josejcastro: just asked :P20:42
=== roadmr_afk is now known as roadmr
jumpkicklazyPower: thanks I'll watch that video and give juju resolved --retry a go20:51
=== kadams54-away is now known as kadams54
jumpkickI ran juju debug-hooks on my failed charm...   byobu-tmux is going nuts spewing the statusbar all up the screen and "byobu-screen" tells me I can't use it because root doesn't own /home/ubuntu21:02
jumpkicksigh, I wish gnome terminal would not have this problem21:02
jumpkickholy crap, I just fixed it by setting the character set to UTF-821:05
marcoceppijumpkick: we experienced that issue elsewhere, it may be worth while mentioning that in the docs21:18
jumpkicklazyPower: Watching your debugging hooks youtube video - the reason your mediawiki test curl failed to pull up media wiki is because you needed to provide "-L" to follow redirects ...22:26
jumpkickthough I'm guessing somebody already mentioned it by now... lol22:26
lazyPowerjumpkick: i was super excited to be leaving to see my family - so i was going 90mph and not thinking straight - is what i've chalked it up to22:32
whitanybody here ever wish they could embed a charm in a repository? sort of like how folks embed packaging metadata with the code for an application?22:35
lazyPoweri do22:39
lazyPowerhaving a metadata.yaml or charm.yaml that handles the details for me would be tops22:39
lazyPowerjust point juju @ my repo and let it go22:39
=== kadams54 is now known as kadams54-away
=== CyberJacob is now known as CyberJacob|Away

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