/srv/irclogs.ubuntu.com/2015/09/23/#maas.txt

somedudeecho02:18
=== Guest44232 is now known as zz_Guest44232
mupBug #1498851 opened: [1.9.0 - alpha 1] Can't save power config <MAAS:Triaged> <https://launchpad.net/bugs/1498851>11:01
mupBug #1498854 opened: [1.9.0 - alpha 1] cannot select power details on node details <MAAS:Triaged> <https://launchpad.net/bugs/1498854>11:01
mupBug #1498899 opened: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>12:40
mupBug #1498899 changed: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:16
mupBug #1498899 opened: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:22
mupBug #1498899 changed: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:28
mupBug #1498899 opened: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:31
mupBug #1498899 changed: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:34
mupBug #1498899 opened: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:37
mupBug #1498899 changed: [1.9.0 - alpha1] Can't delete node <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1498899>13:40
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== Sagar is now known as Guest45894
Guest45894hi ... I have a MAAS cluster running 1.8.0 version, want to install OS on a physical server having a bunch of hard drives. I want control to install OS on a specific HDD14:24
Guest45894currently, MAAS installs OS randomly14:24
Guest45894any suggestions?14:25
Guest45894#join14:26
Guest45894I don't see anyone active on the list14:41
bdxhows it going everyone?17:56
bdxI have a concern about our production storage infrastructure that is deployed via maas/juju ....17:57
bdxI cannot seem to wrap my head around the process for replacing failed disks in a storage node deployed via MAAS...... is there anyone here who might have an idea on a best practice for disk failure/recovery without having to re-commission a node?17:59
roaksoaxbdx: at the moment we don't support that without re-commissioning, but we are discussing such feature18:02
roaksoaxbdx: although, you could always update the serial and such directly through the api18:10
bdxroaksoax: Is that what you do on large scale production deployments when a disk fails?18:28
bdxupdating the serial directly only fixes 1/3 of the issue18:29
bdxgood call on that....but it is no solution...just a heads up18:30
roaksoaxbdx: as I said, It is just a work around not a solution18:31
roaksoaxbdx: as we don't support that without re-commissioning18:31
bdxroaksoax: gotcha, thanks18:34
mupBug #1499044 opened: [1.9.0 alpha2] Ready node has OS <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499044>18:56
mupBug #1499047 opened: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:11
mupBug #1499047 changed: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:14
JZTech101Hi, so I have a MaaS controller in a VM. I am trying to get it to work with the other 2 VMs I have setup and prepared for Nodes. But PXE boot shows "No boot filename recieved". It should be noted. I have a host-only network specifically for the 2 nodes and the controller. There is a secondary host-only network for internet though that is also connected to all three VMs.19:19
JZTech101Help?19:19
JZTech101(the hypervisor is vmware fyi)19:22
mupBug #1499047 opened: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:23
mupBug #1499047 changed: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:29
mupBug #1499050 opened: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499050>19:29
mupBug #1499050 changed: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499050>19:32
mupBug #1499047 opened: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:32
mupBug #1499047 changed: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:35
mupBug #1499050 opened: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499050>19:35
mupBug #1499050 changed: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499050>19:38
mupBug #1499047 opened: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:38
mupBug #1499047 changed: [1.9.0 alpha2] Node stuck in deployment <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499047>19:41
mupBug #1499050 opened: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:New> <https://launchpad.net/bugs/1499050>19:41
mwenningJZTech101, did you run thru https://maas.ubuntu.com/docs/install.html19:57
JZTech101yes19:59
JZTech101I did19:59
JZTech101I installed it using the Multi-Server Option on the CD19:59
JZTech101The eth1 (Main host-only network is setup http://vgy.me/iHK8gK). I removed eth0 (the host-only internet network) from the cluster controller, but that has made no difference.20:00
JZTech101pserv.log shows :20:00
JZTech1012015-09-23 15:31:03-0400 [Uninitialized] Event-loop ondria:pid=2000 (127.0.0.1:48076): Connection was refused by other side: 111: Connection refused.20:00
JZTech1012015-09-23 15:31:03-0400 [Uninitialized] Event-loop ondria:pid=2000 (1.1.1.39:48076): Connection was refused by other side: 111: Connection refused.20:00
JZTech101 and MaaS.log shows :20:00
JZTech101Sep 23 15:28:08 ondria maas.lease_upload_service: [INFO] Uploading 0 DHCP leases to region controller.20:00
JZTech101Sep 23 15:28:08 ondria maas.bootsources: [INFO] Updated boot sources cache.20:00
JZTech101Sep 23 15:28:08 ondria maas.import-images: [INFO] Started importing boot images.20:00
JZTech101Sep 23 15:28:08 ondria maas.bootresources: [INFO] Importing images from source: http://maas.ubuntu.com/images/ephemeral-v2/releases/20:00
JZTech101Sep 23 15:28:08 ondria maas.boot_image_download_service: [ERROR] Failed to download images: Unable to open http://1.1.1.39/images-stream/streams/v1/index.json. mirrors=[]20:01
JZTech101Sep 23 15:28:09 ondria maas.bootresources: [INFO] Finished importing of boot images from 1 source(s).20:01
JZTech101Sep 23 15:28:09 ondria maas.import-images: [INFO] Started importing boot images.20:01
JZTech101Sep 23 15:28:09 ondria maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.20:01
JZTech101Sep 23 15:30:47 ondria maas.calls: [INFO] Starting task 'write_full_dns_config' with args: () {'zones': [<provisioningserver.dns.zoneconfig.DNSForwardZoneConfig object at 0x7fc2bbc0b7d0>, <provisioningserver.dns.zoneconfig.DNSReverseZoneConfig object at 0x7fc2bbc0b910>], 'callback': provisioningserver.tasks.rndc_command([u'reload'], False), 'upstream_dns': [u'1.1.1.1'], 'trusted_networks': u'1.1.1.0/24; 1.1.2.0/24;'}20:01
JZTech101Sep 23 15:30:47 ondria maas.calls: [INFO] Starting task 'rndc_command' with args: ([u'reload'], False) {}20:01
JZTech101Sep 23 15:30:47 ondria maas.calls: [INFO] Finished task 'rndc_command' with args: ([u'reload'], False) {}20:01
JZTech101Sep 23 15:30:47 ondria maas.calls: [INFO] Finished task 'write_full_dns_config' with args: () {'zones': [<provisioningserver.dns.zoneconfig.DNSForwardZoneConfig object at 0x7fc2bbc0b7d0>, <provisioningserver.dns.zoneconfig.DNSReverseZoneConfig object at 0x7fc2bbc0b910>], 'callback': provisioningserver.tasks.rndc_command([u'reload'], False), 'upstream_dns': [u'1.1.1.1'], 'trusted_networks': u'1.1.1.0/24; 1.1.2.0/24;'}20:01
JZTech101Sep 23 15:30:48 ondria maas: [WARNING] Failed to create Network when adding/editing cluster interface maas-eth1 with error [{'ip': [u'Network with this Ip already exists.'], 'name': [u'Network with this Name already exists.']}]. This is OK if it already exists.20:01
mupBug #1499062 opened: Internal Server Error if 'Sync URL' Setting has a preseeding whitespace <MAAS:Confirmed> <MAAS 1.8:New> <https://launchpad.net/bugs/1499062>20:14
mwenningJZTech101, click on clusters tab in maas gui, mine is called cluster master20:24
JZTech101mwenning, yes. Mine is called cluster master as well20:25
mwenningI've got 2 interfaces, under the manage column, one says dhcp and dns20:25
mwenningthe other one is unmanaged20:25
JZTech101I only have one managed dhcp and dns. The other one that is managed by my router, I removed20:26
JZTech101Should I uh add it back?20:26
JZTech101removing it nor adding it has made a difference20:26
mwenningnot yet ;-)20:26
JZTech101ok20:27
mwenninginterface is eth0?20:27
JZTech101no eth120:27
JZTech101eth0 is the one managed by router20:27
mwenningok.  what is eth1 set up as in virt-manager20:27
JZTech101uh20:28
JZTech101what20:28
mwenningNot using virt-manager?20:28
JZTech101oh. I use vmware. Its a host-only network with no DHCP20:28
mwenningoh ok.20:29
JZTech101oh and I should mention, the controller is a VM on its own as well its Nodes. But that shouldn't make a difference afaik20:29
JZTech101(Controller + Nodes are side-by-side VMs)20:30
mwenningJZTech101, that's what I've got here using kvm/virt-manager20:30
JZTech101ok20:30
mwenningMaas-server is set up as a static address, 172.16.0.1/2220:32
mwenningNodes should be set up to pxe boot from the same network of course20:32
mwenningmaas-server should access the outside world on the other network20:33
JZTech101uh. Static IP Address? I just uh thought that MaaS controller would handle configuring this new network adapter20:33
JZTech101:|20:33
mwenningwhat's the network addr for eth1 on Interfaces20:34
mwenningInterfaces section of Cluster Controller20:35
JZTech1011.1.2.0/2420:35
JZTech101http://vgy.me/iHK8gK That's a screenshot of the interface config20:35
mwenningAnd you are accessing the maas server gui from 1.1.2.0 ?20:39
JZTech101uh20:40
JZTech101no actually20:40
JZTech101I'm accessing it through eth020:40
JZTech101mwenning, I have not gotten an IP from MaaS so I can't access that particular subnet. Actually the VM itself has no IP for that subnet20:42
JZTech101o.O20:42
JZTech101how to make MaaS properly assign IPs?20:42
mwenningok, what I did was edit /etc/network/interfaces and add a static address for the internal maas network20:43
mwenningin youre case eth020:43
mwenningoops eth120:43
JZTech101mwenning, can you give me an example config so I don't mess it up?20:44
mwenningsure stby20:44
mupBug #1499050 changed: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:Won't Fix> <https://launchpad.net/bugs/1499050>20:45
JZTech101Also, I changed the static IP field to 1.1.2.120:45
JZTech101And left the router field the same (1.1.2.1)20:45
mwenningauto eth020:47
mwenningiface eth0 inet static20:47
mwenning    address 172.16.0.120:47
mwenning    broadcast 172.16.3.25520:47
mwenning    netmask 255.255.252.020:47
mwenningJZTech101, yeah that's the way mine's set up20:47
JZTech101ok20:47
mwenningTry that.  did you find the maas doc on setting the nodes to poweronoff using virsh?20:49
JZTech101o.o20:49
JZTech101why is the netmask 252.0?20:49
JZTech101I always set it 255.020:49
mwenningmaas 1.8 uses 2 sets of dhcp ranges, one for dynamic and another for static20:51
mwenningmine setup assigns 255 to each range20:51
JZTech101uh20:52
JZTech101wat? o.O20:52
* JZTech101 is confused20:52
* mwenning tries to take a screenshot of his maas server20:55
JZTech101mwenning, ok. So eth1 now has an IP on the VM. But the DHCP Server is still not functioning as my host has yet to have an IP from MaaS20:55
mupBug #1499050 opened: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:Won't Fix> <https://launchpad.net/bugs/1499050>20:57
mwenningJZTech101, try that http://vgy.me/DrEMup20:57
mupBug #1499050 changed: [1.9.0 alpha2] can't access networks tab <ui> <ux> <MAAS:Won't Fix> <https://launchpad.net/bugs/1499050>21:00
JZTech101uh mwenning I see your main IP is 0.1. Well.. the thing is, the router hands out IPs in the 1.1.1.x range. So would using 252.0 conflict?21:01
mwenningJZTech101, in your case probably.  It's not important, this setup is for controlling big mass clusters, where we have 100's of nodes21:04
mwenningIf you bring up another node on the internal maas network, can you ping the maas server?21:04
=== zz_Guest44232 is now known as CyberJacob
JZTech101mwenning, well its not a node. Its just another device. And no. it is not getting an IP from the MaaS server :(21:07
JZTech101so it cannot ping the MaaS server21:07
JZTech101Imma brb for dinner21:08
mwenningJZTech101, ok21:08
mwenningJZTech101, I'm gonna have to bail soon too.  Try this doc:  http://certification-static.canonical.com/docs/MAAS_Advanced_NUC_Installation_And_Configuration.pdf21:12
mwenningThat's the way I set up mine.  It assumes real hw but it worked fine from the MAAS_server VM21:13
mwenningWhen you get that working you will have to set the nodes up to boot from virsh, see https://maas.ubuntu.com/docs/nodes.html21:16
JZTech101mwenning, still around?21:54
mwenningJZTech101, yup, can you reach that document?21:55
JZTech101mwenning, I can indeed. And the setup script, I'm not entirely sure how to get it seeing as I did a MAAS install direct from the Server CD21:56
JZTech101rather than on an existing install21:56
JZTech101but that might be what is lacking with the DHCP Server not working?21:57
JZTech101:O21:58
JZTech101mwenning, hmm. Ok, so its just the host being stupid. I can't blame it. But Netboot seems to be working now21:58
JZTech101:D21:58
JZTech101hm21:58
JZTech101mass-enlisting node eh?21:58
JZTech101:o21:58
mwenningit's working now?21:59
mwenningrephrasing, it's pxebooting now?21:59
JZTech101it is pxebooting now :D22:00
mwenning|\o/22:00
mwenningNodes go thru 3 phases, enlisting, commissioning, and deploying22:01
mwenningenlist they pxeboot and make themselves known to MAAS22:01
mwenningcommission they will pxe boot again and collect system info22:01
mwenningdeploy they will pxeboot, load an image on the disk, and reboot to the disk.22:02
JZTech101hm22:03
JZTech101how do I tell it to deploy the image?22:03
mwenningafter enlist you will have to set up the virsh thing above, since maas assumes that it can control power to the node for commission and deploy22:03
JZTech101I only have one Ubuntu LTS22:03
JZTech101lol22:03
mwenningon the node page on the maas gui, the enlisting node should show up as "New"22:04
JZTech101uh22:04
mwenningthen you click in there and edit the power settings22:04
JZTech101how do I setup virsh if the controller itself is a VM alongside the other VMs?22:04
JZTech101and how do I do that in VMWare22:05
mwenninghmm.  I googled 'maas virsh vmware' and 'maas vmware power type' and got some hits :-O22:10
mwenningAlso you can be the power controller - hit commission and then manually turn on the vm22:11
JZTech101Yeah I know22:11
JZTech101thats actually what I'm doing right now22:11
JZTech101lol22:11
mwenningok well that will work its just a PITA22:11
* JZTech101 shrugs22:12
JZTech101the problem is, afaik vmware workstation does not support Wake-On-Lan22:13
JZTech101and none of the others will work because it is a VM alongside VMs22:13
JZTech101The host is not the controller22:13
JZTech101this is fun22:13
JZTech101it is deploying22:13
JZTech101:D22:13
JZTech101Thanks for your help mwenning :D22:14
mwenningJZTech101, np.  thanks for your patience :-)22:14
JZTech101hm22:26
JZTech101mwenning, is there anything special I need to do to get the ssh-keys working? Basically I added the wrong key After deploying the node. So I have redeploy the node or something?22:27
JZTech101(I've already changed it to the correct SSH Key22:27
mwenningThis is for power control?22:29
JZTech101uh no.22:29
JZTech101I'm just trying ot access this new node22:30
JZTech101lol22:30
* mwenning is still thinking virsh22:30
catbus1you will have to re-deploy so the new key gets set up on the deployed node after the install.22:31
mwenningI would expect so.   I think the key is passed during deployment so you can ssh into the node without a password22:31
mwenningwhat catbus1 said ;-)22:31
JZTech101:(22:31
JZTech101ok22:31
JZTech101was hoping it would automatically update22:31
mwenningthat's the cool thing about vm's it doesn't take 20 minutes like real hw22:32
JZTech101Also22:33
JZTech101Why am I getting 14.04.1?22:33
JZTech10114.04.3 has long been out22:34
JZTech101:<22:34
mwenningenlist or commission?22:34
JZTech101commission?22:34
mwenningthe pxeboot images are still 14.04.1, once you get to the real image on the hd (in deploy), you should see 14.04.322:35
JZTech101ah22:35
JZTech101o.O22:40
JZTech101hey mwenning what am I doing wrong? I put the public SSH Key in there. (the .pub file). And I still can't connect. I'm using owner as the username. Should I use something else?22:41
JZTech101hm. Apparently I should22:42
mwenningssh ubuntu@mynode22:42
JZTech101 the user is ubuntu22:42
JZTech101well its deployed and it says "Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-35-generic x86_64)22:44
JZTech101"22:44
=== CyberJacob is now known as zz_CyberJacob
catbus1I had a fresh maas install and configuration on Monday, and the imported image is 14.04.3 on my maas.22:46
catbus1JZTech101: what your maas version?22:46
catbus1not that I think it's related, but would be good to know.22:46
JZTech101uh22:47
JZTech101where do I get the version?22:47
catbus1apt-cache policy maas22:47
catbus1if you are using maas 1.8, you should see maas version on the bottom left of the maas webpage22:47
JZTech101  Installed: 1.7.6+bzr3376-0ubuntu2~14.04.122:48
JZTech101o.O22:48
JZTech101I installed from a Server CD I downloaded today22:49
JZTech101;_;22:49
catbus11.7.6 is good22:50
catbus1wait, 14.04.1 but with newer kernel 3.13, your node is using 14.04.1 user space and 3.13 kernel, the same kernel version as in 14.04.3.22:51
catbus1JZTech101: I used MAAS to deploy a node and it comes up the same as you are seeing.22:56
catbus1JZTech101: the other node 14.04.3 I have, I used juju to deploy, so I guess after the install, it might do apt-get dist-upgrade.22:56
catbus1sorry, I was wrong about the kernel version in 14.04.3, it is 3.19. It is 3.13 in 14.04.1.23:01
catbus1JZTech101: so I did apt-get dist-upgrade on the MAAS deployed node, and now it comes up 14.04.3 with 3.13.0-35 kernel.23:01
JZTech101ah ok23:17

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