Question regarding "cf services" and "cf service"


Nils Eckert <Nils.Eckert@...>
 

Hi,

There seems to be a difference between how "cf services" and "cf service"
are working in regard of permissions and I would like to understand why.

As organization manager but without a role in a space, the "cf services"
command shows me all service instances that are available within the space.
However, when using "cf service" to show the service instance info for such
a service, I receive an error message telling me that the service instance
was not found.

EXAMPLE

cf services
Getting services in org Multi Region Team / space dev as
nils.eckert(a)de.ibm.com...
OK

name service plan bound apps last operation
logstash-drain user-provided

cf service logstash-drain
FAILED
Service instance logstash-drain not found


Mit freundlichen Grüßen / Kind regards



Nils Eckert


Software Engineer, Bluemix Development
IBM Cloud Platform Services


IBM Deutschland Research & Development GmbH
Schoenaicher Strasse 220
D-71032 Boeblingen


Phone:+49-7031-164297
eMail: nils.eckert(a)de.ibm.com

IBM Deutschland Research & Development GmbH / Vorsitzende des
Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht
Stuttgart, HRB 243294


Nicholas Calugar
 

Hi Nils,

I cannot seem to reproduce this. I am logged in as an org-manager:

$ cf services
Getting services in org ncalugar-a1 / space ncalugar-a1 as
ncalugar+a1-org-manager(a)pivotal.io...
OK

name service plan bound apps last operation
nick-mysql p-mysql 100mb create succeeded
nick-papertrail user-provided

$ cf service nick-mysql

Service instance: nick-mysql
Service: p-mysql
Tags:
Plan: 100mb
Description: MySQL databases on demand
Documentation url:
https://github.com/cloudfoundry/cf-mysql-release/blob/master/README.md
Dashboard:

Last Operation
Status: create succeeded
Message:
Started: 2016-03-31T00:54:03Z
Updated:

$ cf service nick-papertrail

Service instance: nick-papertrail
Service: user-provided


Thanks,

Nick

On Wed, Mar 30, 2016 at 4:41 AM Nils Eckert <Nils.Eckert(a)de.ibm.com> wrote:

Hi,

There seems to be a difference between how "cf services" and "cf service"
are working in regard of permissions and I would like to understand why.

As organization manager but without a role in a space, the "cf services"
command shows me all service instances that are available within the space.
However, when using "cf service" to show the service instance info for
such a service, I receive an error message telling me that the service
instance was not found.

EXAMPLE

cf services
Getting services in org Multi Region Team / space dev as
nils.eckert(a)de.ibm.com...
OK

name service plan bound apps last operation
logstash-drain user-provided

cf service logstash-drain
FAILED
Service instance logstash-drain not found


Mit freundlichen Grüßen / Kind regards

*Nils Eckert*
[image: 09842089.gif]
Software Engineer, Bluemix Development
IBM Cloud Platform Services

*IBM Deutschland Research & Development GmbH*
Schoenaicher Strasse 220
D-71032 Boeblingen

Phone:+49-7031-164297
eMail: *nils.eckert(a)de.ibm.com* <nils.eckert(a)de.ibm.com>

[image: 09558563.gif]
IBM Deutschland Research & Development GmbH / Vorsitzende des
Aufsichtsrats: Martina Koederitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart,
HRB 243294