redhat-developer / gitops-operator

An operator that gets you an ArgoCD for cluster configuration out-of-the-box on OpenShift along with the UI for visualizing environments.
Apache License 2.0
148 stars 276 forks source link

ArgoCD image missing tar #99

Open cnocula-i opened 3 years ago

cnocula-i commented 3 years ago

Describe the bug Applications with Helm charts defined in a chart repository fail to be deployed.

To Reproduce Steps to reproduce the behavior:

  1. Create an application with a hosted Helm chart, e.g.:
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
    name: my-application
    spec:
    project: my-project
    repoURL: 'https://my-helmchart.repository.org/helm/'
    targetRevision: 0.1.0
    chart: my-chart
    destination:
    server: 'https://kubernetes.default.svc'
    namespace: my-namespace
    syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
  2. Attempt to synchronize the application
  3. See error
    rpc error: code = Unknown desc = exec: "tar": executable file not found in $PATH

Expected behavior Chart is downloaded as a "tgz" file and processed correctly.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

iam-veeramalla commented 3 years ago

Hi @cnocula-i , Can you please share which image of operator are you using ?

wtam2018 commented 3 years ago

This issue will be addressed in v1.1.0.

cnocula-i commented 3 years ago

I was using the Red Hat OpenShift GitOps v1.0.0 operator from Marketplace on OpenShift 4.6.17_1533.

iam-veeramalla commented 3 years ago

I was using the Red Hat OpenShift GitOps v1.0.0 operator from Marketplace on OpenShift 4.6.17_1533.

This issue will be addressed in v1.1.0.

cnocula-i commented 3 years ago

Is there some kind of roadmap available to see, when the next releases are coming up?

iam-veeramalla commented 3 years ago

@cnocula-i As mentioned by @wtam2018 this should be part of 1.1.0 which is planned to release next week.

aelbarkani commented 3 years ago

we migrated from community operator to RH's operator and we would like to avoid rolling back. any chance for this bug to be fixed this week @iam-veeramalla ?

iam-veeramalla commented 3 years ago

we migrated from community operator to RH's operator and we would like to avoid rolling back. any chance for this bug to be fixed this week @iam-veeramalla ?

@aelbarkani release is planned for today . This issue should be fixed

wtam2018 commented 3 years ago

v1.1 has been released which fixed this issue.

aelbarkani commented 3 years ago

@wtam2018 where can I find the new version ? it doesn't seem to be released in Operator Hub in Openshift (we have paying distribution, not OKD). Also, there seems to be no commit to this github repo nor a tag for the new release...

wtam2018 commented 3 years ago

Currently, it is only available to OCP 4.7+.

On Fri, Apr 16, 2021 at 9:23 AM Anas EL BARKANI @.***> wrote:

@wtam2018 https://github.com/wtam2018 where can I find the new version ? it doesn't seem to be released in Operator Hub in Openshift (we have paying distribution, not OKD). Also, there seems to be no commit to this github repo nor a tag for the new release...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/redhat-developer/gitops-operator/issues/99#issuecomment-821172770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKQAJII5JONMDXADSU4TPDDTJA25BANCNFSM4Z7NGTTA .

wtam2018 commented 3 years ago

@aelbarkani you must be on OCP 4.6. We will backport the fix to 4.6.

aelbarkani commented 3 years ago

@wtam2018 yes we are using 4.6

aelbarkani commented 3 years ago

@wtam2018 any updates on the backport ?

sbose78 commented 3 years ago

Hi @aelbarkani , we haven't decided on a backport to 4.6, yet. Supporting a GA product on a newer version of OpenShift is a significant commitment and we'd like to make a well-thought out decision on that.

May I ask, which features/scenarios you are looking for, from the newer release of GA ?

wtam2018 commented 3 years ago

@aelbarkani Sorry. My bad. As @sbose78 said, we haven't decided to backport to 4.6 as it was a Tech Preview release on 4.6.

aelbarkani commented 3 years ago

@sbose78 well we just need the argocd image to be fixed, so no new features needed, just a bug fix. Also, we cannot upgrade to Openshift 4.7 since all upgrades from OpenShift 4.6 seems to be disabled (Redhat support confirmed that, and there is a bugzilla opened). So unfortunately I think we are blocked at this moment: no possibility to rollback to community version, Redhat version broken, and upgrades to OpenShift 4.7 broken. So adding the tar to the image for OCP 4.6 would be of great help for us :)

sbose78 commented 3 years ago

Redhat support confirmed that, and there is a bugzilla opened

Would you have the support case / bugzilla number handy? :)

wtam2018 commented 3 years ago

FWIW, the operator can create a new Argo CD instance with a specific argocd image. See the image field iin the "Create Argo CD" UI. create-argocd

aelbarkani commented 3 years ago

@sbose78 : case 02913271 @wtam2018 : ok thanks, will test that workaround