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

=== freeflying_away is now known as freeflying
=== _bjf is now known as bjf
=== julianwa_ is now known as julian
=== julian is now known as juliawa
=== juliawa is now known as julianwa
=== CyberJacob|Away is now known as CyberJacob
nesusvethello everyone. I have a little problem with the proxy. My local server downloads packages trough a remote proxy server, I set up the maas to work with this proxy  and it looks like everything works well. But it seem JuJu tries to get information about servers through the proxy also. Could please help me to disable the requests to the proxy server please.07:18
nesusvethello everyone. I have a little problem with the proxy. My local server downloads packages trough a remote proxy server, I set up the maas to work with this proxy  and it looks like everything works well. But it seem JuJu tries to get information about servers through the proxy also. Could please help me to disable the requests to the proxy server please.08:42
allenapnesusvet: Is that the Juju client, or Juju running on the bootstrap node, or another machine in your environment?08:47
nesusvetHi allenap, This is "Juju running on the bootstrap"08:47
allenapnesusvet: Do you have a log of the "JuJu tries to get information about servers through the proxy also" bit?08:48
nesusvetI got the 401 error with mention about my proxy host08:50
allenapnesusvet: I really need a log to understand exactly where that error is being encountered.08:51
nesusvetOk, http://pastebin.com/mgVawVG0 - without proxy08:53
nesusvethttp://pastebin.com/NrS3u3wA - with proxy08:54
rvbanesusvet: why are you using '--upload-tools" (which you should do) only when you define the proxy?  I.e. could you try: juju -v bootstrap  --upload-tools -e maas08:56
nesusvetDoing.08:58
allenapnesusvet: Right, to summarise: without proxy Juju can talk to MAAS but not to the outside world; with proxy Juju can talk to the outside world, but not MAAS.08:59
nesusvethttp://pastebin.com/kXykMF53 - here is the result08:59
allenapnesusvet: Try that again without http_proxy.09:00
allenapAs in, unset/blank http_proxy.09:00
nesusvethttp://pastebin.com/gy24D7RD09:01
allenapnesusvet: juju destroy-environment -e maas, then try again.09:01
nesusvethttp://pastebin.com/nsGfiVsz09:02
racedoping rvba09:02
rvbaracedo: hi09:03
racedohey rvba09:03
allenapnesusvet: I'm not sure if we should worry about the warning. Otherwise that looks like success.09:03
nesusvetallenap, http://pastebin.com/fMKNrhtt on this step I alway get the "time out"09:04
racedorvba: we have split the maas-region-controller and the maas-cluster-controller into two servers09:04
nesusvetI mean server do nothing09:04
racedorvba: now we want to install multiple cluster controllers, like 7 or 809:04
racedorvba: so the region controller can communicate to all of them through the same network, right?09:05
allenapnesusvet: Give it 5-10 minutes and try again; juju bootstrap returns before the bootstrap node is actually up and running (yeah, weird, I know).09:05
rvbaracedo: yes09:05
racedorvba: because every cluster controller will be managing different networks09:05
racedorvba: we will have 7 different networks (1 per cluster controller)09:05
rvbaracedo: right, they all need to have there own network, which they control, plus a way to contact the region09:05
racedorvba: exactly perfect!09:06
racedorvba: thanks :)09:06
racedorvba: so the region controller doesn't provide anything other than API, Web UI and database, right?09:06
rvbaracedo: that plus DNS09:07
racedorvba: oh ok09:07
racedorvba: but that doesn't affect the communication as DNS doesn't need to be in the same network09:07
rvbaracedo: right09:07
nesusvetallenap, waiting...09:07
racedorvba: thanks again09:07
rvbanp09:08
nesusvetallenap, http://pastebin.com/yc1H9KzY09:14
nesusvetthe result09:14
nesusvetohh, I forgot to add "-e maas"09:15
nesusvetto the same step with a new option09:15
allenapnesusvet: Can you ssh into the host - ubuntu@GPT-bart-FE - then look at /var/log/cloud-init-output.log.09:30
allenap?09:30
nesusvetyes09:31
nesusvetcan't reach the host (permissions denied)09:32
allenapnesusvet: Can you check in /var/log/maas/rsyslog on the region controller to see if there's anything. Also look at /var/log/maas/pserv.log and the Apache logs for anything suspicious.09:47
nesusvetI have restarted the node09:47
allenapnesusvet: Have you set the http_proxy in MAAS too?09:48
nesusvetyes09:48
nesusvet2013-10-01 03:34:16 DEBUG juju.state open.go:88 connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused09:49
nesusvethere is the message on the node09:49
allenapnesusvet: Okay, I'm wondering if that's the problem. Your proxy can't see internal hosts, but MAAS doesn't know which hosts it should use the proxy for, and which it shouldn't.09:49
nesusvetyes, it's a true09:49
nesusvetso for this reason I need to restrict the actions between node and proxy09:50
nesusvetI mean local network and proxy09:50
nesusvetfor this reason I want to disable proxy09:53
nesusveton the clients and on the bootstrap machine09:53
=== freeflying is now known as freeflying_away
allenapnesusvet: I agree that's the best thing to try next. MAAS does install a proxy on the region controller. You could configure by hand that to use your existing proxy as an upstream proxy, and remove all proxy settings from MAAS.10:05
=== freeflying_away is now known as freeflying
stokachuwhat version of maas was http://maas.ubuntu.com/docs/cluster-configuration.html written for? ive got maas 1.2 on ubuntu precise and the gui doesn't have any of these options13:22
smoserrvba, around ?13:31
smoserwhere do we stand on maas and saucy right now13:32
rvbasmoser: Hi.  Well, same as yesterday, the old script errors when trying to download the Saucy images.  The new script is still not fully integrated but jtv is working on it.13:34
smoser"old script"13:35
smoserthere are 2 scripts that import things13:35
stokachuactually what version of maas was http://maas.ubuntu.com/docs/ written for13:35
smoserimport-ephemeral and import-pxe-files13:35
rvbaIn this case I meant the import-ephemeral script13:35
rvbaBesides, the new script is only a replacement for maas-import-ephemerals, I wonder if tych0 is planning to port maas-import-pxe-images.13:35
rvbatych0: ?13:35
smoserwell, thats an interesting question..13:35
tych0not atm, busy with cloud installer stuff13:36
smoserbecause we need server side data if we want that.13:36
smoseri *do* want that13:36
smoserbut ....13:36
smoserthat probably woudl have to happen "right now".13:36
smoserrvba, i really, really want to have something uploaded to ubuntu end of day here that at least doesn't fail to start.13:36
smoserso is import-ephemeral the only blocker there ?13:36
smoserwait.13:37
rvbasmoser: the only solution is to remove saucy from the list of series to consider.13:37
smoserwhat is that a solution to ?13:37
smoserboth import-ephemeral and import-pxe-files ?13:37
smoserwe can have an ephemeral image later today.13:37
smosercan/will13:38
tych0FWIW, i just landed https://code.launchpad.net/~tycho-s/maas/port-ephemerals-configs/+merge/18793113:38
smoserbut if import-pxe-files is busted, we need to fix that.13:38
rvbaA solution to have a package which does not blow up.13:38
tych0which i thought was the only holdup to switching to .py13:38
rvbatych0: well, that plus hooking up the new script in MAAS;  plus actual testing :)13:38
tych0rvba: right, i meant the only hold up to hooking up the new script13:39
tych0and testing, obviously :-)13:39
smoseroh we dont actually test anythin ghere.13:39
smoserwe just type make test13:39
* smoser was rude. sorry.13:40
smoserrvba, is import-pxe-files broken  still ?13:40
smoserin the current version?13:40
smoserwhat is that bug ?13:40
rvbaBug 123217413:41
ubot5bug 1232174 in MAAS "maas-import-pxe-files fails because Saucy's images information is not available." [Critical,Fix committed] https://launchpad.net/bugs/123217413:41
rvbaNo idea why the lander marked it as fixed.13:41
stokachuthe man page for maas-cli doesn't mention anything about " maas-cli maas node-groups import-boot-images" as stated in the online docs so im not sure what version of maas these docs were written for13:42
rvbastokachu: these docs are for the version about to be released in saucy.13:42
smoserstokachu, i'm really sorry. you're runing 12.04 i suspect.13:43
stokachuyea im on precise with maas 1.213:43
smoserstokachu, we're working on getting you a sane solution for 12.04.13:43
stokachuah ok13:43
smoserthe plan is "cloud-tools" pocket, which is part of the cloud-archive.13:43
smoserthat pocket will have juju and maas from 13.10 (and dependencies) running on 12.0413:43
stokachuah ok, are those bits available now? or not until saucy goes gold?13:44
smoserstokachu, well, they're available... but in a non-yet-working state :)13:44
smoseri was hoping by end of today that we'd have a at-least-working state.13:44
stokachusmoser: gotcha, mind if i pm you real quick?13:45
smoserthats fine.13:46
roaksoaxo/14:01
roaksoaxrvba: so how are we looking? everything ready to be released?14:01
rvbaroaksoax: Hi.14:03
roaksoaxrvba: o/14:04
roaksoax:)14:04
rvbaroaksoax: I'm relying on smoser's judgment here.  We're not in a position to use tych0's replacement script yet.  And the old import scripts error because of 1232174.  The consequence is not dramatic because the script is written in such a way that all the other images are downloaded first.  But I would be more comfortable removing "Saucy" from the list of images to download.14:05
smoserbug 123217414:06
ubot5bug 1232174 in MAAS "maas-import-pxe-files fails because Saucy's images information is not available." [Critical,Triaged] https://launchpad.net/bugs/123217414:06
smoserrvba, ok... i'll look at fixing that script for saucy.14:07
smoseri think actually the issue is unfortunately deeper than you think.14:07
rvbaoh?14:07
roaksoaxrvba: but we can simply disable the import of saucy for the time being... can tych0's replacement make use of saucy'14:08
roaksoaxrvba: but we can simply disable the import of saucy for the time being... can tych0's replacement make use of saucy's devel images?14:08
roaksoaxsmoser: devel images are already up right?14:08
rvbaroaksoax: I'd be in favor of reverting http://bazaar.launchpad.net/~maas-maintainers/maas/trunk/revision/1641.14:09
smoserrvba, revert the config file change14:11
smoserbut not the import_pxe_files14:11
smoserand just ship thtat for today14:11
smoserthats my suggestion14:11
smoserhonestly... i *REALLY* would like to see enum.py use python-distro-info14:12
* rvba nods14:12
smoserwhifch would take rvba probably 15 minutes to do, and then we'd never have this non-sense about maas refusing to deploy something because it doesn't hknow a string.14:12
roaksoaxrvba: yeah only revert RELEASES="precise quantal raring saucy"14:13
rvbaOkay.14:13
rvbaNext time, please test a change like this before (or right after) landing it.14:14
rvbaroaksoax: https://code.launchpad.net/~rvb/maas/fix-m-i-p-f/+merge/18861014:16
roaksoaxrvba: done14:17
rvbaTa.14:18
rvbaroaksoax: the change is merged.14:25
roaksoaxrvba: thanks! releasing now then14:25
smoserrvba, http://paste.ubuntu.com/6179821/14:40
smoserthat pretty much creates the DISTRO_SERIES and DISTRO_SERIES_CHOICES that are used in enum.py14:41
smoserit'd be nice if distro_info gave you that dict that i have to make up. or at least something like it.14:42
rvbaIndeed.14:42
* rvba filed bug 1233713.14:43
ubot5bug 1233713 in MAAS "The list of supported distro series is hardcoded in src/maasserver/enum.py" [High,Triaged] https://launchpad.net/bugs/123371314:43
smoserhttp://paste.ubuntu.com/6179846/14:47
smosernothing is simple though.14:48
mgzjuju-core uses distro-info!14:55
roaksoaxso we used to have that before I remember but the changes got reverted14:57
mgz(we chet a little, have some hardcoded values, then repopulate if something is found, using the ubuntu.csv file)14:57
roaksoaxrvba: ok so we are good to replace maas-import-ephemerals to the py version?15:04
=== matsubara is now known as matsubara-lunch
rvbaroaksoax: well, no; we haven't tested it yet.  Right tych0?15:08
roaksoaxrvba: ok15:08
tych0well15:09
tych0i ran a few tests locally15:09
tych0i don't think anyone else has tried it, though15:09
tych0which would be good to do15:09
rvbaWell, I just tried it.15:09
tych0did it work? :-)15:10
rvbaIt downloads stuff, but now I can't get my nodes to boot.15:10
tych0hmm15:10
=== kentb-out is now known as kentb
rvbaiscsi error15:10
rvbahttp://people.canonical.com/~rvb/iscsi-error.jpg15:11
tych0arg15:11
tych0i've seen that.15:11
tych0hmm15:12
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
smoserdistro_info much harder to work with than i'd like. but this gets a sane array of everything. http://paste.ubuntu.com/6180076/15:45
byrohi15:59
byroneed some help...any volunteer?15:59
byrook, I will try to post my question.....16:02
byroI've setup two VMs in virtualbox16:02
byroone runs the maas region/cluster controller. let's call this one "master"16:03
byrothe master vm has three interfaces:16:03
byrolost connection16:04
byrotrying again:16:04
byrotwo VMs: "master", and "node"16:04
=== matsubara-lunch is now known as matsubara
byromaster has following interfaces: eth0: Internal Network - eth1: NAT - eth2: host16:05
byronode has only eth0: on Internal network16:05
byroI've maas region and cluster controller running on master16:05
byromaster IP addresses are: eth0:192.168.0.11, eth1=10.0.3.15, eth2=192.168.56.10216:06
byrothe problem is:16:07
byronode does pxeboot, but it receives a preseed with cloud-config-url=http://10.0.3.15/MAAS/metadata/latest/enlist-preseed/?op=get_enlist_preseed log_host=10.0.3.15.....16:08
byroI see the DNS address to 10.0.3.15...16:09
byrobut node doesn't have an interface on that net16:09
byroso, what do I do on master to make the DNS show up as 192.168.0.11 instead of 10.0.3.15?16:09
AskUbuntuvirtualbox, MAAS: wrong seeding? | http://askubuntu.com/q/35236317:06
smoserrvba, roaksoax we shoudl have a released ephemeral for saucy now17:33
Byroanybody willing to take a stub at http://askubuntu.com/questions/352363/virtualbox-maas-wrong-seeding ?17:34
Byrotest17:37
roaksoaxsmoser: do you need simplestreams seeded?17:38
roaksoaxsmoser: i was thinking of adding a dependency to simplestreams to maas (before we oficially move to the new import epehemrals script)_17:39
ppetrakimaas issue[tcpdump]:  http://paste.ubuntu.com/6180595/ , I can bootstrap and destroy an env, but juju status always reports the env is not found17:59
smoserroaksoax, yes. please add that dependency!18:15
smoserinfinity bothers me daily to have it seeded18:15
roaksoaxsmoser: done! I just need to test and will upload to archive18:15
stokachuanyone run into issues when installing maas from cloud-tools and postgres not starting19:20
roaksoaxsmoser: great! commissioning seems to be broken!19:23
roaksoaxoh nevermind19:23
roaksoaxit just took forever19:23
roaksoaxsmoser: ok so I uploaded it19:28
ByroHi19:30
smoserroaksoax, you uploaded maas to saucy ?19:34
roaksoaxsmoser: yes19:35
smoserand import-ephemerals and import-pxe-files works out of the box ?19:35
smoserdid you fix import-pxe-files ? or did it get fixed due to removal of saucy19:35
ByroHi... I see a node booting PXE trying to access 169.254.169.254. Where is that coming from, and what should it actually be?19:36
Byrol19:36
smoserif its trying to get there, then it didn't find the maas datasource.19:36
smoserhow did you boot it?19:36
Byrowhere is that supposed to be configured?19:36
ByroI have a server VM with maas running...19:37
ByroI'm booting the "node" vm in PXE19:37
Byroit is correctly getting the IP from the dhcp server in MAAS node...19:37
Byrountil a few minutes ago I was seeing dhcp0 to be wrong, but fixed that, still that had no effect on this issue19:38
smoserByro, i think you need isc-dhcp-server from https://launchpad.net/~virtual-maasers/+archive/maas-updated-packages19:46
Byrosmoser: I guess my IRC timed out....19:48
roaksoaxsmoser: yes19:49
Byrodid you have some wise word for me?19:49
roaksoaxsmoser: removing saucy from the list of releases in /etc/maas/import_pxe_files worked19:49
smoserByro, i suspect you're hitting https://bugs.launchpad.net/ubuntu/+source/maas/+bug/106957019:50
ubot5`Ubuntu bug 1069570 in maas (Ubuntu Raring) "1 MAC Address, two IPs - DNS is "out of sync" with DHCP leases databases" [Undecided,Confirmed]19:50
smoserand you can ge ta build with that fix in it at https://launchpad.net/~virtual-maasers/+archive/maas-updated-packages19:50
smoserroaksoax, thank you.19:50
smoseryou'll also need to modify your maas dhcp.conf Byro19:50
Byro_the stupid client keeps timing out19:52
Byro_but I did see your answer....19:52
Byro_I don't have a single mac though19:52
Byro_I have three separate eth on the server19:52
Byro_each one gets one IP19:52
Byro_do you still think that bug would affect me?19:52
byrohi19:55
byromy client keeps disconnecting19:55
smoserbyro, but you're surely only booting off of one of them.19:55
smoserbasically eth0 has to get an ip off of dhcp and has to be ocnnected to amas.19:55
byroyes, I'm booting out of 192.168.0.1119:55
byroand correctly getting IP19:55
byroI also was able to fix the dns019:55
byroit now correctly indicates 192.168.0.11 instead of 10.0.15.319:56
byrobut...19:56
byroI still get the problem19:56
smoserbyro, this is commissioning ?19:57
smoseror enlistment?19:57
byrouhm...19:58
byrosorry, not entirely accustomed to jargon yet....19:59
byrohold on19:59
smoserwhat have you done so far?19:59
byrothere are no known nodes to the controller yet19:59
smoseryeah.19:59
smoserso thats enlistment19:59
byrook19:59
smoserthe first time the node boots it shoudl pxeboot and then tell maas all of its network interfaes.20:00
smoserthen you 'accept' the node, and it will "commission"20:00
byroright20:00
byrook20:00
byroquestion:20:01
byrois this ok?20:01
byro#cloud-config datasource:   MAAS:     timeout : 50     max_wait : 120     # there are no default values for metadata_url or oauth credentials     # If no credentials are present, non-authed attempts will be made.     metadata_url: http://10.0.3.15/MAAS/metadata/enlist20:01
byrothis is the preseed20:01
byroit also shows 10.0.3.1520:01
byrowhile the pxe-booted node can't reach that network20:01
byroshould that be 192.168.0.11 instead (address of maas server on reachable network)?20:02
smoseryeah.20:03
byrook...20:03
smosertry dpkg-reconfigure maas-provisioning-server20:03
byrook20:03
byrodpkg is not installed20:04
byrowill install20:04
byrouhm...20:04
byrono info available to install it...20:04
byroactually, sorry20:06
byromaas-privisioningt server is not installed20:06
byromaas-provisioning-server20:06
byro?20:09
byroam I still in the channel?20:11
Byrohello20:22
Byrosorry if somebody already replied, I keep getting kicked out of the channel due to timeouts20:22
Byromy preseed have the wrong ip address in it20:25
Byrohow do I change that?20:25
Byrohow can I change the metadata_url IP address in the preseed?20:32
Byroanbody here?20:37
stokachuroaksoax: whats the best way to see whats happening with a node before enlistment? i can see where the maas server offered its dhcp information but not sure where to check status of the node21:49
=== freeflying is now known as freeflying_away
=== CyberJacob is now known as CyberJacob|Away
tych0ok, i know i'm forgetting something simple; my pxe nodes can't boot because they can't find pxelinux.023:55
tych0it gets an IP, and tgtd is running on the maas machine23:56
tych0but /var/log/maas/pserv.log shows no signs of activity when i try to pxe boot23:56
tych0what am i forgetting to start? :-)23:56

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