IBM Cloud Private doesn't display Helm charts - ibm-cloud

Has anyone experienced the following issue with Helm repositories?
Catalog->Helm Charts is empty.
There are two 'default' helm repositories - one "https://raw.githubusercontent.com/IBM/charts/master/repo/stable/" and second is 'local-charts' (https://192.168.1.100:8443/helm-repo/charts).
The only error I noticed is in helm-api pod logs (every time I refresh repos page or try to sync repos) is
2018-01-08T21:16:43.704Z 'ERROR' 'getChartsFromRepo(recursive) error: connect ECONNREFUSED 119.28.7.181:443'
I already restarted helm-api and helmrepo pods as well as kube-dns pods.
Moreover, attempt to add google repo (https://kubernetes-charts.storage.googleapis.com/) fails with the same error:
2018-01-08T21:32:37.311Z 'FINE' 'inspect-client'
2018-01-08T21:32:37.327Z 'FINE' 'isValidPostPayloadentry'
2018-01-08T21:32:37.327Z 'FINE' 'repos/ POST entry'
2018-01-08T21:32:37.327Z 'FINE' 'isValidPostPayloadexit'
2018-01-08T21:32:37.327Z 'FINE' 'inspect-client -> redirecting to next'
2018-01-08T21:32:37.561Z 'ERROR' 'checkUrlForIndexYaml error: connect ECONNREFUSED 119.28.7.181:443'
2018-01-08T21:32:37.561Z 'FINE' 'loadMessages en'
2018-01-08T21:32:37.561Z 'FINE' 'getMessage ["suppMessages","invalidIndex"] en {"url":"https://kubernetes-charts.storage.googleapis.com"}'
2018-01-08T21:32:37.562Z 'FINE' 'err.statusCode: 400'
2018-01-08T21:32:37.562Z 'FINE' 'statusCode: 400'
2018-01-08T21:32:37.562Z 'FINE' 'loadMessages en'
2018-01-08T21:32:37.562Z 'FINE' 'getMessage ["statusCode","400"] en '
2018-01-08T21:32:37.562Z 'FINE' 'configureAndSendError'
2018-01-08T21:32:37.562Z 'FINE' '{"statusCode":400,"message":"Invalid request : index.yaml at https://kubernetes-charts.storage.googleapis.com is not valid"}'
2018-01-08T21:32:37.562Z 'FINE' 'getErrorResponse'
[0mPOST /helm-api/api/v1/repos [33m400 [0m251.259 ms - 124[0m

Reposting your solution so people are aware there's an answer:
"I fixed that issue yesterday by completely reinstalling ICP. There were two possible source of that problem: Tarball archive I put into cluster/images directory before deploying the cluster was corrupted. It is also possible that the issue was with networking - I had a bridge network configured on that VM (br0 on top of eth). I removed it before ICP re-install." – Yerzhan Beisembayev

Same problem here. Workaround (hattip #Dave Hay) is to
Make sure you have kube-ctl installed and configured on the master node: https://www.ibm.com/support/knowledgecenter/SSBS6K_2.1.0/manage_cluster/cfc_cli.html
Install helm-cli on the master node: https://www.ibm.com/support/knowledgecenter/en/SSBS6K_2.1.0/app_center/create_helm_cli.html
Add the repo: helm repo add ibm-charts https://raw.githubusercontent.com/IBM/charts/master/repo/stable/
Now you can manually search and install using the helm CLI. The UI does not update.

I faced the same problem for IBM CAM 3.1.2 and IBM Cloud Private 3.1.2 installation (offline installation). Helm charts not appeared in the Catalog page.
I solved the problem by manually deleting the below Helm charts:
(Go to IBM Cloud Private web console, Manage > Helm Repositories)
ibm-charts
ibm-community
ppc64le-isv-charts
ibm-charts-public
(You can delete them by clicking the icon ・・・ on the right side, then click delete)
After all of the above charts deleted,
go to Manage > Helm Repositories > Sync repositories.
Then, go to Catalog, and you will find some available charts (eg: ibm-cam, etc)

Related

HELM chart for Apache degraded in argocd

I have tried using a HELM chart repo for Apache via ArgoCD but it shows up degraded in the console but is in sync. I am using the Kubernetes cluster on docker desktop for Mac (M1 chip). Not quite sure what the issue is.
The helm chart details are:
REPO URL = https://charts.bitnami.com/bitnami
CHART = apache:9.0.1
When I check the logs I see the output below:
macbookpro#argo-cd % argocd app logs apache
apache 23:11:06.35
apache 23:11:06.37 Welcome to the Bitnami apache container
apache 23:11:06.39 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-apache
apache 23:11:06.41 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-apache/issues
apache 23:11:06.43
apache 23:11:06.44 INFO ==> ** Starting Apache setup **
/usr/bin/realpath: /bitnami/apache/conf: No such file or directory
apache 23:11:06.71 INFO ==> ** Apache setup finished! **
apache 23:11:06.81 INFO ==> ** Starting Apache **
[Tue Jan 25 23:11:06.943934 2022] [core:emerg] [pid 1] (95)Operation not supported: AH00023: Couldn't create the mpm-accept mutex
(95)Operation not supported: could not create accept mutex
AH00015: Unable to open logs
Posting comment as the community wiki answer for better visibility:
That does appear like an incorrect architecture issue. Please refer to GitHub Issue

Kubeflow: problem with SSL certificate in Jupiter Notebook

We installed Kubeflow 1.0 on Kubernetes 1.15.16 (with Azure) and we have an issue with SSL certificate when trying to install pip package in Jupiter Notebook. The same issue also appear when trying to install directly the package from the docker container used for the Notebook Server:
In order to provide more context about the mentioned issues, here are attached some outputs that contain the errores mentioned within.
Issues found during installation of ‘nose’ package
If we try:
pip install --index-url=https://pypi.python.org/simple/ nose
Output is:
WARNING: Certificate did not match expected hostname: pypi.python.org.
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError
Could not fetch URL https://pypi.python.org/simple/nose/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/nose/
ERROR: Could not find a version that satisfies the requirement nose (from versions: none)
ERROR: No matching distribution found for nose
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/pip/
Similar issue also happen using curl:
! curl https://pypi.org
Output:
curl: (51) SSL: no alternative certificate subject name matches target host name 'pypi.org'
We tried to ignore the SSL verification using
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org
But is also raise an error:
ERROR: Could not find a version that satisfies the requirement nose (from versions: none)
ERROR: No matching distribution found for nose
We dont know where to start to solve this...
Any help would be welcome!
Thanks a lot in advance!
I got a same exception in kubeflow with Azure.
This command work for me:
pip install xgboost -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pypi.douban.com is a chinese mirror url.
But when I go to the next step, I got the same ssl ca error when use kubeflow sdk in python. I'm still finding solution.

install mongo with chef

I've tried to figure out how to install a mongodb 3.4 instance using this chef cookbook. Nevertheless, I've not able to get to install it.
This is my mongodb.rb file content:
node.default['mongodb']['package_version'] = '3.4'
include_recipe 'mongodb::default'
And my metadata.db: depends 'mongodb', '~> 0.16.2'.
I've tried to verify it on centos-72 platform using kitchen verify centos-72. I'm getting this message:
ERROR: yum_package[mongodb-org] (mongodb::install line 77) had an error: Chef::Exceptions::Package: Version ["3.4"] of ["mongodb-org"] not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)
I'm realizing this cookbook tries to add this yum_repository:
yum_repository 'mongodb' do
description 'mongodb RPM Repository'
baseurl "http://downloads-distro.mongodb.org/repo/redhat/os/#{node['kernel']['machine'] =~ /x86_64/ ? 'x86_64' : 'i686'}"
action :create
gpgcheck false
enabled true
end
And according to this mongo documentation the link repository should have to be:
https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/
instead of
"http://downloads-distro.mongodb.org/repo/redhat/os/..."
The repo you are using does not have version 3.4 available. You can verify this manually by just looking at the RPMs in http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/

ATG Commerce v11 CRS install Error:

I have installed Oracle ATG v11 with the commerce reference store, when I startup the production server and go to the url domain/crs/storeus I see the blank white page, and have the following error in the console:
Oct 13, 2014 1:56:37 PM com.endeca.infront.site.SiteManager getSite
SEVERE: Unable to retrieve site definition for site id: /storeSiteUS
com.endeca.store.exceptions.PathNotFoundException: No node found at
path: [pages].
at com.endeca.store.configuration.InternalNode.getNode(InternalNode.java:153)
at com.endeca.store.configuration.InternalNode.getNodeInfo(InternalNode.java:221)
at com.endeca.store.configuration.InternalNode.getNode(InternalNode.java:150)
at com.endeca.store.configuration.InternalNode.getNode(InternalNode.java:61)
........................................
**** Error Mon Oct 13 13:00:47 +00:00 2014 1413205247448 /atg/endeca/assembler/droplet/InvokeAssembler A problem occurred
assembling the content for content item /content/Web/Home Pages. The
response received was {#type=ContentSlot,
atg:currentSiteProductionURL=/crs/storeus,
canonicalLink=com.endeca.infront.cartridge.model.NavigationAction#2b35e9c6,
ruleLimit=1, #error=com.endeca.infront.content.ContentException:
com.endeca.navigation.ENEConnectionException: Error establishing
connection to retrieve Navigation Engine request
http://localhost:15000/graph?node=0&profiles=sitegroup.siteGroupUS|NoPriceRange|site.storeSiteUS&offset=0&nbins=0&irversion=640'.
Tried all: '2' addresses, but could not connect over HTTP to server:
'localhost', port: '15000' Check MDEX Logs and specified query
parameters. , contentCollection=/content/Web/Home Pages}. Servicing
the error open parameter.
I am assuming this error is related to endeca? I have downloaded CAS, Tools And Frameworks with experience manager and MDX, and Platform Services. Do I need to start these or have I missed a part of the endeca install?
The value of the configurationPath attribute in the DefaultFileStoreFactory.properties located at \localconfig\atg\endeca\assembler\cartridge\manager may be incorrect.
In OOTB CRS, we normally provide the following value for configurationPath attribute :
/ToolsAndFrameworks/11.1.0/server/workspace/state/repository/CRS
Could you please verify the .zip is present at path provided in DefaultFileStoreFactory.properties.
Just check if you are able to connect the below url:
host:15000/admin?op=stats
If you are able to connect this URL, then MDEX is running. Also, you can login to the experience manager and check if the dgraphs and dgidx are running.
If you are not able to connect then check all the services are(tools and http) running and accessible. You can check the endeca logs to debug further.
Your DGraph is not (yet) started.
(Hit this URL in your browser and verify: http://localhost:15000/graph?node=0&profiles=sitegroup.siteGroupUS|NoPriceRange|site.storeSiteUS&offset=0&nbins=0&irversion=640&format=xml)
Possible reasons are:
You did not run baseline update from ATG (from
ProductCatalogSimpleIndexingAdmin dyn/admin component).
You did not run promote content (from your Endeca App's control folder).
Your Services are not working properly (or not started at all). Check that Platform Services and Tools And Frameworks are started.
The solution is to properly define the value for the property configurationPath=E:/Endeca/Apps/CRS/data/workbench/application_export_archive/CRS in "DefaultFileStoreFactory.properties"
If you are using the OS as Windows then define this path as Unix style as shown above.

solarisstudio12.3 installation on Solaris 11 machine

I am trying to install solaris studio 12.3 on a Solaris 11 x86 machine.
I have downloaded oracle cert and key from mentioned link, but while publishing am getting following error.
pkg set-publisher -k Oracle_Solaris_Studio.key.pem -c Oracle_Solaris_Studio.certificate.pem -g **PORTAL** solarisstudio
pkg set-publisher: The origin URIs for 'solarisstudio' do not appear to point to a valid pkg repository.
Please verify the repository's location and the client's network configuration.
Additional details:
Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
1: Framework error: code: 7 reason: Failed connect to pkg.oracle.com:443; Connection refused
URL: '**PORTAL**' (happened 4 times)
2: Framework error: code: 28 reason: Connection timed out after 60000 milliseconds
URL: '**PORTAL**' (happened 4 times)
Please let me know if further information is required.
NOTE PORTAL - https://pkg.oracle.com/solarisstudio/release
Configuring correct proxy settings as pointed out by alanc, resolved the issue.