Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pin redis and rabbitmq needs privileged: true #727

Merged
merged 13 commits into from
Jul 24, 2023

Conversation

guzzijones
Copy link
Contributor

@guzzijones guzzijones commented Jul 23, 2023

rabbitmq is not starting. redis is not starting

@guzzijones guzzijones changed the title Update docker-compose.override.yml try pin redis and rabbitmq Jul 23, 2023
@guzzijones guzzijones changed the title try pin redis and rabbitmq pin redis and rabbitmq Jul 23, 2023
@guzzijones
Copy link
Contributor Author

+ case "$1" in
+ echo Starting Packages Build for bionic ...
Starting Packages Build for bionic ...
+ docker-compose -f docker-compose.circle2.yml -f docker-compose.override.yml up redis
Creating st2-packages_redis_1 ... 
Creating st2-packages_redis_1 ... doneAttaching to st2-packages_redis_1
redis_1             | 1:C 24 Jul 2023 00:18:39.124 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1             | 1:C 24 Jul 2023 00:18:39.124 # Redis version=6.0.20, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1             | 1:C 24 Jul 2023 00:18:39.124 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
redis_1             | 1:M 24 Jul 2023 00:18:39.125 * Running mode=standalone, port=6379.
redis_1             | 1:M 24 Jul 2023 00:18:39.125 # Server initialized
redis_1             | 1:M 24 Jul 2023 00:18:39.125 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1             | 1:M 24 Jul 2023 00:18:39.125 # Fatal: Can't initialize Background Jobs

@guzzijones
Copy link
Contributor Author

+ docker-compose -f docker-compose.circle2.yml -f docker-compose.override.yml up rabbitmq
Creating st2-packages_rabbitmq_1 ... 
Creating st2-packages_rabbitmq_1 ... doneAttaching to st2-packages_rabbitmq_1
rabbitmq_1          | Failed to create thread: Operation not permitted (1)
rabbitmq_1          | Aborted (core dumped)
st2-packages_rabbitmq_1 exited with code 0
+ docker-compose -f docker-compose.circle2.yml 

@guzzijones
Copy link
Contributor Author

+ case "$1" in
+ echo Starting Packages Build for bionic ...
Starting Packages Build for bionic ...
+ free -hm
               total        used        free      shared  buff/cache   available
Mem:            15Gi       395Mi       9.0Gi       0.0Ki       6.0Gi        14Gi
Swap:             0B          0B          0B
+ df -h
Filesystem      Size  Used Avail Use% Mounted on
overlay         146G   13G  133G   9% /
tmpfs            64M     0   64M   0% /dev
tmpfs           7.7G     0  7.7G   0% /sys/fs/cgroup
/dev/root       146G   13G  133G   9% /etc/hosts
shm              48G     0   48G   0% /dev/shm
tmpfs            48G     0   48G   0% /mnt/ramdisk
tmpfs           1.6G  892K  1.6G   1% /run/docker.sock
tmpfs           7.7G     0  7.7G   0% /proc/acpi
tmpfs           7.7G     0  7.7G   0% /proc/scsi
tmpfs           7.7G     0  7.7G   0% /sys/firmware

@guzzijones
Copy link
Contributor Author

looks like there are permission issues going on. plenty of ram and disk

@guzzijones guzzijones changed the title pin redis and rabbitmq pin redis and rabbitmq needs priviledged=true Jul 24, 2023
@guzzijones guzzijones changed the title pin redis and rabbitmq needs priviledged=true pin redis and rabbitmq needs privileged: true Jul 24, 2023
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the build! 👍

@guzzijones guzzijones merged commit beb4759 into StackStorm:master Jul 24, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants