Chris Sampson created NIFI-7196:
-----------------------------------

             Summary: NiFi Toolkit does not output error when host proxy entity 
not trusted to list-buckets
                 Key: NIFI-7196
                 URL: https://issues.apache.org/jira/browse/NIFI-7196
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.11.1
            Reporter: Chris Sampson


Using the NiFi Toolkit CLI to list-bucket when the secured NiFi instance itself 
has not been configured to proxy user requests (i.e. the host DN is not listed 
as a user with Proxy User permissions) fails silently:
{code:bash}
./cli.sh registry list-buckets -pe "${USER}"
{code}

Conversely, having first found a bucket identifier from within the Registry UI, 
trying a list-flows results in a helpful error message:
{code:bash}
./cli.sh registry list-flows --bucketIdentifier "${BUCKET} -pe "${USER}"
{code}
{quote}
ERROR: Error executing command 'list-flows' : Error getting flows for bucket: 
Untrusted proxy [CN=nifi-registry-0.XXXcluster.local, OU=NIFI] for read 
operation. Contact the system administrator.
{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to