/srv/irclogs.ubuntu.com/2015/07/02/#maas.txt

bmorrisoI upgraded 1.7.5 to 1.8.0 and I'm getting a 403 on /MAAS now :(00:43
bmorrisohere are /var/log/maas/maas.log http://paste.ubuntu.com/11807587/00:44
bmorrisoapache2/error.log http://paste.ubuntu.com/11807588/00:45
bmorrisoapache2/access.log http://paste.ubuntu.com/11807589/00:46
bmorrisotraceback in /var/log/maas/regiond.log http://paste.ubuntu.com/11807608/00:48
bmorrisoI reinstalled MAAS, I'm able to access the web UI, but I'm getting this message "One cluster is not yet connected to the region. Visit the clusters page for more information."01:02
bmorrisoI can't seem to get it connected...01:02
bmorrisoDoing what I've done, all my nodes are associated with an old cluster -- how can I change that association?01:08
bmorrisoI edited /etc/maas/maas_cluster.conf with the old UUID -- I'm back in business I think!01:12
bmorrisoIn 1.8.0 how do I define what OS gets installed? Before I could acquire, then edit the node, and choose the OS. Here, the OS is not a choice when I edit the node...02:01
bmorrisoAh..there it is, when I choose deploy, I can choose the OS!02:04
bmorrisoIs there a way to get a kernel newer than hwe-t on MAAS? I'm looking for 3.19 kernel...02:15
bmorrisoFigured that one out as well. Guess I need the whole image via the 'images' tab -- now I have hwe-u/v :D02:23
voidspacervba: by the way, I'm adding devices support to gomaasapi09:34
voidspacervba: WIP mp here if you wanted to take a look09:34
voidspacehttps://code.launchpad.net/~mfoord/gomaasapi/devices/+merge/26337009:34
voidspacervba: I expect it to be finished today09:34
rvbavoidspace: cool… not sure I'll be able to have a look today but I'll try… I'm adding it to my list for tomorrow morning :)09:34
voidspacervba: we're only implementing the subset (large) of devices API that we use, with TODOs marking the bits that haven't been done if people want to add them09:34
voidspacervba: cool, thanks09:35
=== frankban_ is now known as frankban
=== jfarschman is now known as MilesDenver
=== liam_ is now known as Guest41856
voidspacervba: ping16:12
voidspaceas far as I can tell, using the devices api claim-sticky-ip-address does nothing (or at least doesn't do what I would expect)16:13
voidspaceif I call it on a node, I get success result but there's nothing in ip_addreses for the device16:14
voidspaceand it's resolutely empty after reading too16:14
voidspaceit's not actually a problem for us, we're specifying IP address16:16
voidspaceit's just surprising16:16
voidspaceI'll file an issue16:17
bmorrisoMorning folks -- I've asked before, but I hope for a clearer answer. Is there a way to have local password for console access? In the event that I can't SSH into a newly deployed server.16:17
voidspacebug 147093016:21
bmorrisoIf I want to create a custom curtin installer for an hwe-t kernel (rather than generic), would I do custom_ubuntu_amd64_hwe-t or hwet or ?16:31
bmorrisoWhat's the equivalent of this in curtin?  d-i passwd/root-password-crypted password $HASH17:50
kikobmorriso, I would guess it would require being added as curtin userdata17:53
kikobmorriso, you want that run at the end of the installation?17:53
bmorrisoI'm not sure where it needs to be ran/added. I guess I could just do it in a late command setting the password for the root user (which should enable the root user)17:55
bmorrisoI worked around the lack of a local ubuntu access by just creating a user account in a late command.17:55
hezhiqiangsomebody kowns how to set the power type in maas, my node is running on vmware fustion 7.1.1, and the node was added to mass "Nodes" list.18:38
=== CyberJacob is now known as zz_CyberJacob
hezhiqiangmy maas version is 1.818:40
kikohezhiqiang, edit the node, basically?18:40
hezhiqiangYes, i entered the edit page18:40
hezhiqiangBut i down konw how to fill in those fileds18:41
hezhiqiangThese fileds are: Power type, VM Name (if UUID unknown), VM UUID (if known), VMware hostname, VMware username, VMware password, VMware API port (optional), VMware API protocol (optional)18:42
hezhiqiangIn Power type droplist, I selected the "Vmware" item18:43
kikompontillo, ^^^18:46
mpontillohezhiqiang: unfortunately, VMware Fusion does not support the same remote-access API as Workstation, ESXi, and vSphere, so is not currently supported18:47
* kiko . o O ( what is vmware fusion )?18:47
hezhiqiang-_-!18:47
mpontillohezhiqiang: however, I have successfully tested ESXi running as a guest under VMware Fusion ;-)18:48
kikoah, it's a vmware for macos thing18:48
kikompontillo, is fusion basically the brand for vmware on macos? or is it a mac-specific product?18:49
mpontillokiko: it's basically VMware Workstation, but optimized for the Mac, and doesn't support some of the advanced features of VMware Fusion18:49
mpontillokiko: rather, the advanced features of VMware Workstation18:49
mpontillokiko: it's Mac-specific (and the only product they support on the Mac)18:50
kikoincluding the API18:50
mpontillothat is correct kiko18:50
kikompontillo, some background on vmware -- workstation and esxi are single-node right?18:50
kikowhereas vsphere lets you manage VMs on multiple nodes?18:50
hezhiqiangThis is the error message: Failed to power on node - Node could not be powered on: vmware failed with return code 1: [Errno 2] No such file or directory: '://few-use://sdk/vimServiceVersions.xml'18:51
hezhiqiangIt's supported on Vmware workstation on Linux ?18:53
mpontillokiko: not sure what you mean by "single-node"; if you mean a single hypervisor, yes. vSphere allows you to do things like clustering, failover, vMotion, etc18:53
mpontillohezhiqiang: yes, I test MAAS with VMware Workstation frequently, so I know that works.18:53
kikompontillo, well, meaning they are supposed to run on one physical machine.18:53
mpontillokiko: right, as opposed to multiple (vSphere)18:54
kikoso I think yes, a single hypervisor18:54
hezhiqiangmpontillo: thanks, i will try it on my linux box18:54
kikompontillo, what does vsphere call what runs on each of the nodes it controls?18:54
mpontillohezhiqiang: no problem; please let me know how it works18:54
mpontillokiko: I'm not sure what terminology they use, but it's basically multiple instances of the ESXi hypervisor which are managed by vSphere18:55
mpontilloyou can download ESXi for free and run it on physical hardware (or a supported hypervisor, like vmware fusion or workstation), and MAAS can manage the nodes on a bare metal ESXi box as well18:55
mpontillohezhiqiang: one thing to note about VMware Workstation, is that you need to put the VMs you want MAAS to manage under the "Shared VMs" section.18:58
mpontilloafter you do that, the API can see them18:58
mpontillohezhiqiang: also, I recommend you use the "Add Chassis" button to discover the VMs. that way you won't need to worry about setting the power parameters, BIOS boot order, etc19:00
mpontillojust note that when you do this, it will change the boot order to (pxe, hard disk) for each VM that matches the prefix filter19:01
=== zz_CyberJacob is now known as CyberJacob
hezhiqiangmpontillo: I kown, i was readed about MAAS 1.8 changelog, It requires the python-pyvmomi package to be installed19:02
mpontilloright.19:02
hezhiqiangI'll go to bed, there is +8:00 timezone, have a nice day, guys.19:03
mpontillogood night hezhiqiang19:03
bmorrisoI'm curious, can I target tags in curtin?19:23
kikobmorriso, hmm, what do you mean?19:31
bmorrisoif I tag a host "dev" or "staging" or "prod" could I have late_commands that run conditionally based on matching tag?19:31
bmorrisoIf dev == run this command elif staging == run this command, else == run this command19:31
bmorrisoI don't want to have a curtin installer per host, so I'm hoping I can do it at a more generic level with some logic in the template19:33
bmorrisoLike I see this example http://astokes.org/customizing-fastpath-curtin-installations/ and I don't know if "http_proxy" is a tag or where it is coming from19:34
kikoah19:54
kikosmoser, are node tags visible from curtin userdata?19:54
kikobmorriso, node.tags perhaps?19:54
kikoah19:55
kikobmorriso, http://askubuntu.com/questions/466469/maas-use-different-preseeds-scripts-based-on-zone-or-tag19:55
wolverineavi was using a config file stored in the static folder of MAAS webserver. however 'tags' is a much cleaner and generic approach. thanks bmorriso, kiko :)20:06
kikoyw!20:20
bmorrisoI'll give it a shot! Thanks!!21:21
=== CyberJacob is now known as zz_CyberJacob
=== zz_CyberJacob is now known as CyberJacob
bmorrisoAny idea why IPMI would sort of just stop working? "Jul  2 15:19:18 maaspoc maas.websockets.node: [ERROR] maas-test-box: Timed out waiting for power response in Node.power_state"22:20
bmorrisoThis host was working just fine earlier, now it is getting into weird states with IPMI/Power22:20
dannfmy maas server's ip address changed - i dpkg-reconfigured everything to use the new ip and it works until curtin, but curtin tries to download the tarball from the old ip22:24
dannfhow do i fix that up?22:24
bmorrisowhat does /etc/maas/maas_cluster.conf look like?22:27
bmorrisoor /etc/maas/maas_local_settings.py?22:28
bmorrisoAnyone ever seen this before? http://i.imgur.com/4t6HskW.png kiko?22:28
dannfbmorriso: both have the new ip22:28
bmorrisoDo you have the correct settings under the network tab?22:32
=== CyberJacob is now known as zz_CyberJacob
dannfbmorriso: yeah22:42
dannfbmorriso: only thing that changed was my ip - subnet is the same, etc. only place that ip appears to be is in the postgres db22:42
dannfs/that ip/the old ip/22:42
=== zz_CyberJacob is now known as CyberJacob
bmorrisorestarted apache and maas-clusterd?22:44
dannfbmorriso: even rebooted :)22:49
bmorrisowow22:49
bmorrisoI've changed my IP before, but I don't remember it being that difficult. What version?22:50
dannfbmorriso: 1.822:50
bmorrisoWhen I changed my IP, it was 1.6. 1.8 is definitely a bit different :-/22:51
=== CyberJacob is now known as zz_CyberJacob

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