Comments (16)
Interesting... which OS distro/version are you using at the moment? can you confirm that it was not a transient error (e.g., did you try to re-run cb --soft_reset
or even cb --hard_reset
)?
from cbtool.
I am using ubuntu,
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
I can confirm it is not a transient error. I have run both soft and hard reset and none worked.
from cbtool.
I have just created another VM and tried running it on it and I got a different error.
Cbtool version is "0bd620b7"
Parsing "cloud definitions" file..... "/home/ubuntu/cbtool/lib/auxiliary//../..//configs/ubuntu_cloud_definitions.txt" opened and parsed successfully.
Checking "Object Store".....An Object Store of the kind "Redis" (shared) on node 10.5.5.195, TCP port 6379, database id "0" seems to be running.
Checking "Log Store".....A Log Store of the kind "rsyslog" (private) on node 10.5.5.195, UDP port 5114 seems to be running.
ERROR:root:network_functions.py/Nethashget.nmap nethashget - Unable to connect to TCP port 27017 on host 10.5.5.195: [Errno 111] Connection refused
Checking "Metric Store"..... Unable to detect a shared MongoDB server daemon running. Please try to start one (e.g., /usr/local/bin/mongod -f /etc/mongod.conf --pidfilepath /var/run/mongod.pid)
from cbtool.
ah, this might be an installer bug that we thought we had solved. Try the following (post the output here)
netstat -puntl | grep "6379\|27001"
sudo systemctl restart redis; sudo systemctl restart mongodb
If afterwards, you see MongoDB/Redis listening on the appropriate ports (try again netstat -puntl | grep "6379\|27001"
), then you just restart CB.
from cbtool.
After the first run of netstat as root user
ubuntu@vmtest-1:/cbtool$ sudo -s/cbtool# netstat -puntl | grep "6379|27001"
root@vmtest-1:
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 26518/redis-server
tcp6 0 0 ::1:6379 :::* LISTEN 26518/redis-server
After I did systemctl for redis and mongodb. This is the result below
tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 16814/redis-server
tcp6 0 0 ::1:6379 :::* LISTEN 16814/redi
I then did a hard-reset and it has started working.
Things to note, after I sent you the error, I did the following:
- created the db path for mongo db, because it was complaining that it didn't find it.
- I did a restart of mongodb, although it usually stalls at a point, I don't know why.
Based on the above, I don't know if it also helped.
Thank you for the help.
from cbtool.
Please can I ask, is the GUI and API service daemon URL supposed to be accessible? I tried the URL in a web browser and it tells me it can't load the page.
from cbtool.
Yes, the URL is supposed to be accessible... when you started the cb, did you see a pid for the process that implements the URL (it should appear on the startup messages)?
from cbtool.
Yes, I saw the PID, is there something I should do with that? Could it be because we have two networks configured? In the installation of OpenStack, we needed to create both external and internal network. If I try to use the external network address in the private configuration file of cb, cb doesn't run, but if I leave it as IP_AUTO, it runs fine. However, I can see that the IP addresses are those of the internal network.
from cbtool.
Apologies for the long hiatus. Just in case you still didn't solve the problem (and did not gave up CB entirely :-) ) , I wrote a small tutorial on how to debug the GUI on the FAQ (https://github.com/ibmcb/cbtool/wiki/FAQ-U#wiki-uq24). Let me know if it helps.
from cbtool.
from cbtool.
ok, understood. So on /tmp/restart_cb_gui_ubuntu debug
, I assume you see no errors, and the code is left running there, right? Next question, when you, on a different terminal, issues a net stat -puntl | grep <PORT NUMBER OF THE GUI>
what is the result?
from cbtool.
from cbtool.
from cbtool.
So, ok, the GUI daemon is listening on port 8080 (you can do a ps aux | grep 25222
and confirm it)... Now, when you try to access via browser, you still see the error, I presume... does the (GUI) process crashes while you attempt access?
from cbtool.
By the way, feel free to talk to us on Gitter
(https://gitter.im/ibmcb-project/community#)... faster/more agile than exchanging emails :-)
from cbtool.
I have been talking with @aadewojo on Gitter
and I believe this particular issue has been solved. Will close it for now (feel free to open it if needed)
from cbtool.
Related Issues (20)
- Problems with attaching the nullworkload application instance to the experiment in GCE
- kmeans_baseline no results HOT 1
- Install: ganglia instructions on centos doesn't work HOT 1
- Install: rrdplot related dependencies install instructions are broken on centos HOT 1
- Orchestrator node installation issues on Centos
- docker_file_parser() throws exception because of invalid workload file name
- PLM should delete cloud-init config disk image when detaching a vm
- PLM: intermittent vmdetach error on Centos 7.2 orchestrator node
- PLM: Ubuntu 22.04 workload vms having duplicate IP addresses HOT 2
- docker file: python-daemon-3K should be replaced by python-daemon module
- cb_post_boot.sh starts log store and object store services locally on vms
- RUN_LIMIT doesn't work well for many workloads
- Two issues with scripts/common/cb_cleanup.sh
- PLM: ycsb vm can't start because there is no template entry for "4-16384" vm configuration
- PLM: unintended error message displayed in CLI console
- key prefix of python-setuptools mismatch in PUBLIC_dependencies.txt and Dockerfile-ubuntu_cb_nullworkload
- Can't install workloads requiring Python 2 (e.g. ycsb) on Ubuntu 22.04 HOT 1
- Workload reports metrics even when it fails to run
- All workload start scripts get benchmark command's return code wrong
- Some workloads' dockerfiles hardcode ubuntu release code name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbtool.