argocd-example-apps icon indicating copy to clipboard operation
argocd-example-apps copied to clipboard

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

Open fungiboletus opened this issue 2 years ago • 6 comments

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 avatar Mar 10 '22 13:03 fungiboletus

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.

danielhelfand avatar Mar 24 '22 18:03 danielhelfand

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

jamesdesmond avatar Mar 28 '22 16:03 jamesdesmond

@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.

danielhelfand avatar Mar 28 '22 17:03 danielhelfand

I am Kim from Tilburg, I so happy how Dr Samuel cure my HIV virus, since 4 years ago I was effected with HIV VIRUS, and I have taken all manner of drugs prescribed to me by several specialist here in the Netherlands, but all my effort was wasted, I cried all day and night thinking on how I can be cured of this illness, I lost hope while i was looking for solution for my health, but one faithful day, I was searching the internet I came across several testimonies about Dr Samuel, and how he has cure so many effected individual ,so I try and contact his email:( [email protected]), and asked him for solution about my HIV virus and he started the preparation to my cure and send it over to my location, to my greatest surprise after two weeks, I was totally cure by his powerful herbal medicine, I never believe that I could be cured from this disease until I met Dr. Samuel I’m very grateful to you Sir Samuel and I know your herbal medicine will save more millions of lives that is why I am addressing this to the public. Dr Samuel is also able to restore broken relations and getting favoured etc. If you also wish to contact him here is his email( call +31644895729, Dr Samuel can as well cure the list below:

  1. HIV/AIDS
  2. HERPES 1/2
  3. CANCER
  4. ALS (Lou Gehrig disease)
  5. Hepatitis B 6.chronic pancreas 7.Emphysema 8.COPD (Chronic Obstructive Pulmonary Disease) 9.asthma 10.Acute angle-closure Glaucoma 11.Diabates 12.CHRONIC PANCREATITIS 13.SARS VIRUS

Kim21tome avatar Jan 07 '23 14:01 Kim21tome

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?

gpltaylor avatar Sep 07 '23 16:09 gpltaylor

Thank you Dr Hamu for your help in my life, I can't believe that I am no longer diagnosed with HEPATITIS B. After suffering from it for more than 9years.  Your herbal medication is truly a miracle, If you're reading this message now whenever you're in the world, do not waste time but contact this traditional healer for your medication. I found out that he has other herbal solutions to several diseases or STD's. WhatApp him on: +2348131316143  OR Email: [email protected]

MarkEdan avatar Feb 05 '24 13:02 MarkEdan