fairing icon indicating copy to clipboard operation
fairing copied to clipboard

from kubeflow import fairing getting ImportError: cannot import name 'mtls' on on prem cluster

Open pvgbabu opened this issue 5 years ago • 11 comments

/kind bug

What steps did you take and what happened: [A clear and concise description of what the bug is.]

What did you expect to happen:

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Fairing version: (use python -c "import kubeflow.fairing; print(kubeflow.fairing.__version__)"): 0.7.3
  • Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard):1.0
  • Minikube version:
  • Kubernetes version: (use kubectl version): 1.15.5
  • OS (e.g. from /etc/os-release): pivotal PKS

NOTE: If you are using fair from master, please provide us the git commit hash.

pvgbabu avatar Jun 19 '20 12:06 pvgbabu

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

issue-label-bot[bot] avatar Jun 19 '20 12:06 issue-label-bot[bot]

Issue-Label Bot is automatically applying the labels:

Label Probability
area/jupyter 0.60

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 19 '20 12:06 issue-label-bot[bot]

Kubefloe Jupyter lab oS NAME="Ubuntu" VERSION="18.04.3 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.3 LTS" VERSION_ID="18.04"

pvgbabu avatar Jun 19 '20 12:06 pvgbabu

Would you please show more details for the traceback? Are you using kubeflow-fairing in kubeflow Jupyter notebook? if so, would you please upgrade kubeflow-fairing and try again?

jinchihe avatar Jun 20 '20 08:06 jinchihe

Guess that's caused by old google-auth installed, please update the google-auth library to the latest version (1.16.1). See more here https://github.com/googleapis/google-api-python-client/issues/939

jinchihe avatar Jun 20 '20 08:06 jinchihe

@jinchihe No luck. Same error I have latest kubeflow-fairing==0.7.3 and google-auth (1.17.2) Below are installed libraries. Please let us know.

absl-py==0.9.0 adal==1.2.4 aiohttp==3.6.2 argo-models==2.2.1a0 asn1crypto==0.24.0 astor==0.8.1 async-timeout==3.0.1 attrs==19.3.0 autopep8==1.4.4 azure-applicationinsights==0.1.0 azure-common==1.1.25 azure-mgmt==4.0.0 azure-mgmt-advisor==1.0.1 azure-mgmt-applicationinsights==0.1.1 azure-mgmt-authorization==0.50.0 azure-mgmt-batch==5.0.1 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==0.2.0 azure-mgmt-cdn==3.1.0 azure-mgmt-cognitiveservices==3.0.0 azure-mgmt-commerce==1.0.1 azure-mgmt-compute==4.6.2 azure-mgmt-consumption==2.0.0 azure-mgmt-containerinstance==1.5.0 azure-mgmt-containerregistry==2.8.0 azure-mgmt-containerservice==4.4.0 azure-mgmt-cosmosdb==0.4.1 azure-mgmt-datafactory==0.6.0 azure-mgmt-datalake-analytics==0.6.0 azure-mgmt-datalake-nspkg==3.0.1 azure-mgmt-datalake-store==0.5.0 azure-mgmt-datamigration==1.0.0 azure-mgmt-devspaces==0.1.0 azure-mgmt-devtestlabs==2.2.0 azure-mgmt-dns==2.1.0 azure-mgmt-eventgrid==1.0.0 azure-mgmt-eventhub==2.6.0 azure-mgmt-hanaonazure==0.1.1 azure-mgmt-iotcentral==0.1.0 azure-mgmt-iothub==0.5.0 azure-mgmt-iothubprovisioningservices==0.2.0 azure-mgmt-keyvault==1.1.0 azure-mgmt-loganalytics==0.2.0 azure-mgmt-logic==3.0.0 azure-mgmt-machinelearningcompute==0.4.1 azure-mgmt-managementgroups==0.1.0 azure-mgmt-managementpartner==0.1.1 azure-mgmt-maps==0.1.0 azure-mgmt-marketplaceordering==0.1.0 azure-mgmt-media==1.0.0 azure-mgmt-monitor==0.5.2 azure-mgmt-msi==0.2.0 azure-mgmt-network==2.7.0 azure-mgmt-notificationhubs==2.1.0 azure-mgmt-nspkg==3.0.2 azure-mgmt-policyinsights==0.1.0 azure-mgmt-powerbiembedded==2.0.0 azure-mgmt-rdbms==1.9.0 azure-mgmt-recoveryservices==0.3.0 azure-mgmt-recoveryservicesbackup==0.3.0 azure-mgmt-redis==5.0.0 azure-mgmt-relay==0.1.0 azure-mgmt-reservations==0.2.1 azure-mgmt-resource==2.2.0 azure-mgmt-scheduler==2.0.0 azure-mgmt-search==2.1.0 azure-mgmt-servicebus==0.5.3 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.1.1 azure-mgmt-sql==0.9.1 azure-mgmt-storage==10.0.0 azure-mgmt-subscription==0.2.0 azure-mgmt-trafficmanager==0.50.0 azure-mgmt-web==0.35.0 azure-nspkg==3.0.2 azure-servicefabric==6.3.0.0 azure-storage-blob==1.5.0 azure-storage-common==2.1.0 azure-storage-file==2.1.0 backcall==0.1.0 bleach==3.1.0 boto3==1.14.1 botocore==1.17.1 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 chardet==3.0.4 Click==7.0 cloudpickle==1.4.1 configparser==5.0.0 contextvars==2.4 cryptography==2.9.2 cycler==0.10.0 dask==2.18.1 dask-kubernetes==0.10.1+7.g4a88095 decorator==4.4.1 defusedxml==0.6.0 Deprecated==1.2.10 dill==0.3.1.1 distributed==2.18.0 docker==4.2.1 docutils==0.15.2 entrypoints==0.3 enum34==1.1.6 fairing==0.5 future==0.18.2 gast==0.2.2 google-api-core==1.20.0 google-api-python-client==1.9.3 google-auth==1.17.2 google-auth-httplib2==0.0.3 google-auth-oauthlib==0.4.1 google-cloud-core==1.3.0 google-cloud-logging==1.15.0 google-cloud-storage==1.29.0 google-pasta==0.1.8 google-resumable-media==0.5.1 googleapis-common-protos==1.52.0 graphviz==0.14 grpcio==1.29.0 h5py==2.10.0 HeapDict==1.0.1 httplib2==0.18.1 ibm-cos-sdk==2.6.3 ibm-cos-sdk-core==2.6.3 ibm-cos-sdk-s3transfer==2.6.3 idna==2.6 idna-ssl==1.1.0 immutables==0.14 importlib-metadata==1.4.0 ipykernel==5.1.1 ipython==7.11.1 ipython-genutils==0.2.0 ipywidgets==7.5.1 isodate==0.6.0 jedi==0.15.2 Jinja2==2.10.3 jmespath==0.10.0 joblib==0.15.1 json5==0.9.5 jsonschema==3.2.0 jupyter==1.0.0 jupyter-client==5.3.4 jupyter-console==6.0.0 jupyter-core==4.6.1 jupyter-http-over-ws==0.0.7 jupyter-server-proxy==1.5.0 jupyterlab==1.2.16 jupyterlab-server==1.1.5 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 keyring==10.6.0 keyrings.alt==3.0 kfp==0.1.40 kfp-server-api==0.1.40 kfserving==0.3.0.1 kiwisolver==1.1.0 kubeflow-fairing==0.7.3 kubeflow-kale==0.4.0 kubeflow-pytorchjob==0.1.3 kubeflow-tfjob==0.1.3 kubernetes==10.0.1 kubernetes-asyncio==11.3.0 Markdown==3.1.1 MarkupSafe==1.1.1 matplotlib==3.1.2 minio==5.0.10 mistune==0.8.4 more-itertools==8.0.2 msgpack==1.0.0 msrest==0.6.16 msrestazure==0.6.3 multidict==4.7.6 nbconvert==5.6.1 nbformat==4.4.0 networkx==2.4 notebook==6.0.2 numpy==1.18.1 oauth2client==4.1.3 oauthlib==3.1.0 opt-einsum==3.1.0 pandas==1.0.4 pandocfilters==1.4.2 parso==0.5.2 pexpect==4.7.0 pickleshare==0.7.5 prometheus-client==0.7.1 prompt-toolkit==2.0.10 protobuf==3.11.2 psutil==5.7.0 ptyprocess==0.6.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycodestyle==2.6.0 pycparser==2.20 pycrypto==2.6.1 pyflakes==2.2.0 Pygments==2.5.2 pygobject==3.26.1 PyJWT==1.7.1 pyparsing==2.4.6 pypyodbc==1.3.4 pyrsistent==0.15.7 python-apt==1.6.5+ubuntu0.3 python-dateutil==2.8.0 pytz==2020.1 pyxdg==0.25 PyYAML==5.3.1 pyzmq==18.1.1 qtconsole==4.6.0 requests==2.22.0 requests-oauthlib==1.3.0 requests-toolbelt==0.9.1 retrying==1.3.3 rsa==4.0 s3transfer==0.3.3 scikit-learn==0.23.1 scipy==1.4.1 seaborn==0.10.1 SecretStorage==2.3.1 Send2Trash==1.5.0 simpervisor==0.3 six==1.13.0 sklearn==0.0 sortedcontainers==2.2.2 strip-hints==0.1.9 table-logger==0.3.6 tabulate==0.8.3 tblib==1.6.0 tensorboard==2.1.0 tensorflow==2.1.0 tensorflow-estimator==2.1.0 termcolor==1.1.0 terminado==0.8.3 testpath==0.4.4 threadpoolctl==2.1.0 toml==0.10.1 toolz==0.10.0 tornado==6.0.4 traitlets==4.3.3 typing-extensions==3.7.4.2 uritemplate==3.0.1 urllib3==1.24.2 wcwidth==0.1.8 webencodings==0.5.1 websocket-client==0.57.0 Werkzeug==0.16.0 widgetsnbextension==3.5.1 wrapt==1.11.2 xgboost==1.1.1 yarl==1.4.2 zict==2.0.0 zipp==0.6.0

pvgbabu avatar Jun 22 '20 11:06 pvgbabu

Issue-Label Bot is automatically applying the labels:

Label Probability
area/katib 0.69

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 22 '20 11:06 issue-label-bot[bot]

Would you please show detailed traceback? We did not hit the problem before, and I cannot reproduce that. @pvgbabu

By the way, the kubeflow-fairing 1.0.0 has been released. Would you please try to reinstall or upgrade kubeflow-fairing, and try again?

jinchihe avatar Jun 23 '20 01:06 jinchihe

Thanks @jinchihe, kubeflow-fairing 1.0.0 working fine. But i am having issues with docker image push becoz of docker inside dicker and dockerd initiation. is there any image or yaml to address docker inside docker image push to repositories.

pvgbabu avatar Jul 06 '20 15:07 pvgbabu

is there any image or yaml to address docker inside docker image push to repositories.

I have not, but why not try cluster build, that's no need docker in docker. Thanks.

jinchihe avatar Jul 07 '20 08:07 jinchihe

Could you please explain/refer me to any link/example for cluster build. Appreciate all your help.

On Tue, Jul 7, 2020 at 3:40 AM Jin Chi He [email protected] wrote:

is there any image or yaml to address docker inside docker image push to repositories.

I have not, but why not try cluster build, that's no need docker in docker. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kubeflow/fairing/issues/513#issuecomment-654694738, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACESL37ZKBYUHWCJUC2RL7DR2LNRLANCNFSM4OCWADUA .

-- Ganesh Babu P V Manger Enterprise Advanced Analytics (ML/DS/AI) TD Ameritrade Omaha,NE

pvgbabu avatar Jul 07 '20 12:07 pvgbabu