Comments (4)
i search and got more details on my case,
in the sts deploiement file, the controller is set to run on master/control place node.
On my infrastructure, only nodes have infiniband and beegfs tools and setting, so that' s why it failed looking for /etc/beegfs/beegfs-client.conf file on master nodes.
Anyway, i copy the file to the master nodes, and now got :
"failed to handle configuration file: likely missing quotes around an integer or boolean beegfsClientConf value: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go struct field BeegfsConfig.config.beegfsClientConf of type string" "fullError"="error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go struct field BeegfsConfig.config.beegfsClientConf of type string\nlikely missing quotes around an integer or boolean beegfsClientConf value\ngithub.com/netapp/beegfs-csi-driver/pkg/beegfs.parseConfigFromFile
That's true the file is a not json file.
Can you share an example of your /etc/beegfs/beegfs-client.conf for me to compare with mine and then i can adapt it on my controlplane nodes
from beegfs-csi-driver.
Hello @seb-835. There are likely a couple of things at play here:
- You mentioned that master nodes in your infrastructure are incapable of running (or do not run) BeeGFS services. While the initial error you get when trying to run the BeeGFS CSI driver on nodes like this relates to a missing beegfs-client.conf file, simply copying the file to these nodes is not a fix. The driver will eventually fail for other reasons (as it must be able to use BeeGFS related modules and programs on the node where it runs). The correct approach is to patch the deployment manifests so that the driver is never scheduled to run on incapable nodes. See https://github.com/NetApp/beegfs-csi-driver/blob/master/docs/deployment.md#deployment-to-kubernetes-clusters-with-mixed-nodes for detailed instructions. Feel free to reach out with specific questions if this does not go well.
- The unmarshalling error you are seeing is not occurring when the driver is reading /etc/beegfs/beegfs-client.conf (this file should generally remain in its default state). It is occurring when the driver reads in your csi-beegfs-config ConfigMap. You have included a large number of parameters here, many of which are simply the defaults. It is only necessary to specify parameters in this file if/when they need to be different than the defaults specified in /etc/beegfs/beegfs-client.conf. However, if you do specify parameters here, booleans and integers must be quoted as strings. I recommend you remove any parameters from the ConfigMap you don't need and fix any booleans or integers you do need.
- Note that it is incorrect to specify sysMgmtdHost in the beegfsClientConf section of the ConfigMap (the driver will log a warning). sysMgmtdHost is specified individually for each PersistentVolume (and set automatically on provisioned PersistentVolmes according to the StorageClass parameters).
from beegfs-csi-driver.
Hi @ejweber ,
i am very grateful for this long and detailed answer, many thanks, this resolve my trouble !!!
from beegfs-csi-driver.
Glad to hear the issue is resolved!
from beegfs-csi-driver.
Related Issues (18)
- Test Issue
- failed to read client configuration template file: open /host/etc/beegfs/beegfs-client.conf: no such file or directory HOT 2
- Add ReadWriteOncePod? HOT 1
- Feature request: support VolumeSnapshot HOT 2
- base64 for `ConnAuthConfig.ConnAuth` HOT 11
- Failed mount after kubernetes worker node upgrade from v1.23.15 to v1.24.9 HOT 2
- Request for feedback HOT 1
- Getting "failed to get valid default client" error HOT 1
- Upgrade Operator SDK and Operator dependancies HOT 1
- metrics endpoint will not be started because `metrics-address` was not specified HOT 4
- Consider updating the module path and driver name
- Recreate all end-to-end tests in GitHub Actions
- unable to find metadata node for path:/mnt/beegfs HOT 4
- Plans for supporting K8s 1.23.x and 1.24.x HOT 4
- Add support for ARM64 HOT 4
- Consider deploying to dedicated namespace? HOT 5
- Feedback on Nomad CSI HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beegfs-csi-driver.