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

Getting Started deployment is broken (missing redis when using the guestbook) #126

Open
fungiboletus opened this issue Mar 10, 2022 · 6 comments

Comments

@fungiboletus
Copy link

Hi,

I'm following the "Getting Started" ArgoCD documentation. I successfully deployed the guestbook, but you may want to know that the deployment is broken. Redis is missing.

I get the following PHP exception when I post a message:

<br />
<b>Fatal error</b>:  Uncaught exception 'Predis\Connection\ConnectionException' with message 'php_network_getaddresses: getaddrinfo failed: Name or service not known [tcp://redis:6379]' in /usr/local/lib/php/Predis/Connection/AbstractConnection.php:155
Stack trace:
#0 /usr/local/lib/php/Predis/Connection/StreamConnection.php(128): Predis\Connection\AbstractConnection-&gt;onConnectionError('php_network_get...', 0)
#1 /usr/local/lib/php/Predis/Connection/StreamConnection.php(178): Predis\Connection\StreamConnection-&gt;createStreamSocket(Object(Predis\Connection\Parameters), 'tcp://redis:637...', 4)
#2 /usr/local/lib/php/Predis/Connection/StreamConnection.php(100): Predis\Connection\StreamConnection-&gt;tcpStreamInitializer(Object(Predis\Connection\Parameters))
#3 /usr/local/lib/php/Predis/Connection/AbstractConnection.php(81): Predis\Connection\StreamConnection-&gt;createResource()
#4 /usr/local/lib/php/Predis/Connection/StreamConnection.php(258): Predis\Connection\AbstractConnection-&gt;connect()
#5 /usr/local/lib/php/Predis/Connection/Abstract in <b>/usr/local/lib/php/Predis/Connection/AbstractConnection.php</b> on line <b>155</b><br />

It's not critical to understand ArgoCD, but I think it would look better if the first deployment you do using ArgoCD works 🙂

@fungiboletus fungiboletus changed the title Guestbook example Getting Started deployment is broken (missing redis when using the guestbook) Mar 10, 2022
@danielhelfand
Copy link

Thanks for opening this @fungiboletus!

Agreed that the sample app should be connected to redis and work as expected. We could use the kubernetes/example manifest shown here. Unfortunately, the app is broken as I discovered/mentioned in this issue.

We could maybe think about hosting our own frontend image to help resolve this and get the example fixed sooner if there isn't a new image made available soon.

@jamesdesmond
Copy link

I also ran into this issue, is there another example here that would work?

@danielhelfand
Copy link

@jamesdesmond If you are looking for a working guestbook app synced by Argo CD, you could use the following repo/commands:

argocd app create guestbook --repo https://github.com/danielhelfand/examples --path guestbook/all-in-one --directory-include guestbook-all-in-one.yaml --dest-name in-cluster --dest-namespace default

argo app sync guestbook

It's my own personal repository with my own guestbook image on dockerhub. In this repository, the app deployed is just the UI at the moment.

@gpltaylor
Copy link

Really! This makes me worry about using this product within a commercial production environment. The Demo is broken and doesn't run?? If this CD tool is so good, how can it not also deploy the Redis Service to allow the demo to run..

This is scary that this is over a year old and oneone has reviewed this?

@argoproj argoproj deleted a comment from Kim21tome Jun 12, 2024
@argoproj argoproj deleted a comment from MarkEdan Jun 12, 2024
@argoproj argoproj deleted a comment from momagarage0 Jun 12, 2024
@argoproj argoproj deleted a comment from Julie538 Jun 12, 2024
@argoproj argoproj deleted a comment from Julie538 Jun 12, 2024
@argoproj argoproj deleted a comment from Timothy1478 Jun 12, 2024
@argoproj argoproj deleted a comment from Timothy1478 Jun 12, 2024
@argoproj argoproj deleted a comment from Liambenny Jun 12, 2024
@argoproj argoproj deleted a comment from courtneyalexis67 Jun 12, 2024
@argoproj argoproj deleted a comment from sharonantonio123 Jun 12, 2024
@argoproj argoproj deleted a comment from robinjanie Jun 12, 2024
@argoproj argoproj deleted a comment from wagnerjennifer30 Jun 12, 2024
@argoproj argoproj deleted a comment from carolineparker315 Jun 12, 2024
@argoproj argoproj deleted a comment from Johnkeck564 Jun 12, 2024
@argoproj argoproj deleted a comment from adamjoan65 Jun 12, 2024
@argoproj argoproj deleted a comment Jun 12, 2024
@argoproj argoproj deleted a comment from mariuscorey123 Jun 12, 2024
@argoproj argoproj deleted a comment from holdmark2 Jun 12, 2024
@argoproj argoproj deleted a comment Jun 12, 2024
@argoproj argoproj deleted a comment Jun 12, 2024
@argoproj argoproj deleted a comment from mariuscorey123 Jun 12, 2024
@argoproj argoproj deleted a comment from glennjesse Jun 12, 2024
@argoproj argoproj deleted a comment from ImaniWilliams6547839 Jun 12, 2024
@argoproj argoproj deleted a comment Jun 12, 2024
@argoproj argoproj deleted a comment from janiebobrosky123 Jun 12, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 12, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 12, 2024
@crenshaw-dev
Copy link
Member

For some reason this post became a honeypot for spam. Apologies for all the delete messages.

@argoproj argoproj deleted a comment from sanchezgarcia121 Jun 18, 2024
@argoproj argoproj deleted a comment Jun 18, 2024
@argoproj argoproj deleted a comment from adamlaura Jun 18, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 18, 2024
@argoproj argoproj deleted a comment from elizabethklo Jun 24, 2024
@argoproj argoproj deleted a comment from holdmark2 Jun 24, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 24, 2024
@argoproj argoproj deleted a comment from adamlaura Jun 24, 2024
@argoproj argoproj deleted a comment from holdmark2 Jun 24, 2024
@argoproj argoproj deleted a comment from adamlaura Jun 24, 2024
@argoproj argoproj deleted a comment from darcyed Jun 24, 2024
@argoproj argoproj deleted a comment from mirandajim Jun 24, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 24, 2024
@argoproj argoproj deleted a comment from Macarthysylvia Jun 24, 2024
@crenshaw-dev
Copy link
Member

This thread became just spam bots, so locking for now. Feel free to open another issue with the same description.

@argoproj argoproj locked as spam and limited conversation to collaborators Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

11 participants
@fungiboletus @crenshaw-dev @gpltaylor @jamesdesmond @danielhelfand and others