Skip to content

No indication that event collection would fail when validating endpoints #619

Description

@agrare

I added an Openstack provider using Ceilometer for events, the event catcher later failed on 404 for /v2/events

[----] W, [2020-07-13T09:05:01.551693 #456020:2ae6d0279fac]  WARN -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::EventCatcher::Runner#monitor_events) EMS [packstack-master.fyre.ibm.com] as [admin] Failed to monitor events because [Expected(200) <=> Actual(404 Not Found)
excon.error.response
  :body          => "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /v2/events was not found on this server.</p>\n<hr>\n<address>Apache Server at 9.46.89.37 Port 8777</address>\n</body></html>\n"
  :cookies       => [
  ]
  :headers       => {
    "Content-Length" => "269"
    "Content-Type"   => "text/html; charset=iso-8859-1"
    "Date"           => "Mon, 13 Jul 2020 13:05:01 GMT"
    "Server"         => "Apache"
  }
  :host          => "9.46.89.37"
  :local_address => "9.46.68.109"
  :local_port    => 51456
  :path          => "/v2/events"
  :port          => 8777
  :reason_phrase => "Not Found"
  :remote_ip     => "9.46.89.37"
  :status        => 404
  :status_line   => "HTTP/1.1 404 Not Found\r\n"
]

But the credential validation was successful, there was no indication on the UI anywhere that event collection would fail

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions