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

SSHContainers don't have correct RBAC configuration.

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      1. add user with Administrator role to user.properties
      2. start fuse + fabric:create
      3. create ssh container
      4. create child container on ssh container
    • Sprint:
      Sprint 6 - towards CR1

      Description

      user.properties:

      #The password of the first user in the file will also be used as a registry (zookeeper) password
      #unless a password is explicitly specified.
      #admin=admin,aAdministrator,dmin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser
      fafram=fafram,Administrator
      

      JBossFuse:fafram@root> container-create-ssh --user fuse --password fuse --host jawa50.tpb.lab.eng.brq.redhat.com ssh2
      The following containers have been created successfully:
      	Container: ssh2.
      JBossFuse:fafram@root> container-list
      [id]   [version]  [type]  [connected]  [profiles]              [provision status]
      root*  1.0        karaf   yes          fabric                  success           
                                             fabric-ensemble-0000-1                    
                                             jboss-fuse-full                           
      ssh2   1.0        karaf   yes          default                 success           
      JBossFuse:fafram@root> container-create-child ssh2 child
      The following containers have failed:
      	child: Insufficient roles/credentials for operation
      JBossFuse:fafram@root> container-create-child root child5
      The following containers have been created successfully:
      	Container: child5.
      

      Adding admin role resolves this issue.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sonicaaaa Paolo Antinori
                  Reporter:
                  rjakubco Roman Jakubco
                  Tester:
                  Roman Jakubco
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: