PDC Client(package name: pdc-client) is a shell CLI that make it easier to manipulate data from PDC servers.
It’s been shipped out with PDC Server(package name: pdc-server) since PDC v0.2.0-0.1.beta.
If you have installed PDC Server by some yum repository, PDC Client is in the same repository that you used.
So to install PDC Client, just need to:
$ sudo yum install pdc-client -y
If you have got the code and setup your development environment(see Setup development environment), then you could build from source and install the client and it’s dependency package python-pdc:
$ git checkout `{release-tag}`
$ make rpm
$ sudo yum install dist/noarch/python-pdc*.noarch.rpm dist/noarch/pdc-client*.noarch.rpm
If you want to customize server configuration, please edit the file ‘/etc/pdc/client_config.json’ for global configuration or create and edit ‘~/.config/pdc/client_config.json’ for the current user specific configuration. E.g.
- {
- “local”: {
- “host”: “http://localhost:8000/rest_api/v1/”, “develop”: true, “insecure”: false
}, “prod”: {
“host”: “https://pdc.example.com/rest_api/v1/”, “token”: xxxxxxxxxxxxx}
}
Under enterprise intranet, Reverse DNS mismatches may cause problems when doing kerberos auth.
Once you found out that you could kinit but still can not authenticate yourself to pdc servers, please check your krb5.conf and make sure that:
[libdefaults]
rdns = false
is there, and normally this will resolve your problem.