-
Notifications
You must be signed in to change notification settings - Fork 173
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
changing xcat from to postgres threw away node switch information. #2037
Comments
NOTE: And it failed to update the switch ports... We extracted the data by hand from the lsdef file and then constructed a script as follows:
And then the data stuck... |
reopening... |
To add to this, if we create a group with switch/switchport defined in the group, it's not able to be stored into the postgres DB. The chdef command does not report and error.
@tingtli Can you review the FVT scenarios for PostGresDB and the test for attributes against the DB? |
This one must be resolved in 2.12.4, adding high priority. Looks like duplicate with #2007 |
hi @chenglch , would you please take a look at this? |
Look at table structure at first, the column switch => { Maybe we will encounter more problems not only the |
As history reasons, null value is always set within the composite primary keys, this patch is just a work aroud for the issue encountered on postgres. Correct fix is to report error to the client side, but too much error handler is missing in xcat code close-issue: xcat2#2037 close-issue: xcat2#2007
As history reasons, null value is always set within the composite primary keys, this patch is just a work aroud for the issue encountered on postgres. Correct fix is to report error to the client side, but too much error handler is missing in xcat code close-issue: xcat2#2037 close-issue: xcat2#2007
This one should have been resolved in the 2.12.4 release. @tingtli Can you assign FVT team to help verify and close out? |
I'm going to close this one, please re-open if issues persist |
While closing out this issue we found a problem with xcat:
https://gitlabhost.rtp.raleigh.ibm.com/4A8491897/research-92-cluster/issues/141
We migrated our xcat db from SQLite to postgres by followed the directions here:
http://xcat-docs.readthedocs.io/en/stable/advanced/hierarchy/databases/postgres_configure.html
specifically we executed:
When we were done, we compared the output of the lsdef -l command with what it was prior to doing the update and we found the following two fields are missing on every node:
The following attachment contains the before(orig) and after(new) node definitions extracted by xcat.
xcat-postgres-migrate.zip
The text was updated successfully, but these errors were encountered: