Deploying CAM I get Internal error occurred: admission webhook error - ibm-cloud-private

I'm getting this error code deploying CAM helm chart:
Internal service error : rpc error: code = Unknown desc = release cam failed: Internal error occurred: admission webhook "trust.hooks.securityenforcement.admission.cloud.ibm.com" denied the request: Deny "mycluster.icp:8500/services/icam-bpd-cds:3.1.0.0-x86_64", no matching repositories in ClusterImagePolicy and no ImagePolicies in the "services" namespace

Via cmd line:
kubectl edit clusterimagepolicies $(kubectl get clusterimagepolicies --no-headers | awk ‘{print $1}’)
Inspect the list of -name entries. Should already be something in there for
mycluster.icp:8500/*
You can try adding an explicit
-name mycluster.icp:8500/services/icam-bpd-cds:*
entry and wq to write and quit and see if that helps.

Related

Microk8s create a namespace with rewrited dash to underscore

I face a curious state on my microk8s cluster while dealing with namespace creation and deletion.
One namespace in terminating space is listed with a dash in the kubectl get namespaces response
$ kubectl get namespaces | grep mongo
mongodb-shared Terminating 3d22h
but when requested with it ressource name it is not found:
$ kubectl get namespace mongodb-shared Error from server (NotFound):
namespaces "mongodb-shared" not found
I found that it was accessible with an underscore:
but it ressource name (even in the yaml view) is with a dash
$ kubectl get namespace mongodb_shared
NAME STATUS AGE
mongodb-shared Terminating 3d22h
Therefore, I cannot udpate the finalizers to force kill this namespace
I can extract the yaml or json descriptor with :
kubectl get namespace ${NAMESPACE} -o yaml
but I cannot apply any change
I always have the error message:
"the name of the object (mongodb-shared) does not match the name on
the URL (mongodb_shared)"

Error generating the report: org.apache.jmeter.report.dashboard.GenerationException:

Hi im trying to generate a html report but im getting an error
Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed with message :Consumer failed with message :Consumer failed with message :Consumer failed with message :No column <responseMessage> found in sample metadata <timeStamp;elapsed;label;responseCode;threadName;success;bytes;sentBytes;grpThreads;allThreads;URL;Latency;SampleCount;ErrorCount;Hostname;IdleTime;Connect>, check #jmeter.save.saveservice.* properties to add the missing column
... end of run
my sript is
sh jmeter -n -t /Users/johnnatividad/Desktop/loadtestfolder/testing.jmx -l /Users/johnnatividad/Desktop/loadtestfolder/testingresult.csv -e -o /Users/johnnatividad/Desktop/loadtestfolder/newf/
my newf is empty but im generating the cvs.
Isn't it self-explanatory? JMeter expects responseMessage column to be present in your .jtl results file and it is not there.
Try amending your command as follows:
sh jmeter -Jjmeter.save.saveservice.response_message=true -n -t /Users/johnnatividad/Desktop/loadtestfolder/testing.jmx -f -l /Users/johnnatividad/Desktop/loadtestfolder/testingresult.csv -e -o /Users/johnnatividad/Desktop/loadtestfolder/newf/
If it helps you can make the change permanent by adding the next line to user.properties file:
jmeter.save.saveservice.response_message=true
More information:
Results file configuration
Configuring JMeter
Apache JMeter Properties Customization Guide

“ error: "The parameter 'map.net.xml' is not allowed in this context" , when I want to create " .poly.xml" file” in sumo

I have a question about the polyconvert while I was importing a map
from Openstreetmap.
I successfully completed the netconvert commnad and try to get a map.poly
After I execute command:
polyconvert --net-file map.net.xml --osm-files map.osm
--type-file typemap.xml -o map.poly.xml
after that show these errors:
Error: The parameter 'map.net.xml' is not allowed in this context.
Switch or parameter name expected.
Error: Could not parse commandline options. Quitting (on error).
please help me solve this problem.
thanks

Unable to add multiple parameters to task when deployed via a stream in spring cloud dataflow

I have a task which takes 3 different parameters to run it's batch jobs. When running from UI i pass them as task arguments and it works. Now I am trying to create a stream which deploys the task with these parameters every 5 mins. I'm using the triggertask source and task-launcher-local sink for this.
The following stream definition is giving me an error and not adding the stream:
triggertask --environment-properties=appnexus_seat=SEAT_MIQ_1,last_modified=2018/08/03,start_element=0 --uri=file:///home/MIQDIGITAL/siddhant/scdf-tasks/spring-cloud-task-aiq-batch-module/aiq-appnexus-batch-service/target/aiq-appnexus-batch-service-3.23.1.jar --time-unit=MINUTES | task-launcher-local
Error:
Caught exception while handling a request: 100E:(pos 75): Found unexpected data after stream definition: '='
triggertask --environment-properties=appnexus_seat=SEAT_MIQ_1,last_modified=2018/08/03,start_element=0 --uri=file:///home/MIQDIGITAL/siddhant/scdf-tasks/spring-cloud-task-aiq-batch-module/aiq-appnexus-batch-service/target/aiq-appnexus-batch-service-3.23.1.jar --time-unit=MINUTES --fixed-delay=2 | task-launcher-local
Then when i add them as command-line-args I get the same error:
triggertask --uri=file:///home/MIQDIGITAL/siddhant/scdf-tasks/spring-cloud-task-aiq-batch-module/aiq-appnexus-batch-service/target/aiq-appnexus-batch-service-3.23.1.jar --time-unit=MINUTES --fixed-delay=2 --command-line-args=appnexus_seat=SEAT_MIQ_1,last_modified=2018/08/03,start_element=0 | task-launcher-local
But when i run the same with only one command line argument it run perfectly:
triggertask --uri=file:///home/MIQDIGITAL/siddhant/scdf-tasks/spring-cloud-task-aiq-batch-module/aiq-appnexus-batch-service/target/aiq-appnexus-batch-service-3.23.1.jar --time-unit=MINUTES --fixed-delay=2 --command-line-args=appnexus_seat=SEAT_MIQ_1 | task-launcher-local
So the issue is with passing multiple arguments. How can i do that?
This is a duplicate of spring-cloud/spring-cloud-dataflow/2451#issuecomment-425974434.

monetdbd: internal error while starting mserver

I am following the MonetDB tutorial but after executing this command:
shell> mclient -u monetdb -d voc
and inserting the password I receive the following error
monetdbd: internal error while starting mserver
This is the error in the log file. How can I solve this? Thank a lot!!
2016-05-23 08:41:39 MSG voc[1060]: !IOException:mal_mapi.listen:operation failed: binding to UNIX socket file /vagrant/mydbfarm/voc/.mapi.sock failed: No such file or directory
2016-05-23 08:41:39 MSG merovingian[1054]: database 'voc' (1060) has exited with exit status 0
2016-05-23 08:41:39 MSG merovingian[1054]: database 'voc' has shut down
2016-05-23 08:41:39 ERR merovingian[1054]: client error: database 'voc' started up, but failed to open up a communication channel
try a mkdir -p /vagrant/mydbfarm/voc/ as the user who runs MonetDB perhaps?

Resources