/srv/irclogs.ubuntu.com/2014/08/09/#maas.txt

newellyou hacked something so there is only simple-boot00:00
newelllooks like you changed install.py00:00
newellchange it back to what it originally was00:00
onicromi changed block_meta.py00:00
newellokay change whatever python you changed back to the original00:00
newellnow that you are using the partitioning_command you shouldn't need those hacks00:00
onicromdone00:01
newellit also looks like it is not running what you put in curtin_userdata for some reason00:01
onicromit did because it hit what i told it to run00:01
newellbut go ahead and give it another go00:01
newellokay00:01
onicromdoes it need to be in that weird looking array00:02
onicromor can i just run commands in there?00:02
onicrom10_doshit: ['curtin', 'block-meta', 'simple-boot']00:02
onicromthat thing00:02
newellpaste your file00:02
onicromhttps://paste.tinyw.in/index.php/view/8438812400:03
onicromok this is gonna blow your mind...00:04
onicromhttps://paste.tinyw.in/index.php/view/559315300:05
onicromso the simple-boot bit didnt work... BUT my 50G partition did ger created00:06
onicromim willing to bet though that when i login for the first time, im going to see 1 2.7T root filesystem00:06
onicromyup!00:07
onicromhttps://paste.tinyw.in/index.php/view/6328415100:08
onicromits like whatever was done in that curtin session did not *actually* write the partition table00:08
newellso the simple-boot part...is architecture dependent00:09
newellI forgot that part00:09
onicrom<x86_6400:09
onicromaka amd6400:09
newellyeah it only happens for arm6400:09
newellstupid I know, but that is how it is setup currently00:09
newellso that is why it looks like that wasn't run00:09
onicromwell im using amd6400:09
onicromamd64 == x86_6400:09
newellamd64 != arm6400:09
onicromohhhh arm64!00:10
newell;)00:10
onicromsorry00:10
newellno worries00:10
onicromsee my other pastes?00:10
newellyeah give me a couple minutes...trying to eat dinner with the wife00:10
newellI think you are on the right track00:11
newellbasically what is happening is simple is being run...but why you are not getting the partition you think...I will have to look more at the pastes00:11
newellonicrom, you sure you are booting into the correct node?00:27
newellcause yeah....I am scratching my head00:27
newelllogging in I mean00:28
onicromive been looking at these guys so much00:29
onicromits possible00:29
onicromi will confirm in a oment00:29
onicromi was dinner, i had burgers :)00:30
onicromci-info: |  eth0  |  True | 10.211.25.216 | 255.255.255.0 | 78:45:c4:f4:65:56 |00:32
onicromok its working again but i added some more stuff00:32
newellso what was the issue?00:33
onicrom    sgdisk -Z "$target"00:33
onicrom    sgdisk -og "$target"00:33
onicrom    sgdisk -p "$target"00:33
onicromthen lket the hardcoded sizes go00:33
onicromand run     sgdisk -v "$target"00:33
onicrom-Z blow away, -og recreate00:34
onicrom-v verify00:34
onicromlket=let00:34
onicromi also added:00:35
onicromparitioning_commands: 10_wipeshit: curtin wipe --quick --all-unused-disks00:35
newellI think your wipeshit was what probably helped00:38
onicromno idea what the issue was but i thought id blow it out of the water wiping the partition(s)/table00:38
onicromwhere is defined that only arm64 will work btw?00:39
newellblock_meta.py00:39
newellmachine.platform logic00:39
onicromis that as simple as changing it?00:40
newellyeap :)00:41
onicrom'amd64' instead of aarch6400:41
newellyeah if you do that it will give you a separate boot partition00:41
newellmake sure to check for other instances of aarch64 though00:41
onicromi only found that in all of curtina00:42
onicromand the hooks00:42
onicrom./commands/curthooks.py:    if machine.startswith('armv7') or machine.startswith('aarch64'):00:42
onicromok sir fingers crossed!00:44
onicromdo you know if /boot is meant to be the first parition00:48
onicrombecause it looks like whatever just happened it went to /dev/sda1 for /00:48
onicromand ran out of space :)00:48
onicromdont think the simple-boot is being done00:50
onicromnope00:55
onicromecho "i am running $0 with $@"00:55
onicromi am running /curtin/helpers/partition with /dev/sda00:55
onicromi am running /curtin/helpers/install-grub with /tmp/tmpYXa48u/target /dev/sda00:56
onicromok that is interesting00:57
onicromthe only thing i just changed was boot=true to boot=false inside common00:58
onicromand now my / is one giant 2.7T filesystem again00:58
newellonicrom, you are doing something! lol01:02
newellI know simple boot works as is for arm6401:02
newellyou need to open a python terminal on the node architecture if possible01:03
onicromsorry whats that mean?01:04
newellI suspect that your architecture, at least from python is not what you expect01:04
newellso do this01:04
newelllogin into one of your nodes01:04
newell$ python01:04
newell>>> import platform01:04
newell>>> print platform.machine()01:04
newelland see what it tells you01:04
onicromx86_6401:05
onicromlet me execute on the server itself01:05
onicromsame thing01:06
onicromoh01:06
onicromim an idiot me thinks01:06
onicrom*facepalm*01:07
onicromi put amd6401:07
onicromhaha01:07
newell;)01:07
onicromive been screwing with this since yeterday01:07
onicromforgive my bug eyes01:08
newellno worries, I understand01:08
newellI have to run01:08
newellemail me when you get it working...cause you are super close01:08
onicromyou have been a very big help01:08
onicromthank you so much01:08
newellno problem01:09
jason___anybody have any luck with maas on an HP c7000?04:01
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jason___is there a channel for setup help?22:32

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