Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed OpsCenter on an AWS instance that uses RHEL. After starting the OpsCenter, I am trying to access the GUI from a windows machine (http:// my.ip:port). This brings up the interface fine and asks me to create a cluster. After going through the steps, the node installation part fails with a 'Permission denied'.

The stdout from the RHEL terminal shows this:

2014-07-18 13:54:00-0400 [] DEBUG: performing ssh: ['/usr/bin/ssh', '-l', u'edwardc-dev', '-p', '22', '-o', 'LogLevel=Error', u'xx.xx.xx.xx', 'echo', '-n', '.$(which apt-get 2> /dev/null)  .$(which yum 2> /dev/null)']
2014-07-18 13:54:02-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Registering node IP for status updates
2014-07-18 13:54:02-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:02-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:02-0400 [] DEBUG: Seeing if ip/hostname xx.xx.xx.xx is an ipv4 address
2014-07-18 13:54:02-0400 [] DEBUG: xx.xx.xx.xx is an ipv4 address
2014-07-18 13:54:02-0400 [] DEBUG: Performing HTTP request (GET): http:// xx.xx.xx.xx:61621/alive?, body: None
2014-07-18 13:54:02-0400 []  WARN: HTTP request http:// xx.xx.xx.xx:61621/alive? failed: Connection was refused by other side: 111: Connection refused.
2014-07-18 13:54:02-0400 []  INFO: Beginning install of OpsCenter agent to xx.xx.xx.xx
2014-07-18 13:54:02-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Beginning install of OpsCenter agent to xx.xx.xx.xx
2014-07-18 13:54:02-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:02-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:02-0400 [] DEBUG: Detecting what kind of distro the target node is
2014-07-18 13:54:02-0400 [] DEBUG: performing ssh: ['/usr/bin/ssh', '-l', u'edwardc-dev', '-p', '22', '-o', 'LogLevel=Error', u'xx.xx.xx.xx', 'echo', '-n', '.$(which apt-get 2> /dev/null)  .$(which yum 2> /dev/null)']
2014-07-18 13:54:03-0400 []  INFO: Installing rpm package on xx.xx.xx.xx
2014-07-18 13:54:03-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Transferring agent files to the destination node
2014-07-18 13:54:03-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:03-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:03-0400 [] DEBUG: Prepping ssh connections
2014-07-18 13:54:03-0400 [] DEBUG: performing ssh: ['/usr/bin/ssh', '-l', u'edwardc-dev', '-p', '22', '-o', 'LogLevel=Error', u'xx.xx.xx.xx', '/bin/mktemp', '-d', 'opscenter_agent_setup.XXXXXXXXXX']
2014-07-18 13:54:04-0400 [] DEBUG: performing scp: ['/usr/bin/scp', '-q', '-P', '22', './agent/bin/install_agent.sh', u'edwardc-dev@xx.xx.xx.xx:opscenter_agent_setup.DjSHImOVVF/install_agent.sh']
2014-07-18 13:54:05-0400 [] DEBUG: performing scp: ['/usr/bin/scp', '-q', '-P', '22', './agent/bin/find-java', u'edwardc-dev@ xx.xx.xx.xx:opscenter_agent_setup.DjSHImOVVF/find-java']
2014-07-18 13:54:07-0400 [] DEBUG: performing scp: ['/usr/bin/scp', '-q', '-P', '22', '././bin/sudo_with_pass.py', u'edwardc-dev@ xx.xx.xx.xx:opscenter_agent_setup.DjSHImOVVF/sudowrap']
2014-07-18 13:54:08-0400 [] DEBUG: performing scp: ['/usr/bin/scp', '-q', '-P', '22', './agent/datastax-agent.rpm', u'edwardc-dev@xx.xx.xx.xx:opscenter_agent_setup.DjSHImOVVF/datastax-agent.rpm']
2014-07-18 13:54:10-0400 [] DEBUG: performing scp: ['/usr/bin/scp', '-q', '-P', '22', '/var/tmp/tmpnhTlJ7', u'edwardc-dev@ xx.xx.xx.xx:opscenter_agent_setup.DjSHImOVVF/pfile']
2014-07-18 13:54:11-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Running agent installation script
2014-07-18 13:54:11-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:11-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:11-0400 [] DEBUG: performing ssh: ['/usr/bin/ssh', '-l', u'edwardc-dev', '-p', '22', '-o', 'LogLevel=Error', u'xx.xx.xx.xx', 'opscenter_agent_setup.DjSHImOVVF/install_agent.sh', '', 'opscenter_agent_setup.DjSHImOVVF/datastax-agent.rpm', 'xx.xx.xx.xx']
2014-07-18 13:54:12-0400 [] DEBUG: Average opscenterd CPU usage: 0.91%, memory usage: 42 MB
2014-07-18 13:54:37-0400 [] DEBUG: Sending agent config to xx.xx.xx.xx on stomp channel /748143893/conf
2014-07-18 13:54:37-0400 [] DEBUG: Not returning SASL credentials for xx.xx.xx.xx
2014-07-18 13:54:37-0400 [] DEBUG: Sending agent config to xx.xx.xx.xx on stomp channel /748143893/conf
2014-07-18 13:54:37-0400 [] DEBUG: Not returning SASL credentials for xx.xx.xx.xx
2014-07-18 13:54:39-0400 [] DEBUG: Sending agent config to xx.xx.xx.xx on stomp channel /748143893/conf
2014-07-18 13:54:39-0400 [] DEBUG: Not returning SASL credentials for xx.xx.xx.xx
2014-07-18 13:54:42-0400 [] DEBUG: performing ssh: ['/usr/bin/ssh', '-l', u'edwardc-dev', '-p', '22', '-o', 'LogLevel=Error', u'xx.xx.xx.xx', '/bin/rm', '-rf', 'opscenter_agent_setup.DjSHImOVVF']
2014-07-18 13:54:42-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Waiting for the agent to start
2014-07-18 13:54:42-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:42-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:42-0400 [] DEBUG: Performing HTTP request (GET): http://xx.xx.xx.xx:61621/alive?, body: None
2014-07-18 13:54:43-0400 [] DEBUG: Made contact with the new agent
2014-07-18 13:54:43-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Starting installation procedure
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Performing HTTP request (POST): http://xx.xx.xx.xx:61621/ops/install?req-id=c6f9d408-d890-4271-af9f-d7590193e2b1, body: {u'username': u'edwardc-dev', 'repo-opts': None, u'password': '*****', 'package-manager': 'yum', 'package-map': {u'cassandra20': u'2.0.8', u'dsc20': u'2.0.8'}}
2014-07-18 13:54:43-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request c6f9d408-d890-4271-af9f-d7590193e2b1 was updated: Adding DataStax repositories
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Sending agent config to xx.xx.xx.xx on stomp channel /748143893/conf
2014-07-18 13:54:43-0400 [] DEBUG: Not returning SASL credentials for xx.xx.xx.xx
2014-07-18 13:54:43-0400 [] DEBUG: Marking request c6f9d408-d890-4271-af9f-d7590193e2b1 as failed: Permission denied
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) was updated
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:43-0400 []  INFO: Successfully installed agent and dsc on node xx.xx.xx.xx
2014-07-18 13:54:43-0400 [] DEBUG: Subrequests complete for 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf)
2014-07-18 13:54:43-0400 [] DEBUG: Marking request 'install stage' (8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf) as failed: Permission denied
2014-07-18 13:54:43-0400 [] DEBUG: Status of request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) was updated
2014-07-18 13:54:43-0400 [] ERROR: Installation stage failed: Permission denied
2014-07-18 13:54:43-0400 [] DEBUG: Subrequest failed (key=install request=RequestCollection[8bc5a30f-3ebe-40df-89a4-6c42a7fac4cf](error, Permission denied)): Installation stage failed: Permission denied
2014-07-18 13:54:43-0400 [] DEBUG: Marking request 'provision' (cbbe6ab8-9114-46a5-b8af-7318b559a8c7) as failed: Installation stage failed: Permission denied
2014-07-18 13:54:43-0400 [] ERROR:
2014-07-18 13:54:43-0400 [] ERROR: Cluster provisioning failed: Exception: Installation stage failed: Permission denied
2014-07-18 13:54:43-0400 [] DEBUG: Seeing if ip/hostname xx.xx.xx.xx is an ipv4 address
2014-07-18 13:54:43-0400 [] DEBUG: xx.xx.xx.xx is an ipv4 address
2014-07-18 13:54:43-0400 [] ERROR: Failed to provision cluster: Cluster provisioning failed: Exception: Installation stage failed: Permission denied
2014-07-18 13:54:43-0400 []  INFO: Unhandled error in Deferred:
2014-07-18 13:54:43-0400 [] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.error.UserError: User aborted connectioxx.xx.xx.xxn: Shutdown requested.

(I've replaced my IP address with xx.xx.xx.xx). Any idea what I need to do?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.