Can't get timeline event from AMQP (Wrong vhost endpoint)

fine

#1

[FYI]
I using

  • OpenStack Ocata version
  • ceilometer event api is deprecated
  • manageIQ latest-fine docker image

When configured cloud provider was OpenStack and using Keystone v3 with Event from AMQP (Rabbitmq of OpenStack)

Error log for nova event:

[----] W, [2017-09-15T12:21:08.919757 #212:28d5dcb13c]  WARN -- : MIQ(ManageIQ::Providers::StorageManager::CinderManager::EventCatcher#stat$
s_update) No such process [Event Monitor for Providers: HK Openstack Provider Cinder Manager] with PID=[21611], aborting worker.
[----] E, [2017-09-15T12:21:21.035302 #21442:28d6685a70] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::EventCatcher::Runner#$
tart_event_monitor) EMS [hk.opsta.io] as [admin] Event Monitor Thread aborted because [ACCESS_REFUSED - access to exchange 'nova' in vhost $
/' refused for user 'monitoring']
[----] E, [2017-09-15T12:21:21.035559 #21442:28d6685a70] ERROR -- : [Bunny::AccessRefused]: ACCESS_REFUSED - access to exchange 'nova' in vh
ost '/' refused for user 'monitoring'  Method:[rescue in block in start_event_monitor]
[----] E, [2017-09-15T12:21:21.035730 #21442:28d6685a70] ERROR -- : /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/ch
annel.rb:1946:in `raise_if_continuation_resulted_in_a_channel_error!'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/channel.rb:1179:in `exchange_declare'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/exchange.rb:245:in `declare!'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/exchange.rb:83:in `initialize'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/channel.rb:344:in `new'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/channel.rb:344:in `topic'
/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/bundler/gems/manageiq-gems-pending-8482d3e70738/lib/gems/pending/openstack/events/openstack_rabbi
t_event_monitor.rb:111:in `block in initialize_queues'

Error log for neutron event:

[----] E, [2017-09-15T12:21:21.171997 #21453:28d6553d28] ERROR -- : MIQ(ManageIQ::Providers::Openstack::NetworkManager::EventCatcher::Runner
#start_event_monitor) EMS [hk.opsta.io] as [admin] Event Monitor Thread aborted because [ACCESS_REFUSED - access to exchange 'neutron' in v$
ost '/' refused for user 'monitoring']
[----] E, [2017-09-15T12:21:21.172203 #21453:28d6553d28] ERROR -- : [Bunny::AccessRefused]: ACCESS_REFUSED - access to exchange 'neutron' i$
 vhost '/' refused for user 'monitoring'  Method:[rescue in block in start_event_monitor]
[----] E, [2017-09-15T12:21:21.172372 #21453:28d6553d28] ERROR -- : /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/bunny-2.1.0/lib/bunny/ch
annel.rb:1946:in `raise_if_continuation_resulted_in_a_channel_error!'

Monitoring user permission on rabbitmq

/neutron        .*      .*      .*
/nova   .*      .*      .*
/       ^$ ^$ ^$
/heat   .*      .*      .*

From logging
I think manageIQ collect wrong vhost of rabbitmq
because vhost endpoint of nova is /nova ( not ‘/’ ) and
vhost of neutron is /neutron ( not ‘/’ )

Example of rabbitmq connection
messaging_urls = rabbit://nova:<password_of_nova>@192.168.66.99:5672//nova
messaging_urls = rabbit://neutron:<password_of_neutron>@192.168.66.99:5672//neutron

Can I change vhost which manageIQ collected or another way for this problem?

Update #2
I try to change permission at / to .* .* .*
and wait for result

Update #3
Timeline still can’t use

==> log/evm.log <==
[----] W, [2017-09-15T13:33:55.161334 #212:28d5dcb13c]  WARN -- : MIQ(ManageIQ::Providers::StorageManager::CinderManager::EventCatcher#status_update) No such process [Event Monitor for Providers: HK Openstack Provider Cinder Manager] with PID=[25006], aborting worker.
NOTICE:  identifier "MIQ 25040 StorageManager::CinderManager::EventCatcher[4773], ..." will be truncated to "MIQ 25040 StorageManager::CinderManager::EventCatcher[4773], .."
/var/www/miq/vmdb/app/models/manageiq/providers/base_manager/event_catcher/runner.rb:122:in `monitor_events': must be implemented in subclass (NotImplementedError)
        from /var/www/miq/vmdb/app/models/manageiq/providers/base_manager/event_catcher/runner.rb:164:in `block in start_event_monitor'