File size: 28,616 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
[00:00] <lazyPower> i did some chaos monkey'ing around in here, it seems to be in order
[00:00] <sarnold> achievement unlocked: chaos monkey!
[00:00] <davecheney> lazyPower: fairy nuff
[00:01] <lazyPower> sarnold: thats my middle name ;D
[00:01] <sarnold> lazyPower: hahaha
[00:01] <lazyPower> or was it murphys law....
[00:01] <lazyPower> i forget, either way :P
[00:10] <jcastro> hey lazyPower
[00:10] <jcastro> did we test tomcat on trusty too?
[00:23] <lazyPower> jcastro: nope
[00:23] <lazyPower> just precise
[00:23] <lazyPower> its a good candidate for trusty though, it has a really extensive suite of tests
[00:24] <jcastro> yeah, I'll ask tomorrow
[00:24] <jcastro> might be a nice one to kick it off
[00:25] <jose> guys, after config-changed the service isn't stopped/started, right?
[00:27] <davecheney> jose: no
[00:27] <jose> good then, thanks!
[01:06] <marcoceppi> jcastro: I just kicked off a test, fyi
[01:07] <marcoceppi> against trusty
[01:11] <marcoceppi> hum, so we don't have trusty images in hpcloud
[01:12] <marcoceppi> sinzui: is CI testing juju-core against trusty?
=== timrc is now known as timrc-afk
[01:53] <marcoceppi> haha, so you can deploy a subordinate charm, ie: cs:trusty/unattended-updates and relate it to a precise deployed service
[01:54] <davecheney> marcoceppi: urk
[01:54] <davecheney> that's bad
[01:54] <sarnold> haha
[01:54] <marcoceppi>  ¯\_(ツ)_/¯
[01:54] <davecheney> series, what series
[01:54] <lazyPower> shhhhhh, just relate
[01:55] <sarnold> marcoceppi: nice find :)
[01:55] <davecheney> sarnold: we're entering a world where we have more that one series
[01:55] <davecheney> this is new stuff
[01:55] <marcoceppi> a wholleee newwww worrrllddd
[01:56] <sarnold> davecheney: yeah, the fact that it hasn't been in issue for two years means it could run some pretty deep ruts in the brain :)
[01:56] <davecheney> http://www.tickld.com/cdn_image_thing/662763.jpg
[01:56]  * davecheney has lost sleep over this
[01:58] <marcoceppi> http://i.imgur.com/L2ASIya.gif
[02:01] <lazyPower> the dutch uzi queen
[02:01] <lazyPower> boom chakalaka
[02:02] <davecheney> mmm, dutch uzi
[02:03] <hobbyBobby> I got some mysterious networking issues trying to run lxc on a virtualbox and expose that to my physical host
[02:04] <davecheney> hobbyBobby: i can see how that wouldn't work out of the box
[02:04] <davecheney> -ETOOMANYNATS
[02:04] <hobbyBobby> saw the tutorials on exposing containers to my network, but I think there's a second level of indirection I must follow
[02:05] <davecheney> hobbyBobby: so, you've got your machine, running virtualbox, with ubuntu inside, and inside that are some lxc containers ?
[02:05] <hobbyBobby> yep
[02:05] <marcoceppi> davecheney: i was mistaken
[02:06] <hobbyBobby> davecheney: trying to access from host
[02:06] <marcoceppi> cannot add relation principal and subordinate services series must match
[02:06] <davecheney> hobbyBobby: which host
[02:06] <davecheney> marcoceppi: \o/
[02:06] <davecheney> writing software for the win!
[02:06] <hobbyBobby> davecheney: the virtualbox host
[02:06] <davecheney> hobbyBobby: the host inside virtualbox, or the host hosting virtual box
[02:06] <davecheney> sorry to be a pedant
[02:06] <davecheney> when it comes to networking
[02:07] <davecheney> this matters
[02:07] <hobbyBobby> davecheney: its ok, it's confusing, the physical honest to goodness metal
[02:08] <hobbyBobby> davecheney: verified juju-gui comes up when I don't try to change networking
[02:08] <hobbyBobby> davecheney: but when I do, it bootstraps ok but juju-gui fails to start
[02:08] <davecheney> hobbyBobby: change networking ?
[02:09] <hobbyBobby> davecheney: using this as a guide http://askubuntu.com/questions/281530/how-do-i-run-juju-on-a-local-server
[02:09] <davecheney> hobbyBobby: hat guide assumes your running ubuntu on the ohst
[02:10] <davecheney> not inside virtual box
[02:10] <hobbyBobby> davecheney: and using a bridged network inside the juju vm. I kinda figured that as soon as we started chatting
[02:10] <davecheney> still won't help i'm afraid
[02:10] <davecheney> all the local machines will have 10/8 addresses
[02:10] <davecheney> and there is no routining from your host to those
[02:10] <davecheney> even if they are on a bridged network
[02:12] <hobbyBobby> davecheney: so no way to say bridge the guest network to the guest lxc network
[02:12] <hobbyBobby> *host
[02:13] <davecheney> hobbyBobby: in theory yes, in practice, not
[02:13] <davecheney> no
[02:14] <hobbyBobby> davecheney:  wow, bad times, there goes my dream of a self-contained cluster I can show off
[02:15] <davecheney> hobbyBobby: you could try adding a route to 10/8 from your host to the bridge network that virtual box sets up
[02:15] <davecheney> that might work
[02:15] <davecheney> not tested
[02:16] <marcoceppi> is anyone else having problems conecting to bazaar?
[02:16] <hobbyBobby> davecheney: ok, yea, I definitely could try that, thanks
[02:24] <lazyPower> hobbyBobby: do you need it exposed beyond the dev cycle?
[02:24] <lazyPower> sshuttle would be a good ansewr to this problem
[02:24] <lazyPower> marcoceppi: jose is. he just opened an is ticket
[02:24] <jose> not actually an IS ticket, but reported and they're investigating the issue
[02:24] <marcoceppi> ugh, all I want to do is work
[02:24] <jose> I was so happy branching and pushing :(
[02:25] <lazyPower> its all these mp's i just acked
[02:25] <marcoceppi> fwiw, it's back
[02:25] <lazyPower> lp knew something was up and went away to force us to take a break
[02:25] <hobbyBobby> 	
[02:25] <hobbyBobby> lazyPower: not just now, but I would like it to be able to run off of windows
[02:25] <jose> apparently, marcoceppi is magic
[02:25] <lazyPower> hobbyBobby: sshuttle is not a permanent fix then. The idea behind sshuttle is a cheap VPN bridge into the remote network.
[02:26] <marcoceppi> davecheney lazyPower second trusty charm promulgated, tomcat
[02:26] <lazyPower> and works wonders when just doing dev work or securing the odd hotel-wifi connection.
[02:26] <lazyPower> marcoceppi: AWESOME!
[02:26] <lazyPower> matt's going to be jazzed
[02:26] <lazyPower> marcoceppi: maybe follow up on my email :3
[02:26] <marcoceppi> lazyPower: going forward, new charms should be trusty tested and considered for promotion at promulgation time
[02:26] <lazyPower> be like "and this is how easy it is to get acked to trusty with good tests"
[02:27] <marcoceppi> well, I found a million problems in amulet
[02:27]  * lazyPower flips tables
[02:27] <marcoceppi> as in, without a lot of gental but forceful massaging it doesn't play nice with trusty
[02:27] <marcoceppi> but that's because we don't have a lot of trusty charms
[02:27] <marcoceppi> and it tries really hard
[02:27] <marcoceppi> but it's just not good enough
[02:28] <lazyPower> probably need to map out that fix during our sprint
[02:28] <marcoceppi> hopefully next cycle we can get some more resources on charm-tools and amulet
[02:28] <hobbyBobby> lazyPower: thanks, maybe that kind of thinking will bring me out of the box
[02:28] <lazyPower> i'd love to pick up the banner on that... but i dont think i'm ever going to get out of the queue at the rate its going.
[02:29] <lazyPower> which is an awesome problem to have... dont get me wrong
[02:57] <lazyPower> marcoceppi: would chef-server be considered an application-server or an application? I'm leaning towards application... but i could also just be pedantic....
[02:58] <marcoceppi> lazyPower: does it matter?
[02:58] <lazyPower> well, its nto really serving anything
[02:59] <lazyPower> so it doesnt make sense to be an application-server... and if we want the categories to be clean cut with whats put in there.. i mean you dont want postgres living in misc do you?
[03:00] <lazyPower> marcoceppi: i'm getting picky... dont mind me
=== vladk|offline is now known as vladk
=== cmagina_ is now known as cmagina
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== timrc-afk is now known as timrc
=== timrc is now known as timrc-afk
[13:05] <sinzui> marcoceppi, CI tests that trusty deploys and upgrades. It runs the unit tests on trusty too
[13:12] <marcoceppi> sinzui: yeah, I realized there was a default-series key, but I couldnt' get a bootstrap on HP Cloud
[13:13] <sinzui> marcoceppi, HP doesn't support trusty yet
[13:13] <marcoceppi> sinzui: cool, just wanted to make sure
[13:13] <sinzui> marcoceppi, I have not gotten trusty to work on it, though I last tried 2 weeks ago
[13:13] <marcoceppi> well, didnt' work last night
[13:20] <jcastro> mbruzek, hey so what's the workflow for the tomcat charm
[13:20] <jcastro> like .... let's say I have a war file
[13:20] <mbruzek> juju deploy tomcat
[13:21] <mbruzek> juju deploy openmrs
[13:21] <mbruzek> juju add-relation tomcat openmrs
[13:21] <mbruzek> juju deploy mysql
[13:21] <mbruzek> juju add-relation openmrs:db mysql:database
[13:21] <mbruzek> profit!
[13:21] <jcastro> ok so it basically deploys other charms that use tomcat?
[13:22] <jcastro> does it do like, my tomcat apps?
[13:22] <mbruzek> openmrs is a subordinate
[13:22] <jcastro> got it
[13:22] <jcastro> so the apps need to be made into subordinates to use it?
[13:22] <mbruzek> Robert Aryers had a j2eedeployer charm in his personal space where you could put a random war in and deploy
[13:23] <mbruzek> I haven't scoped that one out yet, but that is a good idea to add to the list
[13:23] <jcastro> ok
[13:23] <jcastro> so this charm is for people who want to charm up their tomcat apps
[13:23] <mbruzek> j2ee-deployer  is the charm name.
[13:24] <mbruzek> Yes.  My thought is the j2ee-deployer charm may be too generic
[13:24] <lazyPower> :) mbruzek congrats on that awesome charm
[13:24] <mbruzek> Thanks lazyPower
[13:24] <jcastro> hey so j2ee-deployer is a sub
[13:24] <jcastro> could you plop your war file in there and then relate that to tomcat?
[13:25] <mbruzek> In my opinion the j2ee-deployer charm was too generic though.  Often WAR files (such as openmrs) need a database connection, and it is very difficult to do "generic" database relations for j2ee-deployer
[13:25]  * jcastro nods
[13:25] <jcastro> ok so let's say I have my app I wrote, myapp
[13:25] <jcastro> how does this charm help me
[13:25] <mbruzek> jcastro, Yes that is the model for j2ee-deployer, but only if the WAR file does not need a db or other relations, if it does they need to charm up their own charm
[13:26]  * jcastro nods
[13:26] <mbruzek> The tomcat charm offers some more advanced configuration options, for clustering, JNDI, and a robust container for subordinate charms that want to deploy inside it
[13:27] <jcastro> ok I have pretty much given up us ever having nice URLs
[13:27] <jcastro> so I am linking to the manage pages. :(
=== timrc-afk is now known as timrc
[13:29] <bbcmicrocomputer> mbruzek: j2ee-deployer can deploy custom web apps with DB relations fine
[13:30] <jcastro> should we demote tomcat6 and tomcat7 now in the charm store or .... ?
[13:30] <mbruzek> Well you wrote it so you would know
[13:30] <jcastro> ok, so if people want to just deploy a war file, then j2ee-deployer is for them
[13:30] <jcastro> that sound right?
[13:30] <mbruzek> jcastro, that was my plan to demote the other 2.
[13:32] <bbcmicrocomputer> jcastro: sure, if they work within the framework of the charm, then they can deploy their custom apps fine
[13:32] <jcastro> ok
[13:32] <jcastro> we should likely finish that up and put that in the store
[13:33] <jcastro> bbcmicrocomputer, how's your time these days? :)
[13:33] <bbcmicrocomputer> jcastro: j2ee-deployer works where the user just wants to drop their existing app in a Juju environment, but doesn't want to write a charm
[13:33] <jcastro> ok so we've got both use cases covered then,
[13:33] <bbcmicrocomputer> jcastro: anything more specific and they can roll their own charm
[13:33] <bbcmicrocomputer> jcastro: sure
[13:36] <bbcmicrocomputer> jcastro: I have no time atm unfortunately
[13:37] <bbcmicrocomputer> jcastro: would love to finish off my work on the Java charm eco-system
[13:37] <cory_fu> Is there a charmhelper to temporarily change the current directory (ideally, a context manager)?
[13:52] <marcoceppi> cory_fu: not that I know of
[13:52] <marcoceppi> cory_fu: you would write one :)
[13:52] <marcoceppi> cory_fu: there is an os.environ['CHARM_DIR']
[13:52] <marcoceppi> cory_fu: so you can always find your way home
[13:53] <ppetraki> cory_fu, probably, but it's just as fast to write one
[13:54] <cory_fu> Yeah, it was pretty simple.  I'll probably still add it to charmhelpers, though, because it seems useful.
[13:54] <lazyPower> there's no place like os.environ['CHARM_DIR']
[13:54] <ppetraki> cory_fu, save cwd, mkdtemp, chdir td
[13:54] <lazyPower> ba dum psh
[13:55] <ppetraki> cory_fu, try this, http://stackoverflow.com/questions/169070/python-how-do-i-write-a-decorator-that-restores-the-cwd
[13:55] <ppetraki> oh nm, path is a new module
[13:55] <ppetraki> just roll your own
[14:00] <timrc> Is anyone else having issues creating machines using a local provider?  I'm running on trusty with latest lxc and juju-core/local... machines sit in an indefinite pending state
[14:00] <timrc> no action in /var/lib/lxc (e.g. the containers are not actually being created)
[14:00] <timrc> lxc 1.0.3-0ubuntu3 and juju-core/local 1.19.0-0ubuntu1~14.04.1~juju1
[14:03] <lazyPower> timrc: that could be a myriad of reasons why its not booting. Hav eyout ried removing the cached image file and starting from a pure scratch?
[14:03] <lazyPower> also, is there any output in the all-machines/machine-0 log?
[14:04] <timrc> lazyPower, yeah plenty of output.. machine 0 seems to "start" fine... there is no log that I can find not even the cloud-init log in the .local file that even mentions any of the other machines its suppose to be starting
[14:04] <lazyPower> well machine 0 isn't an lxc machine
[14:04] <lazyPower> it occupies space on the host
[14:04] <timrc> I have tried removing everything from /var/cache/lxc as well as /var/lib/lxc
[14:05] <timrc> lazyPower, Right, I'm just saying that there is plenty of logging for machine 0 and absolutely no mention of any other system even though juju status shows them all "Pending"
[14:05] <lazyPower> but it should tell you more information about whats going on under the radar - like "Unit failed address assignment, not booting" is what i nromally see since my network setup is ridonk
[14:05] <timrc> I'm going to try to teardown apparmor and try again
[14:05] <lazyPower> ok sorry i wasn't more help :(
[14:14]  * timrc yearns for the day when this Just Works (tm) longer than a week before it breaks
[14:14]  * timrc switched back to a older "known good" version of juju-core/local and still having the issue, so I'm thinking it might be an issue with lxc.  Will try switching back to an older version of that now
[14:24] <jamespage> lazyPower, do you have any objection to me pushing and promulgating the rabbitmq charm for trusty?
[14:24] <jamespage> try to get a full openstack deploy from charmstore on 14.04 for release tomorrow
[14:24] <lazyPower> jamespage: I dont have a problem with it,  you're known for testing and stressing charms
[14:25] <lazyPower> if there's an outcry for blood do you mind if i signpost them to you?
[14:25] <lazyPower> jamespage: there's a series of tests that mbruzek wrote for rabbitmq i believe
[14:26] <lazyPower> if you could get those included, then there wouldn't be any extra special need for that - it would satisfy the store reqs. I don't think those tests made it into the charm yet though
[14:27] <jamespage> lazyPower, not yet no
[14:28] <jamespage> hmm - I have the same issue with mysql and mongodb
[14:29] <lazyPower> i can tell you the mongodb tests i wrote will fail - it worked prior to a merge in the charm
[14:29] <lazyPower> and i haven't had a chance to get back to triage those tests
[14:29] <lazyPower> jamespage: if you've got some high priority stuff you need me to expedite just ping me with the MP and i'll take a look
[14:29] <marcoceppi> jamespage: I'm writing tests for MySQL
[14:29] <marcoceppi> jamespage: they should be in before trusty
[14:30] <marcoceppi> and MySQL in trusty charm is a priority for me in general
[14:49] <cory_fu> Why does charm test continue if 00-setup fails?  Is there any way to prevent that?
[14:50] <cory_fu> Ah, --set-e.  Seems like 00-setup should be a special case that always implies --set-e
[14:58] <jcastro> https://juju.ubuntu.com/docs/reference-release-notes.html
[14:58] <jcastro> hey so I found out this exists ^^^^
[15:07] <lazyPower> jcastro: evilnick emailed the list about that on monday
[15:07] <lazyPower> cory_fu: not necessarily. Its predeps for the host env running the tests.
[15:30] <jcastro> can someone help me get my local provider working?
[15:30] <jcastro> ERROR state/api: websocket.Dial wss://10.0.3.1:17070/: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "juju-generated CA for environment \"local\"")
[15:30] <jcastro> I keep getting this
[15:31] <jcastro> I've tried every trick reseting the local environment I can think of
=== vladk is now known as vladk|offline
[16:17] <jamespage> marcoceppi, coolio
[16:18] <jamespage> marcoceppi, do you know if anyone is working on mongodb for trusty?
[16:18] <marcoceppi> jamespage: not that I'm aware
[16:18] <jamespage> it works ok on trusty albeit in a single node
[16:19] <lazyPower> jamespage: the clustering is only protocol stuff, so it should be bueno if it works single node. I'd be game to work with the scaled bundle for testing after my current work queue is complete
[16:19] <jamespage> lazyPower, cool
[16:27] <psivaa_> hazmat: hey, i am hitting an issue similar to bug 1287718 in the cts cloud. curious if there is any workaround?
[16:27] <_mup_> Bug #1287718: jujud on machine 0 stops listening to port 17070/tcp WSS api <cts-cloud-review> <mongodb> <state-server> <juju-core:Triaged> <https://launchpad.net/bugs/1287718>
[16:29] <hazmat> psivaa_, it should auto restart, ie transient issue
[16:29] <hazmat> psivaa_, if its not restarting.. please attach /var/log/juju/machine-0.log to the ticket
[16:30] <psivaa_> hazmat: ack, it's not for me. i'll attach the log to the bug
=== hatch__ is now known as hatch
[16:35] <hazmat> psivaa_, re workaround.. you can restart the juju agent on that machine
[16:36] <hazmat> ie. sudo service jujud-machine-0 restart
[16:41] <psivaa_> hazmat: tried restarting the machine, mongodb, and jujud-machine-0 but without any improvement :/
[16:41] <psivaa_> i've commented on the bug
[16:43] <hazmat> psivaa_, that's strange
[16:43]  * hazmat takes a look at the log
[16:46] <psivaa_> hazmat: 1.18.1-0ubuntu1~14.04.1~juju1 is my juju version, if that matters
=== psivaa_ is now known as psivaa
[16:50] <psivaa> hazmat: http://paste.ubuntu.com/7262521/ contains the logs after juju agent restart.
[16:51] <psivaa> i'll attach that too to the bug
[16:51] <hazmat> psivaa, thanks. sorry helping someone else right now.. free in 15m
[16:52] <psivaa> hazmat: np, i'll wait :)
[16:55] <hazmat> psivaa, back
[16:56] <psivaa> hazmat: 10.230.21.113 is the ip of the bootstrap machine, in cts lab
[16:57] <hazmat> psivaa, what architecture are you on?
[16:57] <psivaa> hazmat: amd64 on both local and the instance
[16:59] <hazmat> psivaa, ic the restarts but only one case where there's a panic.. what exactly are you symptoms ?
[16:59] <hazmat> psivaa, ie you can't run juju status?
[17:00] <psivaa> hazmat: i keep getting 'ERROR state/api: websocket.Dial wss://192.168.1.2:17070/: dial tcp 192.168.1.2:17070: connection timed out'
[17:01] <hazmat> psivaa hmm. that's odd.. is there a network firewall between you and the state server?
[17:01] <hazmat> psivaa, ic the state server listening on all ip addresses on that machine
[17:03] <psivaa> hazmat: there are some additional restrictions for the instances. let me pm the details pls
[17:11] <hazmat> psivaa, so let's verify connectivity to the state server from the host, and then verify off host..
[17:11] <hazmat> ie. from the machine.. telnet 192.168.1.2 17070
[17:11] <hazmat> and then do the same from off host
[17:11] <psivaa> hazmat: http://pastebin.ubuntu.com/7262626 is the netstat
[17:11] <hazmat> psivaa, if your going through firewalls/bastions to get to your machine
[17:12] <hazmat> you may need to sshuttle into it to create a pseudo vpn for connectivity
[17:12] <hazmat> psivaa, yup.. so its doing the right thing and trying to listen on all net addresses
[17:12] <psivaa> hazmat: i am able to telnet to that ip
[17:12] <hazmat> psivaa, from outside of the machine?
[17:13] <psivaa> hazmat: no, one sec pls. i misunderstood
[17:14] <hazmat> psivaa, wanted to try both.. so its good to know it can be connected from on machine as well.
[17:15] <psivaa> hazmat: should i be able to telnet to  192.168.1.2 from my local host
[17:15] <psivaa> hazmat: i dont have anyother instances in that network to try within it
[17:15] <hazmat> psivaa, if you expect juju client to be able to talk to it.. yes
[17:16] <hazmat> psivaa, ie. underlying issue your having is network connectivity.. sshuttle can help you bridge the connectivity
[17:16] <psivaa> hazmat: ack, let me try that. thanks
=== roadmr is now known as roadmr_afk
[17:48] <psivaa> hazmat: sorry to bother you again.. the same issue is present even after sshuttling in to the instance: http://pastebin.ubuntu.com/7262777/
=== psivaa is now known as psivaa-afk
[18:03] <hazmat> psivaa-afk, your not sshuttling the correct address range
[18:03] <hazmat> ie you need 192.168.2.0/24
[18:04] <hazmat> your shuttling 10.x addresses, when its clearly connecting to 192.168.x addresses
=== roadmr_afk is now known as roadmr
=== CyberJacob|Away is now known as CyberJacob
[19:02] <nuclearbob> ahoy!  I've deployed postgresql using juju, and I'm trying to get connected, but I don't think I have a user or a database yet.  Can I create those without connecting another charm to postgres?
[19:05] <lazyPower> nuclearbob: it creates those for you at time of relationship creation
[19:05] <lazyPower> and provides it via the relationship hooks
[19:06] <nuclearbob> lazyPower: since I don't have any other instances, how do I create that relationship?
[19:06] <lazyPower> nuclearbob: of?
[19:06] <nuclearbob> lazyPower: I want to connect using psql on my workstation
[19:06] <lazyPower> ahhhh ok.
[19:06] <lazyPower> I'm fairly certain there's some administrative credentials in the log after  deployment.. marcoceppi ^ insight?
[19:08] <marcoceppi> nuclearbob: check the README and ask stub
[19:08] <nuclearbob> marcoceppi: is this the README, or something else: https://manage.jujucharms.com/charms/precise/postgresql
[19:09] <marcoceppi> nuclearbob: the README is on that page
[19:09] <marcoceppi> nuclearbob: there's also a psql charm, that is a service you can deploy to attach to
[19:09] <nuclearbob> marcoceppi: I
[19:10] <nuclearbob> 'd like to avoid deploying more instances than I need to since my openstack provider is chronically oversubscribed, but I can try the psql charm if it comes to that
[19:10] <marcoceppi> nuclearbob: yeah, stub the author wouuld be able to help you out
[19:11] <nuclearbob> marcoceppi: thanks, I'll see if stub replies
=== mattgriffin is now known as mattgriffin-afk
[20:02] <rharper> I've got a deployed jenkins instance (1.16.6 on precise) and the log file repeating  this: juju runner.go:220 worker: exited "uniter": failed to initialize uniter for "unit-jenkins-0": listen unix /var/lib/juju/agents/unit-jenkins-0/run.socket: bind: address already in use
[20:02] <rharper> how do I go about resetting/restarting the agents?
[20:05] <marcoceppi> rharper: you can ssh to the machine, juju ssh jenkins/0; then run `sudo restart jujud-unit-jenkins-0`
[20:06] <rharper> marcoceppi: yeah -- I did that; it still complains with the same error; I guess something else has that socket file open ?
[20:06] <marcoceppi> rharper: but, 1.18.1 has been released, which is a much newer stable release
[20:06] <marcoceppi> maybe
[20:06] <rharper> marcoceppi: yeah; I tried an upgrade-juju, but it jus says WARNING juju 1.17.0 compat mode
[20:07] <marcoceppi> interesting
[20:07] <rharper> possibly because it was bootstrapped with upload-tools... but that's just a guess
[20:08] <rharper> marcoceppi: any idea what happens if I nute the run.socket in the agent dir ?
[20:08] <rharper> s/nute/nuke
[20:08] <marcoceppi> rharper: I'd stop the agents first
[20:08] <rharper> right, I have it stopped now
[20:08] <rharper> since it's just generating that message  I had about 1G of it; didn't know it was doing that
[20:09] <rharper> that seems to have helped ; stop agent; rm run.socket; restart jujud for the service
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
[21:03] <psivaa-afk> hazmat: ohh? i couldn't sshuttle to 192.168.2.1, ssh'ing to it does not work.
=== psivaa-afk is now known as psivaa
[21:06] <hazmat> psivaa, how did you bootstrap?
[21:06] <hazmat> psivaa, it should be picking the floating ip address by default
[21:06] <psivaa> hazmat: 'juju bootstrap --metadata-source /home/sivatharman/mthood-metadata  --constraints=mem=1G --debug --upload-tools'
[21:06] <hazmat> psivaa, you can manually mod the env state cache to point to the public ip
[21:07] <hazmat> psivaa, are you attaching the ip address after the instance boot?
[21:07] <psivaa> hazmat: i am using 'use-floating-ip: true' in the environments.yaml
[21:07] <psivaa> hazmat: and the floating ip is attached by default
[21:08] <psivaa> hazmat: 2010cf3b-dc41-49b9-b0b1-8c0d77a84fe0 | juju-mthood-machine-0 | ACTIVE | None       | Running     | int_net=192.168.1.2, 10.230.21.113
[21:08] <hazmat> psivaa, i'd file a bug on that then, the client should be using the floating ip address for communication back to the state server.
[21:10] <psivaa> hazmat: ack, thanks. would help if you could pls let me know the bug no for ref
=== Ursinha-afk is now known as Ursinha
[21:32] <psivaa> hazmat: reported bug #1308767 for this
[21:32] <_mup_> Bug #1308767: juju client is not using the floating ip to connect to the state server <juju-core:New> <https://launchpad.net/bugs/1308767>
[21:33] <psivaa> hazmat: i was promted about a possible dupe bug #1248674 for the above though
[21:33] <_mup_> Bug #1248674: setting a floating address on the state server prevents new agent connections <addressability> <canonistack> <juju-core:Triaged> <https://launchpad.net/bugs/1248674>
[22:06] <tvansteenburgh> when i deploy a service in an amulet test, am i right to assume that the default config.yaml for the service is used
[22:06] <tvansteenburgh> ?
[22:07] <tvansteenburgh> i've added some stuff to config.yaml but i'm not seeing it applied in the amulet test
[22:07] <tvansteenburgh> although using the same config.yaml to deploy manually (outside of amulet) works as expected
[22:08] <tvansteenburgh> oh, hrm. i wonder if the test is using the charm from the store instead of my local copy...
[22:12] <tvansteenburgh> marcoceppi: do i need to explicitly tell amulet to use the local charm?
[22:15] <marcoceppi> tvansteenburgh: if you're running the test directly, without the charm test runner, yes
[22:15] <marcoceppi> tvansteenburgh: sent the environment variable JUJU_TEST_CHARM to the charm name
[22:15] <marcoceppi> which will tell amulet that the cwd that it's running from is the charm and use that to deploy
[22:15] <tvansteenburgh> marcoceppi: brilliant, tyvm
[22:15] <marcoceppi> tvansteenburgh: you'll also need to run the tests from the CHARM_DIR
[22:15] <marcoceppi> in order for that to work
[22:16] <tvansteenburgh> ok cool. i'll check the amulet docs and get this stuff added if it's not there
[22:16] <marcoceppi> it's definitely not there
[22:16] <marcoceppi> a lot of the stuff from 1.4 didn't make it in to the docs
[22:16] <tvansteenburgh> the only reason i'm running the test directly is so i can use ipdb
[22:17]  * marcoceppi nods
=== hatch__ is now known as hatch
[23:41] <jcastro> lazyPower, ping
[23:41] <jcastro> https://bugs.launchpad.net/charms/+bug/1291783
[23:41] <jcastro> can you hit this up first thing manana?
[23:41] <_mup_> Bug #1291783: Cisco N1KV VSM charm review process (cwchang) <Juju Charms Collection:In Progress> <https://launchpad.net/bugs/1291783>
[23:42] <lazyPower> jcastro: ackd
[23:42] <lazyPower> to review first thing