kontena / wordpress-cluster

Apache License 2.0
6 stars 2 forks source link

Error while deploying wordpress-btsync service #1

Open jetscale opened 8 years ago

jetscale commented 8 years ago

Hello,

I'm trying to deploy the application as it is, but:

1) There's a syntax error in the YAML file while processing: "- wordpress-cluster-wordpress-%s", which gets fixed after removing the quotes.

2) wordpress-btsync deployment throws this exception: {"nodes":"Too few applicable nodes available"}

Any idea of how to fix this? @nevalla

Thanks a lot and keep up the great work!

boliurise commented 8 years ago

I have similar issue, the {"nodes":"Too few applicable nodes available"} pops up in "kontena app deploy" like this: updating wordpress-cluster-galera-seed updating wordpress-cluster-galera-ha updating wordpress-cluster-galera updating wordpress-cluster-wordpress-ha updating wordpress-cluster-wordpress updating wordpress-cluster-wordpress-btsync deploying wordpress/wordpress-cluster-galera-seed deploying ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done

deploying wordpress/wordpress-cluster-galera-ha deploying ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... done

deploying wordpress/wordpress-cluster-galera {"nodes":"Too few applicable nodes available"}

nevalla commented 8 years ago

I have updated kontena.yml. Now we have working version of galera image and volumes_from uses correct syntax. Thanks for reporting these issues!

I have tested this setup with latest version of Kontena (0.10.2) on DigitalOcean and everything worked as expected.

boliurise commented 8 years ago

Hi,

Is this the good state:

kontena app ps
NAME IMAGE INSTANCES STATEFUL STATE PORTS
galera-seed jakolehm/galera-mariadb-10.0-xtrabackup:latest 0 / 1 yes running
galera jakolehm/galera-mariadb-10.0-xtrabackup:latest 0 / 3 yes running
galera-ha kontena/lb:latest 0 / 2 no deploying
wordpress wordpress:4.1 0 / 3 yes running
wordpress-btsync jakolehm/btsync:latest 0 / 3 no deploy_pending
wordpress-ha kontena/lb:latest 0 / 2 no deploy_pending 0.0.0.0:8083->80/tc