Fluxctl: command not found - flux

I try to install fluxctl for my Kubernetes cluster but I always get the following error:
And I get the same result with my superuser account (sudo).
I'm completely lost
Can someone help me with this? I didn't find any answer on the Internet (Google).

I use the absolute path:
/snap/fluxctl/current/bin/fluxctl

Related

Jolokia - where is jolokia-access.xml?

I recently started to use Jolokia (on Weblogic server on a Windows VM) and it was fine (i.e. I could access to http://:/jolokia/version). However, after setting up credentials for an user, I find that I couldn't access to http://:/jolokia/version and it returned 403 Forbidden error. After reading through this page (https://jolokia.org/reference/html/security.html), the issue seems related to jolokia-access.xml. I tried to find it on server (Windows VM) but failed. I also tried to search for it online but couldn't find it either.
Could you please let me know where the file is? If I need to create the file, where (i.e. path) should I put it?
Thanks!
this file is there in this path:
c:<ACTIVEMQ_DIR>\webapps\api\WEB-INF\classes\jolokia-access.xml
Try to find in the conf directory in the activemq installation directory:
c:\<ACTIVEMQ_DIR>\conf\jolokia-access.xml

Kyma restart issue in local

I have installed Kyma version 1.13.0 on Windows, it's working fine if I don't restart my machine or minikube. But when I restart minikube by following steps provided in the below link. Kyma is not working.
https://kyma-project.io/docs/latest/root/kyma#installation-install-kyma-locally-stop-and-restart-kyma-without-reinstalling
I need to reinstall kyma again to make it work.
Any help would be appreciated
This sounds similar to what I get on my Windows machine.
This is the error that I get after restarting minikube.
stderr:
error execution phase addon/coredns: unable to patch the CoreDNS deployment: Timeout: request did not complete within requested timeout 30s
To see the stack trace of this error execute with --v=5 or higher
If you get same error, this has been reported as a bug.
https://github.com/kyma-project/cli/issues/455
My solution to this issue is to get the kyma working by issuing provision command twice, so give it a try.

Unable to activate virtual environment in Windows Command Prompt despite it already existing

I created a virtual environment called 'titanic_datascience' and have been able to use it in the past. However, it no longer activates when I call on it with the command 'workon titanic_datascience'. It claims that it does not exist so I tried to create it again with the command 'mkvirtualenv titanic_datascience', but I get back an error saying it already exists. I called the command 'workon' to double-check if it exists and it confirms that it indeed exists. I finally try to activate it once more with the command 'workon titanic_datascience' but to no avail. I have attached an image of the error.
I am using Windows 10 Command Prompt.
Screenshot
I've been googling and looking for similar questions here on stackoverflow, but I have been unable to find anything that resolves the situation.
Any help would be appreciated. Thanks.

ceph health command returns a failure

i'm new to ceph but have to build a mini-cluster as part of a project, i have been following an online tutorial of how to build one and all was fine until i restarted my machines the following day. now when i perform the command ceph health it returns an error saying: 2015-01-08 15:35:04.037375 7fae717fa700 0 -- :/1003525 >> 192.168.1.12:6789/0 pipe(0x7fae6c000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7fae6c000e90).fault.
and whenever i run the same command on the 192.168.1.12 machine it returns an error saying: monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication.
0 librados: client.admin initialization error (2) No such file or directory. Error connecting to cluster: ObjectNotFound.
I have been searching the internet for a while now for any answers and not found much, i noticed this site tends to be good in answering most if not all questions though, so any help would be greatly appreciated thanks. Im using centos 7 on all machines if thats any help.
Check if you have the permission to read the keyring file in
/etc/ceph/ceph.client.admin.keyring
If this file is not readable by your user, or it is missing, you are not able to do
ceph -w
If the keyring is missing you can install the keyring from the admin node using ceph-deploy admin serverhostname
As the error saying: ERROR: missing keyring. That means you don't have the keyring file.
Beside, this error,
error saying: 2015-01-08 15:35:04.037375 7fae717fa700 0 -- :/1003525 >> 192.168.1.12:6789/0 pipe(0x7fae6c000c00 sd=3 :0 s=1 pgs=0 cs=0 l=1 c=0x7fae6c000e90).fault.
It means your monitor didn't start up cause you missing the keyring file.
Step to resolve this problem:
1. Check the monitor host, and let it start up.
2. Execute the command "ceph -s" on monitor to check this cluster.

Installing Spark on ec2 gives error EC2ResponseError: 403 Forbidden

I was following this guide for installing spark on ec2.But getting following error while launching cluster:
ERROR:boto:403 Forbidden
I ran into this problem and got around it by using a "-w 600", which basically says wait for 600 second. Apparently, there is some housekeeping that the process needs more time on.
Ok I found out here that you have to set the privilege of the user (the user from which you got your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) to the value AmazonEC2FullAccess
This should solve your problem for most of you !

Resources