Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11440

Install script ends with error when used more than 1 time

    XMLWordPrintable

Details

    • Fuse 7.5 Sprint 54 - Interim

    Description

      (Migrated from https://github.com/syndesisio/syndesis/issues/4133)

      Author: Andrej Vaňo
      Assignees: Zoran Regvart,

      This is a...

      [pre][code]
      [ ] Feature request
      [ ] Regression (a behavior that used to work and stopped working in a new release)
      [X] Bug report [!-- Please search GitHub for a similar issue or PR before submitting --]
      [ ] Documentation issue or request
      [/code][/pre]

      Description

      When using install script more than once, it ends with error because the clusterroles already exists (they are not cleaned when the namespace is deleted).

      But syndesis is deployed successfully

      ``

      ./syndesis install --project myproject -y
      Deleting project myproject
      project "myproject" deleted
      Creating project myproject
      Project still exists. Sleeping 10s ...
      Project still exists. Sleeping 10s ...
      Project still exists. Sleeping 10s ...
      Already on project "myproject" on server "https://192.168.99.100:8443".
      Deploying Syndesis operator
      Waiting for syndesis-operator to be scaled to 1
      Sleeping 10s ...
      NAME                         READY     STATUS    RESTARTS   AGE
      syndesis-operator-1-deploy   0/1       Pending   0          2s
      syndesis-operator-1-deploy   0/1       Pending   0         2s
      syndesis-operator-1-deploy   0/1       ContainerCreating   0         2s
      syndesis-operator-1-hjw82   0/1       Pending   0         1s
      syndesis-operator-1-hjw82   0/1       Pending   0         1s
      syndesis-operator-1-hjw82   0/1       ContainerCreating   0         1s
      syndesis-operator-1-deploy   1/1       Running   0         4s
      syndesis-operator-1-hjw82   1/1       Running   0         3s
      syndesis-operator-1-deploy   0/1       Completed   0         6s
      syndesis-operator-1-deploy   0/1       Terminating   0         6s
      syndesis-operator-1-deploy   0/1       Terminating   0         6s
      ERROR: Cannot create remote resource https://raw.githubusercontent.com/syndesisio/syndesis/master/install/operator/deploy/syndesis-operator.yml
      
      h1. 
      
      serviceaccount "syndesis-operator" created
      role "syndesis-operator" created
      rolebinding "syndesis-operator:install" created
      rolebinding "syndesis-operator:view" created
      rolebinding "syndesis-operator:edit" created
      imagestream "syndesis-operator" created
      deploymentconfig "syndesis-operator" created
      Error from server (AlreadyExists): clusterroles.rbac.authorization.k8s.io "syndesis-operator:myproject" already exists
      Error from server (AlreadyExists): clusterrolebindings.authorization.openshift.io "syndesis-operator:oauth:myproject" already exists
      
      

      ``

      Attachments

        Activity

          People

            zregvart@redhat.com Zoran Regvart
            rhn-support-hbraun Heiko Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: