Comments (10)
@Al-tekreeti Is the arch amd64? Did the postgres container start in a healthy condition? I have this on my ubuntu 18 node, (NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)").
$docker ps |grep postgres
f1596ba35327 postgres:9 "docker-entrypoint.sā¦" 50 minutes ago Up 50 minutes (healthy) 5432/tcp
from devops.
@linggao Yes, all containers are healthy except Agbot. Sometimes vault container goes unhealthy, but if I restart the system using the flags -S and -s, it becomes healthy. The problem is only in Agbot container that keeps in a restarting state (does not reach unhealthy state even). It is ubuntu 20.04 not 18.04 as I mentioned earlier, sorry about that. Please see the following commands outputs:
$ uname -m
x86_64
$docker ps |grep postgres
3f462df198da postgres:latest "docker-entrypoint.sā¦" 4 days ago Up 9 minutes (healthy) 5432/tcp postgres
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
from devops.
@Al-tekreeti Can you show me how you start the all-in-one management hub? Your env variables for it?
from devops.
I forked the repo then I started it using the following command:
$ sudo ./deploy-mgmt-hub.sh
I don't pass any environment variables to it, but when the command finish execution it prints out the following tokens:
EXCHANGE_ROOT_PW=TEVUNLQzuQ3KNjYDfwveyEmjpnDZjU
EXCHANGE_HUB_ADMIN_PW=1W5VhfVxqja8e3hGYJyB8vepbWIsNO
EXCHANGE_SYSTEM_ADMIN_PW=qmbM5b6XAPI1cpHbLUBFMTPSVFv7lS
AGBOT_TOKEN=SMDCzgY8b8Irl7xdl5t6aAgYdcHp6F
EXCHANGE_USER_ADMIN_PW=Pe2UlU2RSinxeiDOp4fmEiXiAWNIB7
HZN_DEVICE_TOKEN=Z8Z3BbnDjlrUTYwZcEKGqSrRVJngkQ
VAULT_UNSEAL_KEY=BcbKa05euWxuWdkocZGvS2yijhvTumt236EFK1bloEE=
VAULT_ROOT_TOKEN=s.7zoHVzZNCIN0iCRzN9M1f0rg
from devops.
@Al-tekreeti I think it is the version of the postgres image (postgres:latest) that caused the problem. Please try to start the management hub with the following command for now.
export POSTGRES_IMAGE_TAG=9
sudo -sE ./deploy-mgmt-hub.sh
(where -E is used to preserve the env variable of the parent)
from devops.
@linggao Did not fix the issue and it still pulling postgres with "latest" tag.
from devops.
@Al-tekreeti That means the POSTGRES_IMAGE_TAG env variable is not taken. Please make sure you clean all the leftover containers before restart. (docker ps -a)
And please make sure to use the flag -sE
for sudo command. Or you can use the following command:
sudo POSTGRES_IMAGE_TAG=9 ./deploy-mgmt-hub.sh
Anyway, find a way in your env to make the script take the POSTGRES_IMAGE_TAG env variable.
It seems that the latest release of postgres image broke the code.
from devops.
@linggao It did fix the issue. All containers now are healthy. Thanks a lot!
from devops.
@Al-tekreeti Good to hear. Btw, I tested POSTGRES_IMAGE_TAG=13, it works too. It is the version 14 which was released on 09/30/2021 that broke the code. We will stay with 13 for now. I will make a change in the deploy-mgmt-hub.sh to use 13 as default. Thanks for reporting this issue.
from devops.
You welcome! closing the issue.
from devops.
Related Issues (20)
- Encounter Error in ./deploy-mgmt-hub.sh Error: exit code 5 HOT 4
- Create installation instructions for Agent on Windows Subsystem for Linux HOT 1
- Log files are consuming too much disk space. HOT 6
- Version pinning external images such as Mongo and Postgres
- Documentation: Issue 394 in docs - broken links
- Add FDO Support
- Problem with Stopping and Restarting containers. HOT 1
- Add an Ansible playbook to deploy the management hub all-in-one. HOT 2
- Any steps for installing it on kube cluster
- Documentation: Add frontmatter to WSL docs HOT 2
- Update FDO Components To Version 1.1.6
- Update FDO Components To Version 1.1.7
- Automation: Create GHA to generate CHANGELOG entries aligned with a release
- All-in-one installation failed HOT 2
- All-in-One Management Hub Installation HOT 1
- The deploy script is only pulling x86 even for Macs M1 HOT 2
- `test-mgmt-hub.sh` fails after fresh install through all-in-one script HOT 1
- Development: OpenBao support
- horizon.service is missing when running deploy-mgmt-hub.sh on Ubuntu 20.04 HOT 1
- Cannot start mgmt hub due to failing css-api container HOT 2
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 devops.