/srv/irclogs.ubuntu.com/2017/07/06/#maas.txt

=== cargonza_ is now known as cargonza
digvwhere can I find installation log when maas fail to boot vm?06:33
digv(refer to the installation log for more information), where can I find this installation log?07:08
=== frankban|afk is now known as frankban
ybaumywho is andres rodriguez? which nickname does he have?07:22
julenMy MaaS controller is only listening to IPv6 on port 524008:14
julenAny clues on where could I check?08:15
julenAnyone has some idea about how to find out why the API endpoint is not listening on IPv4?08:31
julenBjornT ?08:34
mupBug #1702649 opened: MAAS should assess PostGRES configuration <MAAS:New> <https://launchpad.net/bugs/1702649>09:35
mupBug #1702649 changed: MAAS should assess PostGRES configuration <MAAS:New> <https://launchpad.net/bugs/1702649>09:44
mupBug #1702649 opened: MAAS should assess PostGRES configuration <MAAS:New> <https://launchpad.net/bugs/1702649>09:53
mupBug #1702669 opened: Index on maasserver_routable_pairs would improve performance  <MAAS:New> <https://launchpad.net/bugs/1702669>11:29
mupBug #1702671 opened: Potentially duplicated presence updates <MAAS:New> <https://launchpad.net/bugs/1702671>11:29
mupBug #1702669 changed: Index on maasserver_routable_pairs would improve performance  <MAAS:New> <https://launchpad.net/bugs/1702669>11:32
mupBug #1702671 changed: Potentially duplicated presence updates <MAAS:New> <https://launchpad.net/bugs/1702671>11:32
mupBug #1702669 opened: Index on maasserver_routable_pairs would improve performance  <MAAS:New> <https://launchpad.net/bugs/1702669>11:35
mupBug #1702671 opened: Potentially duplicated presence updates <MAAS:New> <https://launchpad.net/bugs/1702671>11:35
vignesanhi12:12
vignesanhello12:35
julenHi there! I am trying to connect to my MaaS server with juju, but I'm not sure if I am using the right API endpoint url12:59
julenit complains that "Can't validate endpoint: No MAAS server running at http://$ip/MAAS/api/2.0/"13:00
julenI also tried with http://$ip:5240/MAAS but the controller is not listening on that port for IPv413:01
julenI can log in with the CLI with the same (1st) URL on the controller13:04
mupBug #1702560 changed: faild deploy windows 2012r2, but  boot stay ok <curtin:Invalid> <MAAS:Invalid> <https://launchpad.net/bugs/1702560>13:05
mupBug #1702560 opened: faild deploy windows 2012r2, but  boot stay ok <curtin:Invalid> <MAAS:Invalid> <https://launchpad.net/bugs/1702560>13:08
mupBug #1702560 changed: faild deploy windows 2012r2, but  boot stay ok <curtin:Invalid> <MAAS:Invalid> <https://launchpad.net/bugs/1702560>13:17
gimmicIs there any way to template the names based on another field value?13:18
julenhi gimmic13:30
julenyou mean, something else than those "{prefix}_{osystem}_{node_arch}_{node_subarch}_{release}_{node_name}" ?13:31
gimmicYeah, I'd like to use an octet from the ipmi interface as those are statically assigned. I could also use the ipmi hostname set/advertised via dns13:33
gimmicor if there's a good way to rename hosts via cli or api, I suppose13:33
julenI have no idea... but it sounds like it shouldn't be too difficult, let me check13:36
julenfirst step:  new_hostname=$(maas maas nodes read hostname=casual-mite |grep mac_address | tail -1 | awk -F'"'  '{print $4}')13:46
julenuff... it sounds like a very basic thing to do, but on a first sight, I haven't found any options to change the names!13:53
gimmicheh13:57
gimmicIt's mostly an ease-of-identification thing. I have 12 racks of nodes to identify13:58
gimmicas bare metal, the only real unique IDs that come easily would be the static-set ipmi interfaces13:58
gimmicI could use service tags too, but that's fairly 'random'13:59
julenactually, it seems that the maas CLI doesn't really let you change anything. Just start, stop and delete stuff13:59
gimmic:( Probably have to be an api call then13:59
gimmicCLI would be easier for bash hackery13:59
julendefinitely13:59
mupBug #1702062 changed: Incompatibilities with Django 1.11 <patch> <django-piston3 (Ubuntu):Fix Released by andreserl> <maas (Ubuntu):Fix Released> <https://launchpad.net/bugs/1702062>14:05
mupBug #1702690 opened: [2.2] Commissioning a machine prefers minimum kernel over commissioning global <MAAS:Triaged> <MAAS 2.2:Triaged> <https://launchpad.net/bugs/1702690>14:05
mwe11hello there out using maas14:14
mwe11I've a question regarding maas and ipmi14:14
mwe11dell servers are delivered with deactivated ipmi-over-lan14:15
mwe11i found out that within the installed server I can toggel the ipmi-ove-lan via ipmitool: "sudo ipmitool lan set 1 access on"14:16
mwe11Is it possible to implement this into the automatic discovery?14:20
gimmicthat would need to be a customizable option as it is potentially destructive14:30
gimmiccouldn't you just do it in a script to turn 'em on?14:30
mwe11hmmm. Where do I have to provide this script? I've no idea where to look :-(14:32
gimmicIs there any way to template my storage configuration?14:32
mwe11@gimmic: Yes, via maas cli14:33
mwe11I do my own storage configuration (partitioning, raid, lvm, etc.) via maas cli14:34
gimmicnice. Do you have an example of raid?14:35
mwe11one minute please ...14:36
pmatulismwe11, feel like sharing those scripts? maybe we can include some samples in the official docs14:36
julenmwell: is there any updated guide on how to use the CLI for editing the preseeds?14:36
pmatulisjulen, not yet14:36
julenpmatulis: could you give me some clues on how to get started on learning how to customize them?14:38
julenI have seen that curtin stuff, and I am trying to understand it14:38
pmatulisjulen, i haven't started myself unfortunately14:38
pmatulisjulen, right now the old 1.9 docs are all i know of14:39
gimmicin a similar boat here as I want to automate dd mangling the disks in the nodes on commission. Curtin is failing due to conflicting lvm vg groups14:39
gimmic(or on deployment_14:39
julengimmic: have does it also fail while commissioning?14:40
gimmicI don't believe so14:40
julenI had similar problems today, and I found out that if I release and commission again, it works somehow14:41
gimmicThat was my 'fix' in 1.914:41
gimmicdoesn't seem to work in 2.214:41
gimmicI will try it again though just to see if it can save me some time14:41
julenbut then, there is no chance of finding one of those "cheetah" templates (like in cobbler), where one can just edit stuff with "old-school" syntax, right?14:43
dannfI'd be trying to figure out how to get xenial/hwe images on my system - they weren't there by default, and the instructions in the doc gave me an error (https://docs.ubuntu.com/maas/2.1/en/manage-cli-images)14:46
dannfby digging through simplestream json on maas.io, i figured out that it only works w/ the v3 simplestream. switched to that as a custom stream, and things are working now14:47
mwe11@julen: Yes, feel free to include it.14:47
mwe11# list all machines in state 'ready'14:47
mwe11 maas ${PROFILE} machines read | jq '.[] | select(.status_name=="Ready") | {hostname: .hostname, system_id: .system_id, status: .status, in: [.interface_set[].name]|sort }' --compact-output14:47
mwe11## set variables14:47
mwe11HOST_ID=               # eg. dfgwn814:47
dannfi'm not sure why i'm on v2 - docs say v3 are the default. is that an upgrade issue?14:48
mwe11@yulien: sorry I've been logged out due too message flooding :-)14:48
mwe11Dis you got any of my automated server configuration scripts?14:49
julenmwell: this one?14:50
julenmaas ${PROFILE} machines read | jq '.[] | select(.status_name=="Ready") | {hostname: .hostname, system_id: .system_id, status: .status, in: [.interface_set[].name]|sort }' --compact-output14:50
pmatulisdannf, you need to change to v3, yes14:51
pmatulisdannf, where you using the default boot/image source pre-2.1 ?14:52
dannfpmatulis: ok. obviously that'd be good to clarify in the docs (i can send a patch for that), but the "dirty" part about that is that i'm now in "custom image mode"14:52
pmatulis*were14:52
dannfthe docs do say v3 is the default, and that should be good - but the section about adding hwe options doesn't show the dep on v3 explicitly14:53
pmatulisdannf, were you using the default boot/image source pre-2.1 ?14:53
dannfsfeole: that's correct, yes?14:53
dannfpmatulis: if this answers the quesiton, here's the dump of the boot-sources before i switched to v3: http://paste.ubuntu.com/25032562/14:55
dannfand it was upgraded from a pre-2.114:55
pmatulisdannf, ok, that's why14:55
pmatulisdannf, this is the default for pre-2.1 AFAIU: https://images.maas.io/ephemeral-v214:57
pmatulisdannf, if you were using that, then the upgrade should have changed it to v314:57
dannfpmatulis: ok14:58
pmatulishttps://docs.ubuntu.com/maas/2.1/en/release-notes14:58
sfeoledannf, correct we were using the default boot/image source pre-2.114:59
dannfpmatulis: so, to make sure i understand - the issue is that our maas was not using the pre-v2.1 default?14:59
pmatulisdannf, that's my understanding, yes15:00
pmatulisdannf, what maas version was originally installed?15:01
dannfsfeole: ^15:01
sfeolepmatulis, bahh give me a sec15:01
dannfpmatulis: in case you haven't gathered, sfeole admins this maas :)15:01
pmatulissounds like you also upgraded to 2.0 (from 1.9)?15:01
sfeolepmatulis, that sounds likely, because this maas has been around for quite some time15:02
pmatulisdannf, got it ;)15:02
pmatulissfeole, ok15:02
mwe11@julen, @gimmic:  http://paste.ubuntu.com/25032595/15:02
gimmic<315:03
sfeolepmatulis, i have not reinstalled it simply due to the fact it's production and has a boatload of user accounts and hosts15:03
mwe11nearly 200 lines, sorry15:03
mwe11does it fit your needs?15:03
pmatulissfeole, i understand15:03
sfeolepmatulis, speaking of that, there is no way to "backup" the configured users and enlisted hosts , so that I could "restore" it to a new MAAS install.15:03
sfeolepmatulis, that would be swell if so15:03
julenmwell: thanks! :)15:04
mwe11if you need an author you can take Marcus Wellnitz, University of giessen, germany ;-)15:05
pmatulismwe11, did you mean the maas docs can include some of your scripting?15:06
* pmatulis writes MAAS documentation15:06
pmatulissfeole, i'm pretty sure there is a backup section in the docs15:06
sfeolepmatulis, ack, will look it up, thx15:07
pmatulisi need to validate that again probably15:07
mwe11@pmatulis: yes, you're welcome to include it if it's helpful15:07
pmatulismwe11, alright thanks15:08
pmatulissfeole, https://docs.ubuntu.com/maas/2.1/en/manage-backup15:08
mupBug #1702703 opened: Cannot run maas-regiond without /bin/maas-rack <MAAS:Triaged> <https://launchpad.net/bugs/1702703>15:08
mwe11maybe someone can answer my question: "Where do I have to add scripts to modify ipmi-settings via ipmitool?"15:10
julenmwell: you mean, like change the management IP of the node? Or a settings template to avoid having to set the IPMI in all new servers?15:15
mwe11julen, yes. in my simpel case this one: "ipmitool lan set 1 access on"15:16
julenthat sounds tricky... if I was in the same situation I would probably get around it with a simple shell script15:19
julenwell... I have been trying to ask the same question a lot of times, but I'll try again, now that there's a little more activity in here...15:21
mwe11It's because of a default setting of dell servers: ipmi over LAN ist disabled by default. maas ist creating a user, reads the ip-configuraton and ... can't connect because it's disabled :-(15:21
julenI am trying to connecto to my maas with juju, but the port 5240 of the controller is closed. I also tried with http://$ip/MAAS/api/2.0/ but it's also not working15:22
julenmwell: but that sounds like a one time thing. It sounds like you can just run a shell script with a for loop, enable all the cards, and that's it15:23
julen... unless you are changing your hardware every day...15:25
mwe11julen, you're right. I just want to implement an automatic activation of ipmi-over-lan when maas detects the host (at the first boot new -> ready)15:26
julenmwell: wow! that sounds cool :)15:27
mwe11correction: discovery -> new ( I hope that's the right naming :-))15:28
julenmwell: I am not very much into MaaS, and my solutions are usually quite twisted... but why not to include a custom script which does it or you while commissioning?15:29
mwe11julen, just to ensure not to have a manual interaction while deploying a node.15:30
julenyou can access the IPMI interface of the host itself from within the host15:30
mwe11commissioning is too late. It has to be included into the very first PxE-Boot maas-init process.15:30
mwe11otherwise the node will be in error state because maas is unable to start it via ipmi-power-on15:31
julenwell: you are right...15:32
julenwhat about turning them on with WOL?15:32
julenUff.. there's no WOL option anymore :S15:34
mwe11my goal ist to  unpack a server, mount it into the rack, do the cabeling stuff, adjust iDRAC (ipmi) via mini-display and just power on the server15:34
mwe11No iDRAC-Webinterface to enable that anoying ipmi-over-lan :D15:35
julenfrom my limited knowledge, the only twisted solution I could think about, would be to try to rebuild the ramdisk to do that thing for you. But it sounds really un-elegant15:37
julenthere's probably a way better way to handdle that with curtin, but I don't really understand it yet15:38
mwe11I found some hints at15:39
mwe11/usr/lib/python3/dist-packages/provisioningserver/templates/commissioning-user-data/snippets/maas_ipmi_autodetect_tool.py15:39
mwe11/usr/lib/python3/dist-packages/provisioningserver/templates/commissioning-user-data/snippets/maas_moonshot_autodetect.py15:39
mwe11/usr/lib/python3/dist-packages/provisioningserver/templates/commissioning-user-data/user_data.template15:39
mwe11at my maas server15:39
mwe11but templates sounds like templates :D15:40
julenhmm.. but those probably just run while commissioning15:40
gimmicmmm found something dirtier than dd: "wipefs -a /dev/sd* -f"15:41
mwe11those should run on initializing. "####  IPMI setup  ######"15:42
mwe11commisioning is too late for my needs.15:43
julenit's weird... I don't have that commissioning-user-data directory15:44
mwe11   power_type=$(maas-ipmi-autodetect-tool)15:45
mwe11   case "$power_type" in15:45
mwe11       ipmi)15:45
mwe11           power_settings=$(maas-ipmi-autodetect --configdir "$IPMI_CONFIG_D" ${pargs})15:45
mwe11-> looks like it runs at the very first boot (maybe within maas-init)15:45
julenthat's bash.. it should be easy to debug...15:46
julenmwell? nobody is really answering my question, but you have a working maas... could you tell me if your port 5240 is visible from outside (with IPv4)?15:49
mwe11I'll have a look15:50
mwe11yes, it looks like15:51
julenuf... then I have no clue of what is wrong15:52
mwe11netstat -patn | grep 524015:52
mwe11tcp6       0      0 :::5240                 :::*                    LISTEN      2316/python315:52
julenfrom the maas cli (on the controller) I use the url http://$ip/MAAS/api/2.0/15:52
mwe11bt it seems like iptables drops it15:52
julenaha! ok.. that is IPv615:52
julenI have the same. That means that the juju docu is wrong15:53
julennow the problem is, why can I connect with the CLI from the controller, but not with juju from outside. But well... it probably just a firewall issue or something15:54
mwe11iptables?15:54
julenthere is this new ufw thing15:56
mwe11ufw status15:56
juleninactive15:57
mwe11mine too15:57
mwe11but "iptables -L" shows rules15:58
julenmy iptables is empty15:58
julenmaas v2.2.0 right?15:58
mwe11that means nothing is locked out15:59
mwe11MAAS Version 2.1.5+bzr5596-0ubuntu1 (16.04.1)15:59
julenmaybe that's why I don't have that commissioning-user-data directory16:00
mwe11:D16:01
julenwell.. the funny thing is, that I have a firefox open with the web interface, so why is juju saying that there's no maas server running in there?16:02
mwe11firefox at port 5240?16:02
julenmaybe I am supposed to install juju on the maas controller too...16:02
julennope, 8016:02
julenthe 5240 is closed for tcp416:03
mwe11I had been told by canonical not to install maas and juju at the same machine16:03
julendo you have juju too?16:04
mwe11not yet. Just a VM at the maas server with the name "juju" :D16:05
julenyeah.. the idea is, to keep the things separated, and to be able to deploy juju from anywhere. But how?? I can't connect16:05
julenhehe :D16:05
julenI installed juju on my workstation16:05
julenat the end, it's not really a server. It's just the place from where you submit the tasks to maas16:06
mwe11you can try the tool tcptraceroute16:06
julenwhat you need a server for, is for the charm store thing16:06
julenwell.. the connection is ok. I tried tcptraceoute too, but well... I have the website open! I bet it is an stupid bug in juju or something16:09
gimmicmwe11: I owe you a beer16:09
gimmicmwe11: you just saved me so much time16:09
mwe11:D You're welcome16:10
gimmicthat script needs to be put into the maas documentation stat16:10
mwe11@gimmic: which script do you mean?16:11
gimmichttp://paste.ubuntu.com/25032595/16:11
gimmicI just used the parts i needed16:11
mwe11@gimmic: @pmautils is currently checking if it fits his need ;-)16:12
mwe11@gimmic; I developed it during the last 2 month whith 2 trainees16:14
pmatulisjulen, which juju doc is wrong?16:18
julenpmatulis: https://jujucharms.com/docs/2.1/whats-new16:22
julenI am using 2.2.0 and assumed that the address what the same16:22
julenhttps://192.168.122.143:5240/MAAS16:22
julenI have no port 5240 listening on IPv416:23
julenpmatulis: are you using juju 2.2 ? Which endpoint address do you use for maas?16:29
gimmicpossibly stupid question: Is there any way to see the api calls the webUI is making?16:33
pmatulisjulen, odd, i thought maas always listens on port 524016:36
julennot in my controller (v 2.2.0) and not in the one of mwell (v2.1.5)16:37
julenthere is also not so much documentation on how do the config files work16:38
julenI thought about trying to write something myself, but I have no clue of how to get the info myself16:38
julen... besides reading the source code, which looks pretty complex...16:39
julenI have been trying to make some patches on some bugs I found, but also have no clue of where to search16:40
julenpmatulis: I am using mostly default settings, and my regiond.conf has "maas_url: http://192.168.122.139:5240/MAAS"16:42
julenhow could I debug this problem?16:42
julenalso, why is that maas_url on the port 5240, but I have nothing listening on the 5240? (It's just listening on IPv6)16:44
mwe11@weekend for now! good luck everyone16:46
pmatulisjulen, 5240 is for a python-based web server16:46
julenbye mwell! thanks! :)16:47
julenbut why does the normal web interface listen on 80 then? and how come that the API communicates also with the 80?16:47
pmatulis80 is redirected to 524016:48
pmatulisyou prolly have apache running correct?16:48
julenyes16:48
pmatulisbino. it's sole purpose is to redirect. not great i admit16:48
pmatulis*bingo16:48
julenshould I stop it?16:49
pmatulisnot unless you will use 5240 directly16:49
julenbut how come that I use the address http://$ip/MAAS/ for the CLI?16:50
julenI have tried all the combinations http://$ip + :5240/MAAS   + /MAAS/api/2.0/   + /MAAS/  ... and none works16:52
pmatulisjulen, fwiw, i *always* use http://$HOST:5240/MAAS/api/2.0 for the CLI16:53
pmatulisjulen, some context: https://bugs.launchpad.net/maas/+bug/164390016:53
julenpmatulis, I still don't understand. Then, both juju and maas documentation are kind o wrong...16:57
pmatulisjulen, what you pointed to me before shows 5240. to me, that's correct. i don't understand why it doesn't work for you16:58
julenthe controller is simply not listening on that port...16:59
pmatulisjulen, what maas version and did you install it freshly (not updated)? i would like to reproduce17:00
julen2.2.0~rc117:00
pmatulison Xenial?17:01
julencompletely new17:01
julenzesty17:01
pmatulisok, and that's ppa:maas/stable right?17:01
pmatulisor is it in the archives, i think it is actually17:02
pmatulisfor zesty17:02
pmatulisyes, it is17:02
julenI think I didn't add any ppa17:02
julenapt-cache policy maas says: http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages17:03
pmatuliscreating zesty instance now...17:04
julencool! :D17:05
julenso, I just installed clean, and apt update && apt -y upgrade && apt -y dist-upgrade17:06
julenthen apt -y install maas maas-cli17:07
pmatulismaas package drags in maas-cli17:09
pmatulisi'm installing 'maas' now17:09
pmatulis$ nc -vz localhost 524017:18
pmatulisConnection to localhost 5240 port [tcp/*] succeeded17:18
pmatulisjulen, ^^^17:18
julen:O !17:18
julenwait wait...17:19
julennetstat -tulpen | grep 524017:19
julenthat also works for me! :P you are connecting via IPv6...17:20
julentry to connect from somewhere else17:20
=== frankban is now known as frankban|afk
pmatulisnc -vz 10.55.60.29 524017:22
pmatulisConnection to 10.55.60.29 5240 port [tcp/*] succeeded!Y17:22
julenok...17:22
julenwait.. it also worked for me!17:23
julenso why is nmap not showing the port?17:23
julenand why does netstat also not show that it is listening for IPv4?17:24
pmatulisdunno. it does seem to look ipv6 only. but works. i'm not using ipv617:24
pmatulismaybe there is some switcharoo happening17:24
julenok... final test...17:24
pmatulisi'm going to ask someone17:24
julentry with juju add-cloud, maas and http://192.168.122.139:5240/MAAS17:25
pmatulisjulen, i used localhost17:33
pmatulisyou wanted the juju client to be remote i think17:34
pmatulislemme create a second instance17:35
julenpmatulis: yes17:35
julenI have the controller on a machine and juju on the local one17:35
pmatulisjulen, and why did you use that specific address? i will use my own address17:36
julenthat's the point with juju, right? to use it from anywhere and attach external resources to run the jobs17:36
pmatulissure, the client can be anywhere17:36
julenpmatulis: do you mean, http://192.168.122.139:5240/MAAS ?17:36
pmatulisyes17:37
julenI saw it in the docu17:37
pmatuliswell obviously you need to change that to fit your needs17:37
julenhttps://jujucharms.com/docs/2.1/clouds-maas#registering-a-maas-cloud-with-juju17:37
julenplus, it appears also on the /etc/maas/regiond.conf and rackd.conf17:38
mupBug #1408106 changed: attach_disconnected not sufficient for overlayfs <aa-kernel> <aa-parser> <aa-tools> <AppArmor:Invalid by jjohansen> <MAAS:Invalid> <apparmor (Ubuntu):Invalid by sbeattie> <linux (Ubuntu):Invalid by jjohansen> <https://launchpad.net/bugs/1408106>17:39
pmatulisjulen, so you tried to use 192.168.122.139 over the network right?17:39
julenI am too afraid to dive into the source code of the web API to try to find out the right syntax17:40
julenyes17:40
pmatulisjulen, that looks like an internal libvirt address. why are you using that address? i also don't see it on the doc you posted17:40
julenwell.. before I put the real maas into production I was testing the thing on a VM, but it shouldn't make any difference17:42
pmatulisjulen, it will work on the localhost but not over the network17:42
julenon the code block, it says: Enter the API endpoint url: http://maas.example.org:5240/MAAS17:42
julenhmm...17:43
pmatulisjulen, that subnet is used internally by libvirt17:43
julenso, I cannot communicate with my maas server from outside?17:43
julensure...17:44
pmatulisjulen, you would be better off putting a network bridge on that host and then linking the KVM guests (maas server) to that bridge17:44
julenI have a maas controller running as a VM on my workstation and the nodes are also VMs17:44
pmatulisyep, they are all using the same internal subnet, so that works17:45
pmatulisthe bridge will allow your libvirt guests to be contacted over the network17:45
julenbut, what difference does it make?17:45
pmatulisb/c, if i understand correctly, you have a juju client that is *not* on that subnet17:46
julenyou mean, get the VMs to the physical network...17:46
julenyes it is17:46
pmatulisit is?17:46
julenit is on the 192.168.122.117:47
pmatulisoh17:47
julenthe hypervisor17:47
pmatulisthe juju client is the hypervisor?17:47
julenthis is why i can curl, ping, ... from the same terminal17:47
julenyep17:47
pmatulisok, that's fine17:47
pmatulisso it should work. my 2nd instance should be ready now17:48
julenjust one hint... we have a corporate http-proxy, but I already added no_proxy=http://my-proxy:8080 on that shell17:49
pmatulisjulen, and where does it fail and what is the error17:49
julenCan't validate endpoint: No MAAS server running at 192.168.122.13917:49
pmatulisduring the 'juju add-cloud' command right?17:49
julenyes17:50
julenjuju add-cloud17:50
julen> maas17:50
julen> desktop17:50
julen> http://192.168.122.139/MAAS17:50
julenCan't validate endpoint: No MAAS server running at http://192.168.122.139/MAAS17:50
pmatulisEnter the API endpoint url: http://10.55.60.29:5240/MAAS17:51
pmatulisCloud "maas-cloud" successfully added17:51
pmatulisso it's something on your network17:52
pmatulisfirewall?17:52
julennot between my and the VM...17:52
julenalso, on the same terminal:17:52
julennc -vz 192.168.122.139 524017:52
julenConnection to 192.168.122.139 5240 port [tcp/*] succeeded!17:52
pmatulisso add port 524017:53
julensure.. same result17:53
julenEnter the API endpoint url: http://192.168.122.139:5240/MAAS/17:54
julen... waitwaitwait...17:54
pmatuliswhy? :)17:54
julenwell... I have done it about 10 times today. It returns...17:54
julenCan't validate endpoint: No MAAS server running at http://192.168.122.139:5240/MAAS17:55
julen(I was just waiting for the response... which takes a while)17:55
julenyep. It just returned that17:56
julenis there some hidden stuff with the http_proxy settings?17:56
julenI am passing no_proxy=192.168.122.13917:57
julenshould I pass NO_PROXY as well?17:57
pmatulisi don't believe proxying is involved at this stage17:57
pmatulisbut can you revert to default settings just in case?17:58
julenDammit!17:59
julenI am stupid! :P17:59
pmatulisis that a good damnit or a bad damnit?17:59
julenI passed noproxy :D17:59
julenbad because I am stupid, good because the right no_proxy did the job ;)18:00
pmatulisthere you go :)18:00
julenI wasted so many hours with this stupid thing...18:00
julenthank you very much!!18:00
julenhey... now that we are here...18:00
julena bonus point...18:00
julenhow do you set the timezone for the nodes?18:00
julenmy controller was in UTC and if I change it to CEST the there is a +2 difference with the nodes18:01
pmatulisoof, that sounds like a base ubuntu thing. i guess it would be with a preseed level18:01
julenwell.. I worked around by setting the controller to UTC18:01
julenI can probably use some custom script to reconfigure the tzdata18:01
pmatulisi think it just uses what the image uses18:02
julenI have to look into that. As soon as I get the production one up, I definitely have to find some time to check the source code into more detail18:04
julenbut ... thank you very much :D18:05
gimmicIs there any way to see why explicitly a node failed testing?18:23
gimmicWould be nice if the output had a highlight or other indicator to show where the smart test(s) bombed. nodes with a lot of disks are tedious to dig through18:27
gimmicIs it possible to assign static interface IP addresses via cli19:45
jamesbensonhi, I just installed centos7 with maas, and I noticed that our br0 (which has our public IP), doesn't come up.  brctl isn't installed19:50
jamesbensonhave others ran into this problem?19:50
roaksoaxjamesbenson: custom networking is not supported in centos19:53
roaksoaxjamesbenson: it will be supported in maas 2.3+19:53
jamesbensongah, okay.  I appreciate it :-)19:54
gimmicI found how to add a new IP to an interface, but I can't seem to update one via cli20:12
mupBug #1702751 opened: maas machines create fails when node can't be reached via ipmi <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1702751>20:18
mupBug #1702754 opened: No way to add a node as admin user without starting commissioning <cdo-qa> <MAAS:New> <https://launchpad.net/bugs/1702754>20:18
pmatulisgimmic, you want to change a static IP address on an interface?21:22

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