/srv/irclogs.ubuntu.com/2013/10/03/#maas.txt

smoserroaksoax, are you around ?00:43
smoserroaksoax, there are two MP there. i'm really ok with you chosing either one.00:48
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== julian__ is now known as julianwa
roaksoaxsmoser: sorry wasn03:29
roaksoaxfeeling so good03:29
roaksoaxsmoser: i'll take a look tomorrow03:29
=== CyberJacob|Away is now known as CyberJacob
androoohey, is anyone here willing to help out a noobie?07:29
racedoping rvba08:31
rvbaracedo: Hi (otp right now).08:32
racedorvba: oh sorry08:32
racedorvba: quick one when you can08:32
racedorvba: when splitting maas region controller and maas cluster controller into different servers, the juju client will never talk directly to the maas cluster controller, right?08:33
rvbaracedo: correct08:43
racedorvba: many thanks :)08:43
rvbaWelcome :)08:43
racedorvba: and we can have just one juju bootstrap node for all the maas cluster controllers?08:44
racedorvba: or should we commission one per cluster controller?08:45
rvbaracedo: yes, as long as all the nodes managed by all the cluster controllers can talk to each other.08:45
racedorvba: ok, so multiple juju bootstrap nodes is kind of pointless then08:45
rvbaYes.08:45
racedocool, thanks again rvba08:45
=== CyberJacob is now known as CyberJacob|Away
=== freeflying is now known as freeflying_away
AskUbuntuMigration from generic OpenStack to Ubuntu Openstack | http://askubuntu.com/q/35312712:10
=== freeflying_away is now known as freeflying
roaksoaxrvba howdy13:15
rvbaHi roaksoax13:15
roaksoaxrvba: hold on those ladt two mps13:15
roaksoaxlast*13:15
rvbaroaksoax: don't worry, I don't intend to land them now.13:15
roaksoaxrvba: ok ;) ill review them in a bit13:15
rvbaroaksoax: they are mostly to get us started on testing the new script.13:16
roaksoaxrvba: ok but im releasing maas again today13:16
rvbaOkay.13:17
roaksoaxrvba: ok, commented on them13:48
roaksoaxrvba: other than that if they can be merged today13:48
roaksoaxrvba: it would be great13:48
rvbaroaksoax: Thanks for the review.  We will need more testing before we land it; in particular, we want to make sure the old config gets migrated ok.13:50
roaksoaxrvba: ok13:50
roaksoaxrvba: though it would have been simple to keep the old config style as it is with import_pxe_files13:51
roaksoaxy13:51
rvbaroaksoax: we will rewrite maas-import-pxe-files in Python too.  We thought it was a better idea to unify the configs.13:51
roaksoaxrvba: ok13:52
freeflyingrvba, if import-pxe-files support specify mirror, might be more convenient14:37
rvbafreeflying: true, we're still working on maas-import-ephemerals and import-pxe-files is our next target but you're right, we need to be able to configure where simplestreams will fetch its information.14:40
=== freeflying is now known as freeflying_away
stokachuis the web interface the only way to manually enlist nodes?16:26
kurt_roaksoax: ping17:00
roaksoaxkurt_: pong17:38
roaksoaxstokachu: if you have a live image on the node, you could install maas-enlist17:39
stokachuroaksoax: ok ill try that17:41
kurt_roaksoax: something I was thinking through with MAAS/juju - there is no way to guarantee a particular node with particular resources is used for a enlistment/commission/juju deployment - is that right?17:43
kurt_if you don't have control over WOL, you are in bad shapee17:44
kurt_shape17:44
kurt_actually that doesn't even matter from juju's perspective it seems17:45
roaksoaxkurt_: ideally you need control over ipmi, but enlistment/commuissioning are steps that have to be done in order for the machines to be available to juju17:46
roaksoaxkurt_: now, you would need to add tags to the noeds to identify them based on constraints17:47
roaksoaxand that way, when you juju deploy something you can gfarantee that a particular node with mparticular hw detauls is assigned to juju by specifying the constraints17:47
kurt_tags?17:47
kurt_first I'v heard of this17:48
roaksoaxkurt_: http://maas.ubuntu.com/docs/tags.html17:48
kurt_thanks I'll have a look - that integrates with juju?17:49
=== matsubara is now known as matsubara-lunch
kurt_ahhh…I seee17:50
* kurt_ lightbulb lights up17:50
smoserstokachu, you can enlist nodes with the cli too17:53
stokachusmoser: i was able to get it to work with maas-enlist, is there another preferred way?17:56
roaksoaxstokachu: maas-nelist when manually17:56
roaksoaxstokachu: it is much easier, and that's what it is actually used when running the enlistment process17:56
stokachucool that worked like a champ17:56
smoserstokachu, are you using real nodes ?17:57
=== CyberJacob|Away is now known as CyberJacob
stokachusmoser: virtualbox atm17:57
smoservirtualbox.17:57
smoserfor real?17:57
smoserare you running this on windows!17:57
stokachuhaha17:58
kurt_smoser: I have been very successful with VMWare workstation too17:58
stokachuim trying to automate a maas+10 node setup17:58
kurt_and Fusion on Mac OSX17:58
kurt_I'm in the middle of blogging the experience17:58
smoserstokachu, http://bazaar.launchpad.net/~virtual-maasers/charms/precise/virtual-maas/trunk/files17:58
smosersee README-nojuju.txt17:58
smoserthat is basically what you're after17:58
smoserand you dont have to use virtualbox17:59
stokachuok ill try that way next17:59
kurt_what does virtual-maas do differently?17:59
stokachuuses kvm17:59
kurt_in what way?  I've got a hypervisor18:00
stokachuyou manage all your nodes and maas server with libvirt18:01
kurt_regulär maas has that built in too, does it not?18:01
smosermaas has support for "power" control via virsh18:01
smoservirtual-maas just uses that.18:01
smoserand http://bazaar.launchpad.net/~virtual-maasers/charms/precise/virtual-maas/trunk/files18:02
smoserhas tools to create nodes and insert them into maas.18:02
smoserand remove them.18:02
kurt_ok because virsh is a part of libvirt18:02
stokachukurt_: this helps you automagically deploy maas+nodes18:02
smoservirsh is a part of libvirt, yes. it wouldn't be hard to extend maas's power control to cover virtualbox.18:02
kurt_ok, I just figured out how to do this all manually on my own, so I'm curious about the benefit18:03
smoserand if you have some reason that you want virtualbox (like you want to use this on a mac) then that might make sense to re-invent things.18:03
smoserbut what is there in 'virtual-maas' is very close to "just works".18:03
smoseras a "all in one maas" with virtual nodes.18:03
kurt_for some reason I remember reading virtual-maas not going to be updated too18:04
stokachukurt_: i posted a blog article on setting up maas within lxc18:04
kurt_stokachu: I'm working on blogging my results too18:04
stokachukurt_: http://astokes.org/running-maas-vagrant/18:04
kurt_I'll have a look18:04
smoserkurt_, sothere are some parts of virtual-maas that are hacky.18:05
smoserits basically all in one.18:05
smoserit doesn't survive reboot18:05
smoserthose htings can be fixed for sure18:05
kurt_I just found out about the tagging thing, which will make life exponentially better18:05
kurt_I've managed to get MAAS/Juju and Openstack fully up and running18:06
kurt_on VMWare Fusion and Workstation that is18:06
kurt_anyways - you have now piqued my curiosity18:07
kurt_to see how much work I did for NOTHING :D18:07
kurt_lol18:07
kurt_smoser: so is virtual-maas officially supported on precise?18:08
smoser"officially", no18:09
smoserit will probably work.18:09
smoserits really a development thing.18:09
kurt_right18:09
smoserbut there is a lot of generally usable things there.18:10
smoserie, scripts to add a node to libvirt with 2 disks and X memory and then shove that node into maas18:10
smoserand then (generically) power that machien on and install it with release X18:10
smoserthe only hacky things really are in getting maas up and going and listening on the maasbr0 network and the networking involved.18:11
kurt_ok.18:11
stokachuso has anyone run maas in virtualbox on windows? :)18:11
kurt_workstation :)18:11
smoserkurt_, really. give it a try. if you have a system with 8G memory, its fairly easy.18:11
stokachukurt_: did you use vagrant or just manually through vmware?18:11
smoserslow, but easy.18:11
smoserand you can play. it is a very easy way to get a juju going18:12
kurt_manually18:12
kurt_as I said, it works quite well18:12
stokachukurt_: ok, ive got a pretty automated thing ive setup if you dont mind testing on windows18:12
stokachuim not done yet but hopefully tomorrow18:12
stokachuit would use virtualbox though18:12
kurt_stokachu: thing = a package, scripts?18:13
stokachukurt_: yea using vagrant+virtualbox18:14
stokachubut automated18:14
stokachujust curious if it is portable across mac/windows18:14
kurt_if it means I have to take down my workstation install, I'm afraid its going to have to wait - I'm knee deep in blogging18:15
stokachuit wont touch your vmware stuff18:16
stokachuin any case just let me know when/if youre interested18:16
kurt_ok.  I'm playing with ceph next too18:16
stokachukurt_: nice, dont forget to write your findings i'd be interested in looking at that too18:17
=== matsubara-lunch is now known as matsubara
kurt_will do ;)18:23
stokachuis there a way to alter the preseed file or do i need to edit it manually19:14
stokachuhttp://maas.ubuntu.com/docs/development/preseeds.html i see this page19:15
stokachuim trying to force the enlist server to be on a specific network device19:18
stokachuseems to default to the first device no matter what19:18
stokachuwhats the best way to override http://paste.ubuntu.com/6189451/19:20
stokachuthats from maas_local_settings.py19:20
kurt_stokachu: can't you go in to the interface and specify which device its doing dhcp on?19:30
kurt_interface = web gui19:30
stokachulemme check19:30
stokachueth1192.168.50.255/24Manage DHCP and DNS19:31
kurt_right19:31
stokachuso its using eth119:31
kurt_correct19:31
stokachubut the default maas url is set to 10.0.2.1519:31
stokachuwhich is eth019:31
kurt_you need to dpkg-reconfigure19:31
kurt_set it to the IP of the maas url you want19:31
stokachuin my dhcpd.conf?19:32
kurt_no19:32
kurt_hang on19:32
stokachudpkg-reconfigure maas-region-controller lets me change the maas url19:33
kurt_right19:33
kurt_that's what I meant19:33
stokachuah ok, how do i do this programmatically though19:33
kurt_you mean from the maas-cli?19:33
stokachusure or any other avenue19:34
* kurt_ crickets19:34
stokachulol19:34
stokachuhmm if only i could pass an ip to dpkg-reconfigure19:35
stokachuduring setup19:35
kurt_there has to be a way19:35
kurt_did you fully research the maas-cli options?19:35
stokachuill look through it again and see if im missing something19:35
kurt_hmm…well that wouldn't work too well19:35
kurt_because the authentication is tied in to the url for the maas-cli19:36
stokachui found this http://paste.ubuntu.com/6189525/19:37
kurt_that's a roaksoax or bigjools question19:37
stokachunot sure if enlistment_domain would work or not19:38
kurt_why do you need to change the maas url once or twice?19:38
stokachuso when i install maas onto a server with eth0 and eth1 i need mass to only listen and respond on eth119:39
stokachufor whatever reason eth0's ip is being picked for the maas default url19:39
kurt_you could hack IP forwarding to make it not matter :)19:39
stokachutrue19:40
kurt_which is what I've done as I recall19:40
stokachuive edited the maas_local_settings.py for now which seems to provide a proper preeseed19:40
kurt_but I've always just gone back in and reconfigured as you put in above19:40
stokachuok19:41
kurt_I need IP forwarding on my virtual network anyways19:41
kurt_that's the only way my maas nodes are  going to get access to the internet19:41
kurt_so its always just worked for me19:41
kurt_stokachu: btw this is the best guide on easy IP forwarding in case you didn't have an easy source19:47
kurt_http://askubuntu.com/questions/95199/two-network-cards-and-ip-forwarding19:47
stokachuthanks19:48
stokachui think cloud-tools archive died20:26
stokachuThe following packages have unmet dependencies: maas : Depends: maas-region-controller but it is not going to be installed20:41
stokachusmoser: ^ was there a recent push to archive20:42
stokachuguess that should be roaksoax ^20:47
dpb1should this work?  curl http://169.254.169.254/2009-04-04/meta-data/  (from a maas node) ?21:04
stokachubah ithink the archive is broken :(21:08
dpb1Anyone seen this error with juju/maas from the UCA:     agent-state-info: '(error: could not access file ''tools/juju-1.14.1-precise-i386.tgz'':21:16
dpb1      gomaasapi: got error back from server: 401 UNAUTHORIZED (Nonce already used:21:16
dpb1      33410643))'21:16
dpb1machines 1-18 went fine, on deploying this one, I got this error.21:16
=== CyberJacob is now known as CyberJacob|Away
=== matsubara is now known as matsubara-afk
stokachuis anyone else using the cloud-tools archive?23:21
stokachuit seems to be busted23:21
stokachuroaksoax: ^23:48
roaksoaxstokachu: why is that?23:51
roaksoaxstokachu: what are you experiencing?23:51
roaksoax523:52
roaksoax423:52
roaksoax323:52
roaksoax223:52
roaksoax123:52
* roaksoax dead23:52
roaksoax:)23:52
stokachuroaksoax: sec23:53
stokachuroaksoax: http://paste.ubuntu.com/6190310/23:54
roaksoaxstokachu: are you using saucy?23:55
stokachuthis is on precise using the cloud-tools repo23:55
roaksoaxthis seems because tierh package has a higher version and it is trying to install a lower version23:55
roaksoaxstokachu: weird, I'll test later23:55
roaksoaxgotta go23:55
stokachuok23:55
stokachudeb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/cloud-tools main23:56
stokachudeb-src http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/cloud-tools main23:56
stokachuthats my sources.list23:56

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