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

Errors should be soft warnings unless it will really break import of json/yaml #69

Open
whowutwut opened this issue Jul 11, 2018 · 1 comment
Labels

Comments

@whowutwut
Copy link
Member

If this is missing, provide a way to bypass:

[root@c660csm01 xcat_clusters]# xcat-inventory import -f ./osimage/rhels/ist.redhat-alt.perf.custom.install.DF.osimage.yaml
Importing object: ist.redhat-alt.perf.custom.install.DF
Error: no column 'environvar' in table osimage, might caused by mismatch between schema version and xCAT version!
@whowutwut
Copy link
Member Author

whowutwut commented Jul 12, 2018

@immarvin I was able to resolve this by updating xCAT to the latest devel build for 2.14.2... This seems to now indicate that we MUST be in sync between xcat-inventory and xcat-core. I'm not sure I really like this dependency.. If we do things like this, we might as well ship this in xcat-core...

Otherwise it does not mean this xcat-inventory tool is generic enough... Could we simply print a warning message if the level of xCAT is not updated and recommend they update xCAT? But continue with the import of the osimages.

@whowutwut whowutwut added the high label Jul 12, 2018
@whowutwut whowutwut changed the title Errors should be soft warnings unless it will really break Errors should be soft warnings unless it will really break import of json/yaml Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant