cloudera-labs / cdpy Goto Github PK
View Code? Open in Web Editor NEWA Simple Pythonic Client wrapper for Cloudera CDP CLI, designed for use with the Ansible framework
License: Apache License 2.0
A Simple Pythonic Client wrapper for Cloudera CDP CLI, designed for use with the Ansible framework
License: Apache License 2.0
Line 368 in f8a6aad
_get_path
errors when field
is None
, as it is not iterable. However, docs direct you to use None
if waiting for delete state.
@wmudge : Restart CDW dbc is missing. Will do a PR. Will add as well the correspondent Ansible module code in the Ansible cloudera.cloud repo.
Hi,
We are trying to make use of cdpy in some of our automation (indeed also ansible modules) and would ask whether:
pre-releases could of course still depend on cdpcli-beta rather than cdpcli, however, stable releases we believe would benefit to rely on cdpcli.
This option should be added to the readme
pip install git+https://github.com/cloudera-labs/cdpy@devel#egg=cdpy
Env: Base 7.1.5 / Private Cloud 1.1 / OpenShift 4.5
Test program: https://github.com/marcredhat/cdpy/blob/main/testprivate1.py
sdk.describe_all_environments()) and sdk.summarize_environment("marccdp"))
work fine and display the following CDP environment crn:
#RESULT:
#[{'environmentName': 'marccdp', 'crn': 'crn:altus:environments:us-west-1:27c485f2-d664-4a62-911c-8454d5ea311a:environment:marccdp/5b56f5d8-6089-43f6-96bb-fa67e9d3ba44', 'status': 'AVAILABLE', 'cloudPlatform': 'OPENSHIFT'}]
Issue:
sdk.gather_clusters("crn:altus:environments:us-west-1:27c485f2-d664-4a62-911c-8454d5ea311a:environment:marccdp/5b56f5d8-6089-43f6-96bb-fa67e9d3ba44"))
does not work as it seems to expect a string starting with crn:cdp:environments instead of crn:altus:environments
#RESULT (NOK)
#cdpy.common.CdpError: CdpError('Supplied env_crn crn:altus:environments:us-west-1:27c485f2-d664-4a62-911c-8454d5ea311a:environment:marccdp/5b56f5d8-6089-43f6-96bb-fa67e9d3ba44 is not a valid CDP Environment crn',)
#seems related to the fact that https://github.com/cloudera-labs/cdpy/blob/main/src/cdpy/dw.py expects
#a string starting with
#crn:cdp:environments instead of
#crn:altus:environments
Both tenantStorageLocation
and tenantStorageRole
are present in the beta API.
Line 117 in f8a6aad
When using cloudera.cloud.iam_group
, this threw an Invalid range for parameter pageSize, value: 200, valid range: 1-100
error.
The datalake.describe_datalake()
function can sometimes return UNKNOWN
/HTTP 500
when immediately run after a delete_datalake()
call.
Originally reported in cloudera-labs/cloudera.exe#88
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.