Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mknb is not run in xcat docker container. #12

Open
tingtli opened this issue Apr 9, 2019 · 5 comments
Open

mknb is not run in xcat docker container. #12

tingtli opened this issue Apr 9, 2019 · 5 comments
Labels
bug Something isn't working known_issue

Comments

@tingtli
Copy link

tingtli commented Apr 9, 2019

Install and start the xcat docker container robin2008/xcat2:2.14.6, there is no /tftpboot/pxelinux.cfg in it. run mknb manually could create the directory

[root@briggs01 /]# mknb ppc64
Creating genesis.fs.ppc64.gz in /tftpboot/xcat
[root@briggs01 /]# ls /tftpboot/pxelinux.cfg/p
10.0.0.0_8  127.0.0.0_8  172.10.0.0_16  172.11.0.0_16  172.12.0.0_16  172.17.0.0_16
@tingtli tingtli added the bug Something isn't working label Apr 9, 2019
@hu-weihua
Copy link

It will add a limitation in xCAT Docker Image document.

@robin2008
Copy link
Member

mknb takes time to create the genesis rootfs, ask user to do it manually especially when he need a special genesis for Power9

@robin2008
Copy link
Member

robin2008 commented Apr 19, 2019

Known issue:

  • Workaroud steps
    For users who want to use genesis do some actions like discovery, he need to run mknb <arch> again after the container is up.

The shipped xCAT Genesis Base package should work for x86_64 and P8 server. But if you want to it work on P9 server, the xCAT Genesis Base package should be rebuilt. You can do it with steps on a P9 server.

@jjohnson42
Copy link
Member

For reference, I was planning to ultimately modify the layout such that the 'mknb' would be mostly unneeded unless customizing. The base and scripts would be separately compressed out of their respective rpms and the custom overlay (e.g. ssh key injection) would be a distinct archive that would be very fast to build).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working known_issue
Projects
None yet
Development

No branches or pull requests

4 participants