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

[Customer]xcat2.12 can not get the right disk name for RHEL on PowerKVM #1103

Closed
fenggaobj opened this issue May 13, 2016 · 8 comments
Closed

Comments

@fenggaobj
Copy link
Contributor

When deploying compute node by diskfull method, it will be failed because it can not find the disk to install OS.
The default disk of PowerKVM is "vda", but the disk name gave by xcat is "sda".

@xuweibj
Copy link

xuweibj commented May 13, 2016

hi @fenggaobj
Now in our code, we just choose sd* or hd* as install disk.
Could you tell me why you named disk as "vd_"? And do you have any other names except [s/h/v]d_?

@fenggaobj
Copy link
Contributor Author

The disk name is provided by PowerKVM OS default. we can not configure them.
Or you can refer to the ticket:
https://sourceforge.net/p/xcat/bugs/4665/
https://sourceforge.net/p/xcat/bugs/4535/

@daniceexi
Copy link
Contributor

@fenggaobj If this is a must have fix, we will try it make it gets into 2.12 release.

@whowutwut
Copy link
Member

@daniceexi @xuweibj if I can make a guess here. I think we are not cleaning up the drives correctly when we are doing installs ... maybe we are now with the fix in 2.12 code... @fenggaobj can you provide the version of xCAT you are using?

@daniceexi
Copy link
Contributor

@whowutwut
@xuweibj has found the root cause, we missed the support when the install disk is named as vd[a,b..]. We cannot recreate the issue locally, maybe the problem encountered by PCM was because the vm was created by Kimchi. This is a bug, @xuweibj has given PCM a workaround. But we need to test the change on more platforms.

@tingtli
Copy link
Contributor

tingtli commented May 13, 2016

@daniceexi What do you mean by saying test the change on more platforms?
Do you mean run regression on all the supported platform and run test on the vm which was created by Kimchi?

@daniceexi
Copy link
Contributor

@tingtli Run the fix on kimchi created vm will be covered PCM. xCAT team needs to verify that the change won't impact the basic functions of get-install-disk. Besides the automation, @caomengmeng needs to verify the coverage which cannot be covered in he automation.

@daniceexi
Copy link
Contributor

The code has been merged. And the change has been verified by @fenggaobj , so close this issue.

@tingtli tingtli changed the title xcat2.12 can not get the right disk name for RHEL on PowerKVM [Customer]xcat2.12 can not get the right disk name for RHEL on PowerKVM Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants