Search code examples
monitoringhawkular

Required. Should have privileged access, such as root or administrator in manageiq


I try to monitor Hawkular with manageiq on Centos 7. These are my monitoring implementation process which are run on root privilege.

First cassandra nosql db is executed.

# systemctl start cassandra

And next I execute the hawkular server like below as root

# unzip hawkular-services-dist-0.23.0.Final.zip
# ./add-user.sh -a -u username -p password -g read-write,read-only
# ./standalone.sh -Dhawkular.rest.user=username -Dhawkular.rest.password=password -Dhawkular.agent.enabled=true

And then, I run Docker and related manageiq docker-image.

# systemctl start docker
# docker pull manageiq/manageiq:euwe-1
# docker run --privileged -d -p 8443:443 manageiq/manageiq:euwe-1

I run manageiq on Firefox with the following address and it works successfully with user admin and password smartvm.

https://localhost:8443

And I try to add Hawkular middleware on manageiq web UI with the menu "Add New Middleware Provider" However error message is shown,

"Required. Should have privileged access, such as root or administrator."

I cannot understand this error message. Hawkular server and manageiq are run on root privilege. How can I add Hawkular service into manageiq monitoring service?


Solution

  • I solved it. My OS is windows 10 pro, but my hyper-v service was deactivated. I activated hyper-v and it worked well. Thanks any way