hpecp-python-library icon indicating copy to clipboard operation
hpecp-python-library copied to clipboard

Python library for working with HPE Container Platform (Prototype)

Results 33 hpecp-python-library issues
Sort by recently updated
recently updated
newest added

2022-06-20 12:50:13,195 - base.py - HPECP_CLI - DEBUG - Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/hpecp/cli/base.py", line 104, in intercept_exception return wrapped(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/hpecp/cli/k8scluster.py", line 577, in run_kubectl_command base.get_client().k8s_cluster.run_kubectl_command(...

Would be nice if the CLI would check for ENV just like the Python client seems to provide. Easy fix? Tried setting up the dev-env to have a go but...

``` POST /api/v2/k8scluster HTTP/1.1 Host: 127.0.0.1:8080 Content-Length: 1240 Accept-Encoding: gzip, deflate REMOTE_ADDR: 86.191.225.157 Accept: */* User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1160.21.1.el7.x86_64 Connection: keep-alive X-BDS-SESSION: /api/v2/session/0e60e453-1b69-4b1a-929b-c786b06475bf Content-Type: application/json Authorization: /api/v2/session/0e60e453-1b69-4b1a-929b-c786b06475bf { "datafabric": true,...

``` POST /api/v2/cluster/ HTTP/1.1 Host: 127.0.0.1:8080 Content-Length: 721 Accept-Encoding: gzip, deflate REMOTE_ADDR: 86.148.96.78 Accept: */* User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.19.1.el7.x86_64 Connection: keep-alive X-BDS-SESSION: /api/v2/session/ab996b58-52a0-48e7-a9ae-5b53a2a49809 Authorization: /api/v2/session/ab996b58-52a0-48e7-a9ae-5b53a2a49809 { "isolated": false, "label": {...

this is not valid: ``` hpecp epic_worker wait-for-state --state [ready] ``` however, no errors are thrown even though `--state` (singular) is not a valid parameter. We should allow the user...

``` PUT /api/v1/install/?install_reconfig HTTP/1.1 Host: 127.0.0.1:8080 Content-Length: 3477 Accept-Encoding: gzip, deflate REMOTE_ADDR: 109.151.141.70 Accept: */* User-Agent: python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1127.18.2.el7.x86_64 Connection: keep-alive X-BDS-SESSION: /api/v2/session/d8824c3e-71de-489b-ad07-44d0cf1abc31 Authorization: /api/v2/session/d8824c3e-71de-489b-ad07-44d0cf1abc31 {"gateway_ssl_cert_info": {"cert_file": {"content": "-----BEGIN CERTIFICATE-----XXXX-----END...

GET /api/v2/config ``` { "_links": { "self": { "href": "/api/v2/config" } }, "tenant_independent_auth": false, "custom_install_name": "demo-hpecp", "epic_on_cloud": true, "bdprefix": "hpecp-", "bddomain": "demo.bdlocal", "fqdn_assignment_mode": "index_sequential", "k8s_versions": [ "1.15.12", "1.16.13", "1.17.9", "1.18.6"...

EPIC - some api examples here: https://github.com/bluedatainc/solutions/blob/master/APIs/v1_bluedata_apis_doc.md#10-create-a-cluster-datatap

``` hpecp k8scluster import-generic-cluster --import-json-file ./import.json ```