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

skayI'd like to use juju with a rackspace account. based on a quick search, people use manual provisioning?00:22
skayif there is another approach, or if someone has tips, please let me know!00:22
=== kadams54 is now known as kadams54-away
marcoceppiskay: not at the moment. The Rackspace openstack setup is to heavily modified from upstream openstack so our openstack provider code won't work against it00:28
marcoceppiskay: it's possible, with some code, to wrap the rackspace API and provide a "manual provider" like was done with digital ocean, but someone would have to do that00:28
skaymarcoceppi: I may not bother for the rackspace stuff. thanks for telling me about it00:30
* skay has donated rackspace services to work with00:30
=== kadams54 is now known as kadams54-away
=== urulama|out is now known as urulama
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== rogpeppe3 is now known as rogpeppe
=== jono is now known as Guest60113
arbrandesHey guys!14:29
arbrandesIs there a reason why many Juju/OpenStack/HA guides recommend Percona over, say, MariaDB or MySQL?14:29
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
captineHi all.  Am a bit of a tech hobbiest and am looking at using a mac mini server for either a hypervisor like proxmox to play with containers and vms, or installing MAAS and learning a bit of juju.  anyone done anything like this and have advice?18:29
jcastrocaptine, we've used juju and maas with intel nucs before18:37
jcastrominis should work fine if it's similarly powerful hardware18:37
captinejcastro, mini has bios based raid0 2x1TB HDD, 16Gig ram and i7 processor.  only have 1, so hence was thinking of using proxmox to then run 3 or so VMs to mimic MAAS.18:38
jcastroyeah that sounds much more powerful than the i5 nucs we have18:39
captinecan MAAS and juju give me similar virtualization ability to a hypervisor?18:39
jcastroI've not done that personally18:40
mbruzekcaptine: MAAS can *manage* those VMs that you create on the mini, and by that I mean install Ubuntu on them when the boot pxe18:40
mbruzekcaptine: Once juju is orchestrating the MAAS you can deploy charms and or bundles to them.18:41
captinembruzek, thanks.  I think i will go with a hypervisor + some "MAAS" vm's.  that way, if I understand you correctly, I can run a windows vm or other linux distro's/ubuntu flavours which doesnt sound possible with MAAS only.18:42
captineappreciate the responses all.18:42
mbruzekcaptine: Your original idea looked fine to me, I have 2 intel NUCs (i5) and created 8 VMs on one of them.  Then set up MAAS to manage those VMs.  Then I have juju controlling the MAAS18:44
mbruzekcaptine: I believe the latest version of MAAS can do other linux distros, but you will have to check the documentation on that, I haven't played with that yet.18:45
mbruzekcaptine: I am not a MAAS expert, but I have set it up on my NUC machines, several versions ago.  For more information on that you might want to ask in #maas18:47
captinembruzek, thanks a mil.  what were you using for hosting the vms?  e.g. hypervisor wise?18:48
mbruzekcaptine: I used KVM.  But as long as the VM can boot pxe (from network) and MAAS controls that network interface it will set up the VMs for you.18:49
mbruzekcaptine: So my setup is:  NUC1 Ubuntu 14.04 with Juju and MAAS installed.  NUC2 Ubuntu server 14.04 with KVM, and 8 VMs created with 2GB of RAM each.  The two NUCs are connected via a switch and MAAS controls NUC1's eth0 adapter.18:52
mbruzekcaptine: NUC1 has a separate wireless adapter that I use to connect to the Internet, and all traffic is routed through there.  In the MAAS documentation you will see it recommended to have more than 1 network adapter.18:53
mbruzekcaptine: It is worth noting that MAAS can be installed on a VM itself, but again needs to control a network interface so it can send boot images over pxe.  I have not done this, but version 2 might be set  up with MAAS in a VM.18:54
captineawesome info.  thanks19:03
=== kadams54-away is now known as kadams54
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
marcoceppimbruzek: captine you'll need more than pxe boot because Maas needs to be able to turn the vms on. So you'll need anything that works with libvirt/qemu22:34
designatedI have a service in a dying state that will not remove.  What can I try besides destroying the machine?22:50
designatedI've tried "juju destroy-service ceph" and "juju destroy-unit ceph/0", neither produce a result or any logs.22:51
marcoceppidesignated: is it in an error state?22:53
designatedmarcoceppi: agent state is started22:55
designatedmarcoceppi: life shows dying22:55
marcoceppidesignated: okay, was anything related to it?22:56
designatednope22:56
marcoceppidesignated: can you pastebin your juju status output?22:57
designatedmarcoceppi: http://pastebin.com/Mm3Tg4ar22:58
designatedmarcoceppi: I recently deployed ceph-osd but no relationship was built between ceph and ceph-osd22:59
designatedmarcoceppi: this all started out of the ceph charm not forming a ring due to it not finding the keyring.  So I tried to destroy the ceph service and reinstall.23:00
designatedwell tried to destroy, have to get past that first.23:00
marcoceppidesignated: there are probably hooks still running in the machines23:00
designatedmarcoceppi: it's been at least an hour23:01
marcoceppiYou can be patient (lame) or terminate-machine --force 2 3 423:02
marcoceppidesignated: a him might be stuck and blocking23:02
marcoceppiThat will destroy the service since there are no units at that point and the service is dying23:03
designatedmarcoceppi: i want to avoid destroying the machine if possible as this will not be a suitable solution in production.23:03
designatedmarcoceppi: so i have to destroy the whole machine because one service messed up?23:08
=== CyberJacob|Away is now known as CyberJacob
designatedFor anyone that might be interested, SSHing into the machine and restarting the problem juju agent allowed me to resolve the unit and eventually destroy the service as a whole.23:28
designateddoes james page hang out in here?23:28
=== scuttlemonkey is now known as scuttle|afk
=== CyberJacob is now known as CyberJacob|Away

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