=== ericsnow_afk is now known as ericsnow [01:18] Hye ..does anyone hv idea why I cannot ssh into vm as I already installed juju and setup the vm and add services and relation [01:19] last day I am able to view juju gui admin via web browser [01:19] however, I hv to shutdown the host and today I cannot ssh into vm 1 as it said no route to host... [01:19] anyone could help me [01:36] hello [01:37] could anyone help me why I cannot ssh to machine 1 and as a result the juju-gui admin cannot be view [01:38] I do check the status but all services mentioned is in the state of down [02:33] halcyon: which provider? [02:33] halcyon: have you checked that the VMs are actually started? [02:46] local provider' [02:46] already started yesterday [02:47] thumper: local provider [02:47] halcyon: what do you see with 'sudo lxc-ls --fancy' ? [02:48] thumper: nothing , is it something with lxc?? [02:49] halcyon: unless you told it to use kvm [02:49] halcyon: you said it was working yesterday? [02:49] thumper: yes , working yesterday [02:50] which version of juju? [02:50] thumper: I managed to view gui admin already [02:50] thumper: i'm not sure, how do I check the version?? [02:50] juju version [02:52] thumper: 1.21.1-trusty-amd64 [02:52] are you sure you used the 'sudo' part? [02:52] otherwise you are asking about user space lxc containers [02:52] sudo lxc-ls --fancy [02:53] yes I used sudo [02:54] anyway I can ssh into machine2 [02:54] thumper: anyway I ccomnnect ro machine2 [02:55] if lxc-ls is not showing the containers, then you are probably not using the local provider [02:55] type 'juju env' [02:55] thumper: in my environments.yaml file I mentioned kvm as the container [02:55] ah [02:55] then you are using kvm containers, not lxc [02:55] which would explain why you can't see lxc containers [02:56] I'm not familiar enough with the kvm tools to help just now, but likely that the first machine didn't restart properly [02:56] not sure why [02:56] ok I check juju env it mentioned local [02:57] thumper: how can I restart back machine 1 [02:57] machine 2 I can connect as well [02:57] what does juju status say? (pastebin plz) [02:59] "1": agent-state: down agent-state-info: (started) agent-version: 1.21.1.1 dns-name: 192.168.122.109 instance-id: halcyon-local-machine-1 series: precise containers: 1/lxc/1: agent-state: down agent-state-info: (started) agent-version: 1.21.1.1 dns-name: 192.168.122.134 instance-id: halcyon-local-machine-1-lxc-1 series: precise hardware: arch=amd64 [02:59] thumper: this is machine 1 [03:00] you can try this: 'ssh ubuntu@192.168.122.134' to see if the vm is up [03:00] hang on [03:00] that is the lxc container inside [03:01] ssh ubuntu@192.168.122.109 [03:03] thumper: yes lxc container is there [03:04] thumper: ssh ubuntu@192.168.122.109 still get the same error , no route to host [03:04] thumper: u hv any idea why? [03:05] yes, the VM didn't start [03:05] I don't know why the VM didn't start [03:05] I'd probably start by looking for the kvm logs locally [03:07] thumper: ok , how do I check kvm logs locally?? [03:07] * thumper shrugs [03:07] not sure [03:08] I'd guess something like: /var/logs/kvm [03:08] if you are not familiar with kvm, why use it with the local provider? [03:08] thumper: previously I deploy service using this command [03:08] you obviously had to choose it [03:09] thumper: i'm just beginner, I follow the instruction only [03:09] ok, in which case, lxc is much better... [03:09] which instructions said to use kvm? [03:09] like this my command : juju deploy juju-gui --to lxc:1 [03:10] hmm...using dell whitepaper [03:10] from above command I understand tht I deploy a service to lxc container in machine 1 [03:15] thumper: how should I do now in order to start back my vm [03:16] thumper: I try edit environments.yaml file and replace container: lxc [03:16] thumper: ?? [03:16] if you are just playing around, destroy the environment and try again with the basic local provider [03:17] and just use 'juju deploy juju-gui' with no --to [03:17] or alternatively, find the docs on 'juju quickstart' [03:17] which also helps here [03:17] thumper: quickstart isn't in the official doc site [03:18] lazyPower: oh? why? [03:18] we've got a pinned TODO to get that done - it only exists in the UX blog at present [03:18] should see that land early next week actually [03:21] thumper: because quickstart doesn't support windows and so it's not the official way to go [03:22] rick_h_: ok, cheers [03:22] thumper: and we've got a todo to help with a quickstart docs section as a sub-section then to help it [03:22] lazyPower: could you point halcyon in the direction of some good new starter documentation? [03:22] but <3 you think of us :) quickstart ftw [03:22] rick_h_: you guys are awesome [03:22] thumper: can I used command line for quickstart [03:23] rick_h_: remember that I love you guys when you do my 360 review :-) [03:23] rick_h_: if you were asked that is [03:23] thumper: as of today - https://jujucharms.com/docs/getting-started [03:23] halcyon: yes, quickstart is a cli tool that helps bootstrap and get a gui running quickly [03:23] * thumper chuckles [03:23] thumper: yea, on my todo list [03:23] thumper: damn 360s :P [03:23] I've done mine... [03:24] thumper: if it means basic local , it means w/o kvm?? [03:24] correct [03:25] man, I had 8 reviews to do already just with myself/team. Though I like the nice short/sweet format of the 360's this go round [03:25] thumper: which manual do u used? could u share with me [03:25] halcyon: https://jujucharms.com/docs/config-LXC [03:25] halcyon: lazyPower recommends https://jujucharms.com/docs/getting-started. I didn't use a manual, I work on the Juju project [03:25] thumper: I hv already play around several times and this include my 4th times I would need to destroy the environment [03:26] * thumper destroys environments regularly :) [03:26] halcyon: i'm sorry you've had a rough go, its hard for us to QA any dell documents around juju or even know how out-of/up-to date they are. [03:26] however, thats the power of the local provider, is its intended to be a staging environment to be used for development and evaluation of charms - its not a full provider thats intended to be used for production purposes [03:27] that would be left to a public/private cloud (and if they aren't officially supported - the manual provider lets you orchestrate them too!) [03:27] i invite you to look at our docs, and if you have any issues with them, file a bug - we'd be more than happy to help you work through the problems and fix anything you feel is a weak point in our official docs [03:28] lazypower: i see..btw tq..I'm bit stress coz dont know y my vm suddenly cant ssh ...:D [03:28] halcyon: so you say VM - you're using a KVM provider [03:28] are you using a front end to that like virt-manager? [03:28] lazyposer: yes I do install virt-manager as well\ [03:29] if so, why not fire it up using virt-manager and give it a look? see what the IP address is, i imagine what has happened is your KVM is set to obtain an IP from your DHCP server, when it came back online the IP address has changed [03:29] *lazyPower [03:29] which means we'll need to edit some config files [03:29] halcyon: its super simple - i've outlined the process here - http://blog.dasroot.net/reconnecting-juju-connectivity.html [03:31] lazyPower: did you get your demo stuff all good? [03:31] lazyPower: e.g. keys and isos end up helping? [03:31] rick_h_: i've got the iso's but i've been having a real bummer of a time getting the win2k12 image to boot properly [03:31] :( [03:31] lazyPower: ok let me clear my mind, I would destroy the environment again and would try to bootstrap new environment which still local...and I'll not follow from dell whitepaper anymore [03:31] yeah 11'th hour of this project [03:31] which is why you see me this late :) [03:31] halcyon: i'll be around to help if you need anything [03:31] it make me confused anyway to refer to many manual in once [03:32] halcyon: i would recommend giving the LXC packages a try - which was linked above. [03:32] lazyPower: ugh, best of luck man [03:32] rick_h_: thanks :) [03:32] lazyPower: ok noted [03:33] lazyPower: thnkx :) [04:05] lazyPower: I already follow the manual using local provicer [04:06] lazyPower: but when I exposed the service I cannot view in web browser , it said bad gateway...is it something to do with my firewall?? [04:07] hard to tell - what service? [04:07] halcyon: wordpress [04:08] lazyPower: wordpress [04:08] halcyon: ok, i'm assuming you deployed a mysql service as well, set data-size to 20% (its bugged on local provider, thats called out in teh readme) and added a relation between wordpress and mysql? [04:09] lazyPower: do l need to do something with bridging part, coz I did some bridge connectivity before? and it able to display [04:09] *data-set-size [04:10] lazyPower: I forget to set constraint yet on the machine I created yet [04:10] lazyPower: just try to exposed the service first [04:10] halcyon: let me get some more info about your deployment environment, this is all running on your local machine right? [04:11] lazyPower: yes local machine [04:12] ok, good - the 502 bad gateway typically is one of 2 things [04:12] you either attempted to load teh service before it was done configuring, or something went awry during the service configuration [04:12] the 502 bad gateway is coming back from apache trying to communicate with the php-fpm daemon [04:12] run this and see if there is any log information beign emitted from teh wordpress unit [04:12] juju debug-log -x machine-0 [04:13] lazyPower: I already exposed and the command executed correct, then I prompt juju status it display the public ip-address\ [04:15] lazyPower: I'm trying once again [04:15] lazyPower: and will let u know hows [04:18] ok === Murali_ is now known as Murali [04:30] lazyPower: i'm able to display and view the wordpress [04:30] good news! [04:30] using local machine [04:30] lazyPower: tq :) [07:19] lazyPower: hye! if let's say I would like to view the service using web browser from other machine in my home network , it wont allow , right?? so how would I configure all those ? it is smtg to do with networking am I right? [07:20] halcyon: it can be tricky - i suggest to read this thoroughly before you follow it blindly [07:20] http://blog.dasroot.net/making-juju-visible-on-your-lan.html [07:21] halcyon: what you can do is use sshuttle to create a vpn style connection between two pcs and you wont have to make any changes in your networking [07:24] lazyPower: will try read the article first === Murali_ is now known as Murali === Murali_ is now known as Murali === Murali_ is now known as Murali [08:37] lazyPower: have u experience on how from host to supply IP to the services or vm created under juju? [08:37] halcyon: is it possible to do so?? [08:38] lazyPower: is it possible to do so? === yo61 is now known as Ho === Ho is now known as yo61 [15:15] hello guys o/ [15:15] hey Muntaner [15:16] hi marcoceppi [15:16] did you read my question in juju-dev? :) [15:16] so, the way WordPress does this, you don't want to install MySQL on the machine itself because then you lose scale [15:16] Muntaner: yup! [15:16] Muntaner: do you mean the web application is installed via apt and it is asking you debconf settings? [15:17] marcoceppi, exactly: I would like to use the mysql existing charm [15:17] Muntaner: what software are you installing? out of curiosity [15:18] the web application (prestashop) asks, in installation phase, where the mysql server is [15:18] yep marcoceppi, it's prestashop [15:18] does it write that information to a config file? [15:18] marcoceppi, https://www.howtoforge.com/prestashop-ubuntu-14.04 <- I'm trying to follow that guide [15:18] Hi [15:18] jcastro, dunno exactly - I started working on it this morning [15:18] Muntaner: Yeah, one thing you can do is just bypass the whole web interface and write the configuration file directly when you get the values [15:19] I've written an app, it's a accountancy software. I want to force people to use a hosted solution via my domain. [15:19] I need a hosting service and I need a software to manage auto-installation [15:19] Users should be able to update themselves! [15:19] marcoceppi, so, does prestashop use this configuration file? not sure about that [15:19] I want something like this: https://community.nodebb.org/topic/2552, what is you advice? [15:20] Can juju help me? [15:20] Muntaner: another thing you can do is just use CURL to hit the webpage when teh database relation connects and seed the information you would normally fill out to have it completed there [15:20] Muntaner: let me take a looksy [15:21] marcoceppi, another curiosity: how do I tell to the mysql charm (or my personal charm?) the user and password to use on the DBMS? [15:21] I know I look noobish, but first time I try this stuff :) [15:22] Muntaner: you don't tell it, when you connect MySQL to your charm MySQL will create a schema name, username and password when you connect and it'll tell that information to your charm [15:22] This is an example: http://vanillaforums.com/plans [15:22] Muntaner: It looks like you can put the configuration values in config/settings.inc.php [15:22] I want to have something like that, can juju do it? [15:22] Muntaner: I recommend checking out the WordPress charm and seeing how it manages the database information, etc. You'll need to do something similar when writing prestashop [15:23] Muntaner: https://jujucharms.com/wordpress/ [15:23] marcoceppi, that's a really good idea [15:23] marcoceppi, so... does wordpress have an apache2 "inside" itself? [15:23] Muntaner: in this case yes, the charm even lets you choose between nginx or apache2 [15:24] frenda, sure, you can use juju to deploy whatever a customer wants for example [15:24] marcoceppi, great! [15:24] it looks clearer now [15:24] So, Is juju a SaaS? [15:24] frenda: well, no [15:24] frenda: you can create a SaaS around juju, but it will require you to codify all the SaaS bits [15:24] not really, you can use juju to deploy a saas [15:25] Juju is just a deployment/service orchestration tool [15:25] It's not important for to be/not be a SaaS; I just need something to automate installation of my software for customers [15:26] yeah, that's what it can do [15:26] for me* [15:26] So Juju can do it, yes? [15:26] yes [15:27] Do you have any hosted juju or I should find a hosting service? [15:27] I don't know of any hosted juju solutions atm [15:29] helo [15:32] What does 'jujucharms.com' offer currently? Isn't it installed Juju?! [15:33] Is Juju translate-able? [15:34] Is it also RTLable? [15:36] frenda: no, jujucharms.com is a sandbox to play with juju, Juju is written in golang, not sure if the client is easily translatbale or not, not sure what RTLable is [15:37] RTL: Right-to-Left for RTL language [15:38] well, juju is a command line tool, I'm guessing you're talking about the Juju GUI [15:40] yes, I'm talking about demo.jujucharms.com (GUI) [15:40] frenda: that's something seperate from juju but works with juju. It's actually itself a charm [15:41] frenda: https://github.com/juju/juju-gui [15:41] well; tanx [15:55] whit, marcoceppi, asanjar, jcastro, arosales: Hi guys... just letting you know that today is my last day for canonical, and there are over 30 pending branches (and some that couldn't ask for merge because of pending bugs): https://code.launchpad.net/~nicopace/+activereviews https://bugs.launchpad.net/~nicopace/+reportedbugs [16:00] ack [16:03] whit, marcoceppi, asanjar, jcastro, arosales: all of the merge requests are pretty small... i'm sure you will be able to review them pretty fast (if you have time) [16:05] hey nicopace dunno how much time you have left, but combining tests against the same charm into a single MP would greatly speed up reviewing [16:06] whit: i don't get how this could increase the speed, as each of the tests builds it's own environment [16:07] nicopace, not the speed of the tests running, the amount of work required for an reviewer [16:07] whit: btw, i left you some comments on my possition about integrating all tests in one setup-teardown step [16:07] nicopace, I saw those [16:08] nicopace, I believe I replied [16:08] i think not :( [16:08] * whit will check for new one [16:08] whit ^ [16:08] ah ok, maybe I did not hit send [16:09] nicopace, in summary, there are many times when in the course of reviewing charms, reviewers need to run all the tests themselves [16:10] whit, and is better if you have them all together? [16:10] whit, i can merge them for you if it lightens the job [16:10] nicopace, wrt to merge proposals, a single MP for a group of tests is preferable [16:11] nicopace: we'll hammer on them. How much longer are you available today? [16:11] whit: ok, i'll send you a list of links via email then [16:11] arosales: 4 more hours [16:12] nicopace, wrt the separation of tests and fixtures, don't worry about that, the way you have done it is idiomatic for the how tests are written now [16:12] * whit would just like to improve that [16:12] whit: i've already done that [16:12] Hey, is there a maintained list or a web site where I can look at all the available charms that work on Power? Obviously 14.04, but I'm not to sure that ALL trusty charms work on Power. Clarification appreciated [16:12] whit: i disagree in merging multiple tests into one big setup-multiple tests-teardown block [16:13] as one failure (or side effect) could affect the others [16:13] whit ^ [16:16] nicopace, of course it depends on the test and what you are testing of course, but for the examples I was looking at with logstash forwarder, iirc most of those tests were not creating actions that should have sideeffects [16:16] and considering the time for spin up and teardown, if even one of those tests did not need isolation, combining would be a win [16:16] nicopace, understand this though, what you did was perfect correct for the corpus of examples we have [16:17] I just think we are generally doing it kinda wrong [16:20] nicopace, please understand per my message to the list, this is a critiscism of how we do charm testing, not of your work [16:22] jshieh: There used to be a list only a few of the charms did not work on Power (ones that depended on specific architecture). Which charms are you specifically interested in? [16:23] Actually, my goal is to "debug" those that don't work on Power. i.e. find out what the issue is and help it along, where possible [16:23] so I'm trying to find the delta [16:23] And, also trying to determine if the list has widened since the last list was generated and debug that too, if possible [16:24] whit: i understand [16:25] whit: i'll merge the different branches, and send you an email [16:25] nicopace, awesome! thanks [16:25] jshieh: https://bugs.launchpad.net/charms/+source/hive/+bug/1356086 [16:25] Bug #1356086: Charm fails on PPA [16:26] jshieh: A charm could fail on power for many reasons, in this case it is using a ppa which does not build a power version [16:27] jshieh: https://bugs.launchpad.net/charms/+source/phpmyadmin/+bug/1350023 [16:27] Bug #1350023: Charm fails on charm helper PPA [16:27] right. appreciate this. Also, I have: https://bugs.launchpad.net/charms/+bugs?field.tag=ppc64el [16:28] jshieh: Yes that is the list [16:28] that we know about [16:28] okay - thanks. I wanted to confirm. Building a list, etc...thanks for pointers. [16:29] jshieh: happy to help, if you have more questions ping me directly I worked on this last year. [16:30] ahhh, great. will be in touch soon! [16:31] jshieh ... oh he left [16:43] whit, marcoceppi, asanjar, jcastro, arosales: i've sent you the first batch of merged tests [16:43] after lunch i'll send you the rest [16:43] regards [16:43] nicopace: thanks === ant______ is now known as antdillon === urulama is now known as urulama___ [17:04] marcoceppi, [17:05] o/ [17:05] I wrote my charm code. When I deploy it, it runs in juju (can see it in juju-gui), but no VM is instanced and stays in pending state [17:06] marcoceppi, I just wrote in the install and the start hook some basic things (apt-get, etc) and nothing more [17:06] Muntaner: what provider are you using? [17:06] OpenStack, a local all-in-one installation [17:06] other charms (mysql, wordpress, etc.) deploy perfectly [17:07] also, I did some juju-log...where are exactly the logs? [17:16] marcoceppi, where do I tell to the charm what kind of VM it should instance? [17:42] Muntaner that is constraints [17:50] Muntaner: https://juju-docs.readthedocs.org/en/latest/constraints.html [18:58] https://jujucharms.com/docs/charms-constraints [18:58] is the proper link [18:59] https://jujucharms.com/docs/reference-constraints [18:59] also [19:27] whit, marcoceppi, asanjar, jcastro, arosales: i've sent you the second (and last) batch of merged tests via email [19:27] nicopace: thank you! [19:27] whit, marcoceppi, asanjar, jcastro, arosales: hope you can look over them... i'm going offline now... but i'll check any review you do later today [19:33] nicopace: thanks for the work on those tests! [19:55] rbasak, bug 1417771 is fixed. there is nothing for you or I to do [19:55] Bug #1417771: juju-core vivid ppc64el fails to build Released> === roadmr is now known as roadmr_afk === rogpeppe is now known as rogpeppe1 === roadmr_afk is now known as roadmr [20:58] hey nicopace, i'm disapproving your individual merge proposals in favor of all-tests proposals where applicable.. don't take it personally though -- the work is much appreciated! i just want to make sure future reviewers see that we're consolidating comments into the all-tests merge proposals. [20:58] and thanks again, btw, for merging those together. it really does help speed up reviews. [22:44] kwmonroe: thanks... i forgot to remove them [22:45] np - thank you nicopace! wanted to make sure i wasn't coming off like a jerk with a bunch of naks ;) the re-merged proposals are much appreciated. [23:20] whit, marcoceppi, asanjar, jcastro, arosales: i've replied to your comments, and removed all the unneded individual merge requests. Also, you can look over the merge proposals here: https://code.launchpad.net/~nicopace/+activereviews [23:20] whit, marcoceppi, asanjar, jcastro, arosales: i've replied to your comments, and removed all the unneded individual merge requests. Also, you can look over the merge proposals here: https://code.launchpad.net/~nicopace/+activereviews === lazyPower is now known as lp|away [23:51] nicopace: Thanks for that cleanup. o/ [23:52] and all the effort on those tests to boot