/srv/irclogs.ubuntu.com/2017/11/12/#maas.txt

jac_cplanecustom image no longer boots in 2.2.2 - works in 2.2.000:47
jac_cplanei have two maas servers side by side.  one is 2.2.2 and one is 2.2.0.     I load the same custom image into both.   I can boot fine with 2.2.0 but get a image-not-found in 2.2.200:48
jac_cplaneany help?00:48
roaksoaxjac_cplane: boot-resources instead of boot-resource01:18
roaksoaxjac_cplane: and check that your machine doesn't have a minimum kernel set that's no longer available01:18
jac_cplaneyes I figured out the typo01:32
jac_cplanewhere can I check min kernel01:32
jac_cplaneno minimum kernel is selected01:34
jac_cplanei'm filling out a bug-report now01:34
roaksoaxjac_cplane: two places, 1, the machine itsself, 2 the settings page01:36
jac_cplaneplease see Bug #1731709 r01:36
jac_cplanesetting page is set to no min kernel01:36
jac_cplanenothing on the machine01:36
jac_cplanecustom image works on 2.2.0  but not on 2.2.201:37
roaksoaxjac_cplane: i dont think this is an issue with the custom iamge. MAAS doens't pxe boot cusotm images. MAAS boots into ubuntu to deploy custom images01:37
roaksoaxjac_cplane: i've seen that issue before i can't remember when01:38
roaksoaxjac_cplane: are there no logs in maas.log or rackd.log that show why it failed to boot01:39
roaksoax?01:39
roaksoaxi think that what it shows is just a side effect01:39
jac_cplanei cannot see anhything in the logs01:39
jac_cplaneI do this this error in maas.log01:42
jac_cplaneNov 11 16:44:10 MAAS maas.preseed: [info] MACH2: custom network and storage options are only supported on Ubuntu. Using flat storage layout.01:43
roaksoaxthat's not related though01:43
jac_cplaneyes - i agree01:44
jac_cplaneI have a 2.2.0 side by side with 2.2.2 - works fine with 2.2.001:44
jac_cplanecannot find any other error in the logs.  but the boot console does show the error.  in the but report01:45
jac_cplanethis appears after the error in maas.log01:45
jac_cplaneNov 11 13:46:56 MAAS maas.node: [error] MACH2: Marking node failed: Installation failed (refer to the installation log for more information).01:45
jac_cplanenot sure where installation log is01:46
jac_cplanefound it.01:47
jac_cplaneTraceback (most recent call last):01:47
jac_cplane  File "/tmp/tmpa_i9n7t_/target/curtin/curtin-hooks.py", line 595, in <module>01:47
jac_cplane    main()01:47
jac_cplane  File "/tmp/tmpa_i9n7t_/target/curtin/curtin-hooks.py", line 537, in main01:47
jac_cplane    curthooks.write_files(cfg, target)01:47
jac_cplaneAttributeError: module 'curtin.commands.curthooks' has no attribute 'write_files'01:50
jac_cplaneUnexpected error while running command.01:50
jac_cplanethis is the error01:50
jac_cplane  File "/tmp/tmpa_i9n7t_/target/curtin/curtin-hooks.py", line 595, in <module>01:50
mupBug #1731709 opened: centos custom images won't boot MAAS 2.2.2 <MAAS:Incomplete> <https://launchpad.net/bugs/1731709>01:52
roaksoaxjac_cplane: i've asked more questions on the bug01:54
roaksoaxjac_cplane: when you provide all the info please mark it as 'new' again01:54
roaksoaxjac_cplane: also, I think this is an issue with curtin, maybe they regressed somethign01:54
roaksoaxjac_cplane: it seems it has, how did you create that custom image ?01:56
jac_cplanethanks  i will provide more details04:42
jac_cplanedont remember how we created the image.  it was created when we had maas 2.004:42
=== jac_ is now known as jac_cplane
jac_cplanecan anyone help with Bug #173170920:26
jac_cplane  AttributeError: module 'curtin.commands.curthooks' has no attribute 'write_files'20:28
jac_cplaneFile "/tmp/tmpngh0fprp/target/curtin/curtin-hooks.py", line 537, in main20:28
jac_cplaneplease see https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/173180521:26
jac_cplaneand  https://bugs.launchpad.net/maas/+bug/173170921:26
jac_cplanewho can help?21:26
roaksoaxjac_cplane: where did you get that custom image?21:48
jac_cplaneit was made from instructions from canonical21:49
jac_cplanethe image is not the problem21:49
jac_cplanethe image works with curtin 505 but not on curtin 53221:50
roaksoaxjac_cplane: i see that now, but i need to understand where that image came from21:50
roaksoaxjac_cplane: what version of the inage generator is the one you used to create the new image21:50
jac_cplanefrom our own repo.  I can put the instructions we used in the maas bug21:50
roaksoax?21:50
jac_cplanemaas 2.121:50
jac_cplaneit was created using maas 2.121:51
roaksoaxjac_cplane: right but did you use maas inage builder with instructions provided by a support engineer or did you manaully build that image yourself?21:51
jac_cplanethe image was done based on this bug https://bugs.launchpad.net/juju/+bug/164684721:51
jac_cplane    wget https://people.canonical.com/~iatrou/curtin-hooks-20170110.py.gz -O - | gunzip > curtin-hooks.py21:52
jac_cplane    wget http://images.maas.io/ephemeral-v2/daily/centos70/amd64/20160801_01/root-tgz -O centos7-root.tgz21:52
jac_cplane    mkdir centos7-root && cd centos7-root21:52
jac_cplane    sudo tar -zxvf ../centos7-root.tgz21:52
jac_cplane    sudo cp ../curtin-hooks.py curtin/21:52
jac_cplane    sudo chown root: curtin/curtin-hooks.py21:52
jac_cplane    sudo chmod 755 curtin/curtin-hooks.py21:52
jac_cplane    sudo tar -zcvf ../centos7-root-netfix.tgz .21:52
jac_cplanewe created the image on the instruction from a canonical support engineer.  dont rmembe who.21:53
roaksoaxjac_cplane: right so it seems you created an image from an unsupported path, which is a problem, that said curtin seem to have changed which is whats brraking you21:54
roaksoaxjac_cplane: the wuickest fix is to change your image to ise futil from where it has been moved rather than where it is being imported21:55
jac_cplanethose instructions were given to us by Michael Iatrou21:55
jac_cplanecan you repeat your last comment. I don't understand21:57
roaksoaxjac_cplane: please paste those instructions in yhe bug and ill deal with it tomorrow21:57
jac_cplaneok21:57
jac_cplanethanks21:58
jac_cplanedone22:03

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