I'm trying to install Sahara in OpenStack(Pike version).
I adapted the installation from here https://picoledelimao.github.io/blog/2017/01/25/how-to-install-sahara-and-sahara-dashboard-on-openstack-newton/
and I followed the below steps
Create and configure sahara database
Create an openstack sahara user, service and endpoints
Installation of sahara
Configurationf of sahara.conf
Change max connection parameter in mysql/my.cnf from 16M to 256M
Restart mysql service
Restart sahara-api and sahara-engine
Installation of sahara dashboard
Manage the saharadashboard and openstack dashboard files
Restart apache2
Open the dashboard and verify the presence of data processing
In the last step, I see the data-processing but I have a lot of error. For example Error: Unable to fetch node group template list. I think it is due to the absence of plugin and cluster template.
Can someone explain me how to add them to Sahara?
Related
I am facing troubles in installing the agent manually If I follow the installation guide in the TFS portal.
These steps not working for me and gives unexpected errors:
what are the clear steps for that?
Error like:
VS30063:You are not authorized to access http://xxx.xxx.x.xxx:8080. Failed to
connect.
it's not reasonable because I have administrator privilege in server in TFS all but I can't pass it
what about workaround
1- download agent files
2- put them at any location like C:\agents
3- at PowerShell cd C:\agents
4- .\config.cmd --deploymentgroup --deploymentgroupname "deploymentgroupname" --agent $env:COMPUTERNAME --runasservice --work '_work' --url 'http://xxx.xxx.xxx.xxx/tfs/' --collectionname 'DefaultCollection' --projectname 'projectname' --auth Negotiate;
5- enter username and password
I am trying to run jupyterhub on an Ubuntu 20.04 LTS server. My idea is to run python/jupyterhub in a conda virtual environment as a system service. As I want to be able to limit the resources available to individual users I installed the systemdspawner.
After installing everything and starting the jupyterhub service I can login through my web browser. However, when trying to start the server the spawner stucks and after a while I get an error message saying "Spawn failed: Timeout"
in journalctl I can see the following messages:
User logged in: me 302 POST /hub/login?next= -> /hub/spawn (me#::ffff:[my IP address]) 59.42ms
Adding role server to token: <APIToken('93c8...', user='me', client_id='jupyterhub')
Creating oauth client jupyterhub-user-me
pam_loginuid(login:session): Error writing /proc/self/loginuid: Operation not permitted
pam_loginuid(login:session): set_loginuid failed
pam_unix(login:session): session opened for user me by (uid=0)
Failed to open PAM session for me: [PAM Error 14] Cannot make/remove an entry for the specified session
Disabling PAM sessions from now on. user:me
Unit jupyter-me-singleuser in a failed state. Resetting state.
Disclaimer: My Jupyter/Python installation is replacing an former installation that was setup by someone else and got messed up a bit during time. I tried to remove everything related and start with a clean installation from scratch. However, as I had very little documentation about the old setup there is a certain risk that there might be some left-overs of the previous installation that may cause trouble.
Any ideas?
Solved it out myself. In the end the PAM related messages seem to be non-critical and were not related to the timeout at all. Instead I found a mistake in /etc/systemd/system/jupyterhub.service, where the PATH variable was not including the bin directory of my miniconda installation.
I installed the Openstack horizon(Train version) by followed guide, no error showing in my install steps. After finished install, I access "http://controller_ip/dashboard", and got an error:
The requested URL /auth/login/ was not found on this server.
Can anyone help?
this
https://bugs.launchpad.net/horizon/+bug/1853651
By adding the following to the config file (and restarting httpd), the horizon dashboard then loads without issue:
WEBROOT = '/dashboard'
I have tried few approaches:
1)
-I downloaded Sense from https://github.com/bleskes/sense, unzipped and pasted it in kibana-5.3.0-amd64/usr/share/kibana/plugins
-I started kibana and then I got "[warning] Plugin "Sense" was disabled because it expected Kibana version "2.0.0-snapshot", and found "5.3.0"
demetrio#nodejs ~/Servers/DBs/elasticsearch-5.3.0/bin $ cd /home/demetrio/Servers/DBs/kibana-5.3.0-amd64/usr/share/kibana/bin
demetrio#nodejs ~/Servers/DBs/kibana-5.3.0-amd64/usr/share/kibana/bin $ ./kibana
undefined accessed the autoload lists which are no longer available via the Plugin API.Use the `ui/autoload/*` modules instead.
undefined accessed the autoload lists which are no longer available via the Plugin API.Use the `ui/autoload/*` modules instead.
log [20:25:48.403] [warning] Plugin "Sense" was disabled because it expected Kibana version "2.0.0-snapshot", and found "5.3.0".
log [20:25:49.123] [info][status][plugin:kibana#5.3.0] Status changed from uninitialized to green - Ready
log [20:25:49.279] [info][status][plugin:elasticsearch#5.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [20:25:49.326] [info][status][plugin:console#5.3.0] Status changed from uninitialized to green - Ready
log [20:25:49.842] [info][status][plugin:timelion#5.3.0] Status changed from uninitialized to green - Ready
log [20:25:49.873] [info][listening] Server running at http://localhost:5601
log [20:25:49.875] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow
log [20:25:50.041] [info][status][plugin:elasticsearch#5.3.0] Status changed from yellow to green - Kibana index ready
log [20:25:50.043] [info][status][ui settings] Status changed from yellow to green - Ready
2)
I tried installed, as suggested in https://github.com/bleskes/sense by following
demetrio#nodejs ~/Servers/DBs/kibana-5.3.0-amd64/usr/share/kibana/bin $ ./kibana plugin --install elastic/sense
ERROR unknown command plugin
3)
I tried to install
demetrio#nodejs ~/Servers/DBs/kibana-5.3.0-amd64/usr/share/kibana/bin $ ./kibana-plugin install elastic/sense
Attempting to transfer from elastic/sense
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/elastic/sense/elastic/sense-5.3.0.zip
Error: Client request error: connect ETIMEDOUT 107.21.249.70:443
Plugin installation was unsuccessful due to error "Client request error: connect ETIMEDOUT 107.21.249.70:443"
P.S. I checked my Debian proxy configuration and it is correct. Should I add my proxy configs in some specific Kibana file?
4)
I tried installed it from Google Chrome Store but it seems that such plugin is no mode maintained after version 2 and ELK is currently in 5.3
5)
I installed X-Pack (https://www.elastic.co/downloads/x-pack) but, as far as I noted until now, the only significant different was an user creation for each of ELK. I was locking for some thing like described here https://github.com/bleskes/sense
Handy API suggestions
Format validation
Scope collapsing
Auto formatting
Submit multiple requests at once
Copy and Paste cURL commands
To sum up, I am locking for some tool that could make a bit easier for a dummy like to make queries and interact with ELK. I saw few pictures that drove to conclusion that Sense is a good tool for that but I couldn't make it work.
Sense is now included in Kibana. Start Kibana (default port 5601) and look at DevTools. X-Pack is actually an expansion for monitoring, alerting and security purposes. kibana console doc
So for you it would be best to start exploring elasticsearch by using kibana devtools.
Recently i installed cloudera quickstart vm 5.8 on my windows machine on top of VMware. By default Spark UI link and Zookeeper link was not there on Hue so, i just edited the hue.ini which had,
app_blacklist = zookeeper, spark
to
app_blacklist =
After doing this i was able to download some Spark examples but the Spark UI link was still not displayed. However i was able to get the zookeeper UI link.
From the downloaded examples i selected sample notebook through which i was able to get the Spark notebook UI. It had some examples but when i run them i'm getting the following error.
HTTPConnectionPool(host='localhost', port=8998): Max retries exceeded with url: /sessions (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fdd7c5f2e50>: Failed to establish a new connection: [Errno 111] Connection refused',))
Do i need to make any changes in addition to the one i have done in hue.ini file. Please guide me through this.
The error was rectified after i installed livy server and ran it using the following commands in terminal;
export SPARK_HOME=/usr/lib/spark
export HADOOP_CONF_DIR=/etc/hadoop/conf
$HOME/livy-server-0.2.0/bin/livy-server