Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • List uuid with curl based on a fact.

    Posted on

    Hi,

    so what I`m trying to do is get the uuid of all hosts that have a particular hostname.

    curl  -u user:pass -k "https://subscription.rhn.redhat.com/subscription/consumers?owner=3614426&fact=uname.nodename:testhost"
    

    but I get {"displayMessage":"Insufficient permissions","requestUuid":"c2bffd6f-f4be-4bde-ad20-8e9bb5759a1e"}

    Does anybody know what exactly I`m doing wrong. I have been reading this http://www.candlepinproject.org/docs/candlepin/consumer_fact_lookup.html .

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat