Skip to content

400 Error when trying to poll API for systems #34

@mdvickst

Description

@mdvickst

Customer is running the sat6Inventory against a satellite 6.1.7 server and keeps hitting 404 errors. Have tried with supplying orgid and with supplying no org info. Always fails in first step in gathering hosts/systems.

[sat6Inventory-master]# ./sat6Inventory.py -s satellite.corp.com -l admin --orgid=1 -d
admin's password:
[DEBUG] LOGIN -> admin
[DEBUG] SATELLITE -> satellite.corp.com
[DEBUG] ORG ID -> 1
[DEBUG] ORG NAME -> None
================================================================================
[VERBOSE] Connecting to -> https://satellite.corp.com/api/status
================================================================================
[VERBOSE] API Version -> 1
Fetching systems for org 'ORG' (id: 1)
================================================================================
[VERBOSE] Connecting to -> https://satellite.corp.com/katello/api/v2/organizations/1/systems?page=1&per_page=100
Error: cannot connect to the API: HTTP Error 400: Bad Request
Check your URL & try to login using the same user/pass via the WebUI and check the error!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions