Coder Social home page Coder Social logo

Comments (7)

gianluca-ava avatar gianluca-ava commented on May 24, 2024 2

@bbernays: definitively the issue was related to the policy. Inspect is not enough to read user meta-data. read is need.

from cloudquery.

gianluca-ava avatar gianluca-ava commented on May 24, 2024 1

Hi @erezrokah , I know how tags works in OCI, thanks anyway for the info. It's strange because I can see in CloudQuery defined_tags for other type of resources (vcns for example) but not for compute instances...I should definitively check with the IAM team how privs are set on the CloudQuery technical account. Just to know, which version of the plugin are you running on your test env? the last one?

from cloudquery.

gianluca-ava avatar gianluca-ava commented on May 24, 2024 1

Hi, I talk with the IAM team. The cloudquery technical user has the following: policy statement:

  • Allow group xxxxx/grp-drcc-ch-app-cloudquery to inspect all-resources in tenancy
    I asked to add the one related to tag-namespaces but nothing changed.
  • Allow group xxxxx/grp-drcc-ch-app-cloudquery to inspect tag-namespaces in tenancy

if I run the command you listed with my personal account I can see the defined_tags. Now I have to run it with the technical account but right now I'm not able to use it interactively. I will be back.
Thanks

from cloudquery.

erezrokah avatar erezrokah commented on May 24, 2024

Hi @gianluca-ava, I created a compute instance on our testing account and was able to see defined_tags tags on it after a sync:
Screenshot 2024-04-30 at 16 57 05

Can you confirm those are indeed applied to the resource? Looks like they require specific permissions https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm
image

from cloudquery.

erezrokah avatar erezrokah commented on May 24, 2024

Thanks for the additional context, I was trying to verify I'm reproducing the issue correctly.
I'm using the latest version v5.0.1 (https://hub.cloudquery.io/plugins/source/cloudquery/oracle/v5.0.1/versions) and latest CLI v5.18.0.

If there's additional information you can think of that would allow us to reproduce this locally please let us know. We'll do some more research on the tags, maybe there are some exceptions for compute instances.

from cloudquery.

erezrokah avatar erezrokah commented on May 24, 2024

We'll also try to update the Oracle Go SDK, we're using 65.28.3, seems like we're do for an upgrade https://github.com/oracle/oci-go-sdk/blob/master/CHANGELOG.md

from cloudquery.

bbernays avatar bbernays commented on May 24, 2024

Hi @gianluca-ava - We have released v6.0.0 of the Oracle Plugin where we upgraded the SDK to the latest version (v65.28.3). Have you been able to talk with your IAM team to see if this is a permissions limitation?

If you are still experiencing the issue, Can you try running this command to list the Instances to see if the tags appear as expected. This will help us to narrow down the source of the issue:

 oci compute instance list --compartment-id <REPLACE_WITH_YOUR_Compartment-id>

from cloudquery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.