{"action":"opened","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11252","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11252/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11252/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/11252/events","html_url":"https://github.com/ManageIQ/manageiq/issues/11252","id":176901316,"number":11252,"title":"Error on Middleware > Utilization when changing interval from Hourly to Daily","user":{"login":"lucasponce","id":1662329,"avatar_url":"https://avatars.githubusercontent.com/u/1662329?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasponce","html_url":"https://github.com/lucasponce","followers_url":"https://api.github.com/users/lucasponce/followers","following_url":"https://api.github.com/users/lucasponce/following{/other_user}","gists_url":"https://api.github.com/users/lucasponce/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasponce/subscriptions","organizations_url":"https://api.github.com/users/lucasponce/orgs","repos_url":"https://api.github.com/users/lucasponce/repos","events_url":"https://api.github.com/users/lucasponce/events{/privacy}","received_events_url":"https://api.github.com/users/lucasponce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T13:02:26Z","updated_at":"2016-09-14T13:02:26Z","closed_at":null,"body":"There is an error when changing interval from Hourly to Daily for a Middleware Server / Datasource in the case that provider has not data for the interval queried.\r\nThis is a regression as expected behaviour is to show a message of no data and draw an empty report.\r\n\r\nIn the evm.log:\r\n[----] E, [2016-09-14T14:53:40.538296 #27828:8d598c] ERROR -- : MIQ(LiveMetric.fetch_live_metrics) An error occurred while connecting to #<MiddlewareServer:0x00000009adf5f8>: Range end must be strictly greater than start\r\n[----] E, [2016-09-14T14:53:40.538628 #27828:8d598c] ERROR -- : MIQ(MiqQueue#deliver) Message id: [3335], Error: [undefined method `length' for true:TrueClass]\r\n[----] E, [2016-09-14T14:53:40.538776 #27828:8d598c] ERROR -- : [NoMethodError]: undefined method `length' for true:TrueClass  Method:[rescue in deliver]\r\n[----] E, [2016-09-14T14:53:40.538835 #27828:8d598c] ERROR -- : /home/lponce/git/manageiq/lib/rbac/filterer.rb:217:in `search'\r\n/home/lponce/git/manageiq/lib/rbac/filterer.rb:93:in `search'\r\n/home/lponce/git/manageiq/lib/rbac.rb:3:in `search'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator.rb:277:in `_generate_table'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator.rb:176:in `block in generate_table'\r\n/home/lponce/git/manageiq/app/models/user.rb:241:in `with_user'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator.rb:176:in `generate_table'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator/async.rb:34:in `block in _async_generate_tables'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator/async.rb:33:in `each'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator/async.rb:33:in `each_with_index'\r\n/home/lponce/git/manageiq/app/models/miq_report/generator/async.rb:33:in `_async_generate_tables'\r\n/home/lponce/git/manageiq/app/models/miq_queue.rb:347:in `block in deliver'\r\n/home/lponce/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:88:in `block in timeout'\r\n/home/lponce/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:32:in `block in catch'\r\n/home/lponce/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:32:in `catch'\r\n/home/lponce/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:32:in `catch'\r\n/home/lponce/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/timeout.rb:103:in `timeout'\r\n/home/lponce/git/manageiq/app/models/miq_queue.rb:343:in `deliver'\r\n/home/lponce/git/manageiq/app/models/miq_queue_worker_base/runner.rb:106:in `deliver_queue_message'\r\n/home/lponce/git/manageiq/app/models/miq_queue_worker_base/runner.rb:134:in `deliver_message'\r\n/home/lponce/git/manageiq/app/models/miq_queue_worker_base/runner.rb:152:in `block in do_work'\r\n/home/lponce/git/manageiq/app/models/miq_queue_worker_base/runner.rb:146:in `loop'\r\n/home/lponce/git/manageiq/app/models/miq_queue_worker_base/runner.rb:146:in `do_work'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:334:in `block in do_work_loop'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:331:in `loop'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:331:in `do_work_loop'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:153:in `run'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:128:in `start'\r\n/home/lponce/git/manageiq/app/models/miq_worker/runner.rb:21:in `start_worker'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:343:in `block in start'\r\n/home/lponce/.rvm/gems/ruby-2.2.3/gems/nakayoshi_fork-0.0.3/lib/nakayoshi_fork.rb:24:in `fork'\r\n/home/lponce/.rvm/gems/ruby-2.2.3/gems/nakayoshi_fork-0.0.3/lib/nakayoshi_fork.rb:24:in `fork'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:341:in `start'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:270:in `start_worker'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:150:in `block in sync_workers'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:150:in `times'\r\n/home/lponce/git/manageiq/app/models/miq_worker.rb:150:in `sync_workers'\r\n/home/lponce/git/manageiq/app/models/miq_server/worker_management/monitor.rb:52:in `block in sync_workers'\r\n/home/lponce/git/manageiq/app/models/miq_server/worker_management/monitor.rb:50:in `each'\r\n/home/lponce/git/manageiq/app/models/miq_server/worker_management/monitor.rb:50:in `sync_workers'\r\n/home/lponce/git/manageiq/app/models/miq_server.rb:161:in `start'\r\n/home/lponce/git/manageiq/app/models/miq_server.rb:253:in `start'\r\n/home/lponce/git/manageiq/lib/workers/evm_server.rb:65:in `start'\r\n/home/lponce/git/manageiq/lib/workers/evm_server.rb:92:in `start'\r\n/home/lponce/git/manageiq/lib/workers/bin/evm_server.rb:4:in `<main>'\r\n"}}
{"actor":{"display_login":"lucasponce"}}