[14:15] <atanasb> Hello everyone
[14:16] <atanasb> I just finished installing MAAS
[14:16] <atanasb> I have a problem with the configuration of my nodes
[14:16] <atanasb> is this the place to ask such questions?
[14:16] <atanasb> :)
[14:50] <melmoth> i m having problem enlisting nodes when i m behind a proxy
[14:51] <melmoth> i try to change /usr/share/maas/preseeds/generic so that i have "d-i     mirror/http/proxy string http://http://my.proxy:8000/"
[14:51] <melmoth> but when i enlist a node, it s console still show temporary failure resolving archive.ubuntu.com
[14:52] <melmoth> did i do something wrong ? was i suppose to restart some service ? any hint as to what i may have missed ?
[14:53] <melmoth> still, the node appears as declared.
[14:57] <melmoth> racedo any idea ? ^
[15:11] <melmoth> still, i cannot bootstrap , i added the proxy def in the /usr/share/maas/preseeds/preseed_master file, but it does not seem to be used
[15:16] <melmoth> lets try to set the proxy in enlist_userdata and re enlist the node then.
[15:58] <roaksoax> melmoth: yes
[15:59] <roaksoax> melmoth: enlistment doesn't use the normal preseeds, it uses enlist_userdata
[15:59] <melmoth> enlisting worked, but now not the bootstraping. i m tryoing to add apt.conf manually in /var/lib/maas/ephemeral/precise/ephemeral/amd64/20121008/disk.img
[16:00] <roaksoax> melmoth: it is not bootstrapping because it is not accessing the ppa:
[16:00] <roaksoax> ?
[16:00] <melmoth> no, i havent reach this stage yet. :)
[16:00] <melmoth> that s what i want to try out, the workarond you mentionned last week
[16:00] <roaksoax> melmoth: there's no need to modify disk.img when you can modify the cloud init preseeds/user data to add the proxy
[16:01] <melmoth> i try, i failed
[16:01] <roaksoax> melmoth: is this a customer?
[16:01] <melmoth> no, its just me having nothing more urgent to play with
[16:01] <roaksoax> melmoth: ok, is this a lab i could access to?
[16:01] <melmoth> yep, arion on boston.
[16:02] <melmoth> hold on, just trying to bootstrap after my change in the image
[16:03] <roaksoax> melmoth: ok, butyou have to differentiate various things. 1. only enlisting and commissioning use the image 2. the installation process is done via normal installation (doesn';t use the image).
[16:03] <melmoth> ah, then it ll failed....
[16:04] <melmoth> but i did put the porxy in the /usr/share/maas/preseeds/preseed_master
[16:04] <roaksoax> melmoth: preseed_master automatically uses the proxy in MAAS
[16:05] <melmoth> i set apt_proxy: in /usr/share/maas/preseeds/enlist_userdata, and set the proxy in /usr/share/maas/preseeds/preseed_master
[16:05] <melmoth> and in the image
[16:09] <roaksoax> melmoth: you don't need to modify preseed_master: http://paste.ubuntu.com/5625566/
[16:09] <roaksoax> melmoth: http://paste.ubuntu.com/5625568/
[16:10] <melmoth> hmmmm, in enlist_userdata i did not put apt_proxy: http://{{server_host}}:8000/ but my proxy...
[16:10] <melmoth> may be i should have just uncomment it without changing the server_hosr macro ?
[16:10] <roaksoax> melmoth: {{server_host}} refers to the address of the MAAS Region Controller
[16:10] <roaksoax> where the MAAS proxy is running (squid-deb-proxy)
[16:11] <melmoth> ok... i ll try that out. from scratch again, just to be sure :)
[16:11] <melmoth> i ll have more news by tomorrow.
[16:11] <melmoth> thanks
[16:11] <roaksoax> melmoth: now you might find some situations on which it cannot import the gpg key for the PPA... that needs to be resolved differently and can't remember how is it that we did it
[16:12] <melmoth> that s what i want to try out this week.
[16:13] <melmoth> i bet i ll ask more help about it here in the near future....
[16:13] <roaksoax> indeed
[20:18] <aberdine_> Hello. I'm trying to get MAAS up and running on Quantal to provision Quantal machines. I can't get the import pxe tool to download the quantal images but it doesn't by default and error if I add the config to the import-pxe config file
[20:18] <roaksoax> aberdine_: modify /etc/maas/import_pxe_files
[20:19] <roaksoax> aberdine_: and there would be something like #IMPORT_SQUASH_FS=0 remove the comment and try to import the images again
[20:19] <roaksoax> aberdine_: if it continues to fail, set that to 1 and that should be ir
[20:19] <roaksoax> be it
[20:20] <aberdine_> thanks roaksoax. It was failing at the squashfs import
[20:20] <aberdine_> it seems to be running now
[20:24] <aberdine_> Now I've just got to figure out why it things it's install the machine went it's done nothing
[20:28] <roaksoax> aberdine_: how so?
[20:29] <aberdine_> I do the first PXE boot, then accept it via the web interface. Reboot and boot of net and it keeps going with the enlist process
[20:29] <aberdine_> It never actually installs anything
[20:31] <roaksoax> aberdine_: so there's 3 steps in maas 1. enlistment. 2. commissioning 3. deployment (which leads to installation)
[20:31] <roaksoax> aberdine_: so you enlist a machine and it has a 'Declared' Status on the WebUI
[20:31] <roaksoax> aberdine_: you do "Accept & Commission"
[20:31] <aberdine_> yep, got that
[20:31] <aberdine_> and the second one
[20:31] <roaksoax> aberdine_: and it will accept the node, and it will commision
[20:31] <aberdine_> It's now saying 'ready'
[20:32] <roaksoax> aberdine_: ok so, how are you deploying it then?
[20:32] <aberdine_> via a PXE boot
[20:32] <roaksoax> aberdine_: right, but once 'Ready' you need to tell it to *deploy* via the WebUI, or via juju
[20:32] <roaksoax> i'd recommend juju
[20:33] <aberdine_> I don't see a deploy option
[20:33] <aberdine_> I have a greyed out start
[20:33] <aberdine_> I need to play with it a bit more I think
[20:34] <roaksoax> aberdine_: what meesage is shown when you put the mouse on top? I think you haven't added the SSH key for the MAAS user
[20:34] <roaksoax> that is deploying the system
[20:34] <roaksoax> you need to specify one
[20:34] <aberdine_> added the SSH key to…?
[20:35] <roaksoax> aberdine_: on the right corner, clic on the user
[20:35] <roaksoax> then go to Settings
[20:35] <roaksoax> err
[20:36] <roaksoax> PReferences
[20:36] <aberdine_> that needs my ssh public key in?
[20:36] <roaksoax> then 'Add SSH Key', which is your public key
[20:36] <aberdine_> what's that for? Post install config?
[20:36] <roaksoax> aberdine_: yes it needs your public ssh key, otherwise you won;'t be able to log into the server
[20:37] <aberdine_> ah :)
[20:39] <aberdine_> So, I've enlisted and commissioned the machine. It's on its second boot now
[20:39] <aberdine_> it has a hostname this time
[20:39] <aberdine_> hmm
[20:39] <aberdine_> this looks promising
[20:39] <aberdine_> it's downloading stuff
[20:40] <aberdine_> and shuts down
[20:40] <aberdine_> and start node
[20:40] <aberdine_> ahha
[20:40] <aberdine_> an installer :)
[20:41] <aberdine_> excellent. Thanks roaksoax
[20:41] <roaksoax> cool
[20:42] <aberdine_> on the road to building my own openstack cloud :)
[20:43] <roaksoax> cool :)