audiomobster's profile - activity

2017-10-19 05:25:43 -0600 received badge  Notable Question (source)
2017-06-26 02:33:37 -0600 received badge  Popular Question (source)
2017-06-23 00:09:59 -0600 received badge  Famous Question (source)
2017-06-22 11:36:01 -0600 asked a question Centos ocata install guide SELinux

SELinux denies httpd access to keystone port 35357. Is this a bug in the openstack-selinux package?

2017-06-22 11:19:41 -0600 answered a question nova-status upgrade check fails

It is a SELinux issue.

ausearch -c httpd

shows

type=AVC msg=audit(1498146726.488:879): avc: denied { name_connect } for pid=6299 comm="httpd" dest=35357 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:keystone_port_t:s0 tclass=tcp_socket permissive=0

This will make it work:

setsebool -P httpd_can_network_connect 1

2017-06-21 10:23:59 -0600 received badge  Scholar (source)
2017-06-21 06:34:29 -0600 asked a question ocata install guide - disabling keystone

https://docs.openstack.org/ocata/install-guide-rdo/keystone-install.html#prerequisites (https://docs.openstack.org/ocata/inst...) mentions in the second note that

Therefore, this guide manually disables the keystone service.

I'm not able to see where this happens and after following that guide

openstack service list

returns a keystone service. Is there something wrong with the guide?

2017-06-20 04:41:10 -0600 received badge  Enthusiast
2017-06-20 00:12:27 -0600 received badge  Notable Question (source)
2017-06-19 10:15:31 -0600 received badge  Popular Question (source)
2017-06-19 01:26:23 -0600 received badge  Editor (source)
2017-06-19 00:59:15 -0600 commented question nova-api did not start

Thanks for your help folks. I left the company which I did this for a short time later, so I can't verify the answer.

2017-06-16 09:16:04 -0600 asked a question nova-status upgrade check fails

Hi, I'm using this guide https://docs.openstack.org/ocata to do an openstack installation. I've got a physical machine which is running kvm which is my nova compute and I've got an instance which is running the control node.

nova-status --debug upgrade check

Results in following error:

    Error:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 456, in main
        ret = fn(*fn_args, **fn_kwargs)
      File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 386, in check
        result = func(self)
      File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 201, in _check_placement
        versions = self._placement_get("/")
      File "/usr/lib/python2.7/site-packages/nova/cmd/status.py", line 189, in _placement_get
        return client.get(path, endpoint_filter=ks_filter).json()
      File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 758, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request
    raise exceptions.from_response(resp, method, url)
InternalServerError: Internal Server Error (HTTP 500)

This seems to be the corresponding log

2017-06-16 15:59:55.802 1153 WARNING keystoneauth.identity.generic.base [-] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
mod_wsgi (pid=1153): Exception occurred processing WSGI script '/usr/bin/nova-placement-api'.
Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
        resp = self.call_func(req, *args, **self.kwargs)
      File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
        return self.func(req, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/oslo_middleware/request_id.py", line 37, in __call__
        response = req.get_response(self.application)
      File "/usr/lib/python2.7/site-packages/webob/request.py", line 1299, in send
        application, catch_exc_info=False)
      File "/usr/lib/python2.7/site-packages/webob/request.py", line 1263, in call_application
        app_iter = application(self.environ, start_response)
      File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
        resp = self.call_func(req, *args, **self.kwargs)
      File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
        return self.func(req, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 332, in __call__
        response = self.process_request(req)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 623, in process_request
        resp = super(AuthProtocol, self).process_request(request)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 405, in process_request
        allow_expired=allow_expired)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 435, in _do_fetch_token
        data = self.fetch_token(token, **kwargs)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 762, in fetch_token
        allow_expired=allow_expired)
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_identity.py", line 217, in verify_token
        auth_ref = self._request_strategy.verify_token(
      File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/_identity.py", line 168, in _request_strategy
        strategy_class = self._get_strategy_class()
      File "/usr/lib ...
(more)
2016-02-15 13:29:45 -0600 received badge  Famous Question (source)
2016-01-13 10:50:15 -0600 received badge  Notable Question (source)
2016-01-13 02:45:06 -0600 answered a question nova-api did not start

Was solved after a git pull and unstack.sh & stack.sh.

Thanks anyway folks!

2016-01-12 13:37:37 -0600 received badge  Popular Question (source)
2016-01-11 07:00:15 -0600 received badge  Supporter (source)
2016-01-08 10:31:42 -0600 asked a question nova-api did not start

I'm getting following error from one day to another: /home/user/devstack/lib/nova:832:die [ERROR] /home/user/devstack/lib/nova:832 nova-api did not start

I'm not allowed to attach files, so from n-api.log:

stack@haystack:/home/user/devstack$ cat /opt/stack/logs/n-api.log tatus/stack/n-api.failure"fg || echo "n-api failed to start" | tee "/opt/stack/s [1] 12044 /usr/local/bin/nova-api 2016-01-07 11:31:21.840 DEBUG oslo_db.api [-] Loading backend 'sqlalchemy' from 'nova.db.sqlalchemy.api' from (pid=12044) _load_backend /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:238 2016-01-07 11:31:21.874 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2016-01-07 11:31:21.874 DEBUG oslo_concurrency.lockutils [-] Acquired semaphore "singleton_lock" from (pid=12044) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:212 2016-01-07 11:31:21.875 DEBUG oslo_concurrency.lockutils [-] Releasing semaphore "singleton_lock" from (pid=12044) lock /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:225 2016-01-07 11:31:21.875 DEBUG nova.wsgi [-] Loading app ec2 from /etc/nova/api-paste.ini from (pid=12044) load_app /opt/stack/nova/nova/wsgi.py:543 2016-01-07 11:31:21.876 ERROR nova.wsgi [-] Couldn't lookup app: ec2 2016-01-07 11:31:21.876 TRACE nova.wsgi Traceback (most recent call last): 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/opt/stack/nova/nova/wsgi.py", line 544, in load_app 2016-01-07 11:31:21.876 TRACE nova.wsgi     return deploy.loadapp("config:%s" % self.config_path, name=name) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2016-01-07 11:31:21.876 TRACE nova.wsgi     return loadobj(APP, uri, name=name,
**kw) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 271, in loadobj 2016-01-07 11:31:21.876 TRACE nova.wsgi     global_conf=global_conf) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext 2016-01-07 11:31:21.876 TRACE nova.wsgi     global_conf=global_conf) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig 2016-01-07 11:31:21.876 TRACE nova.wsgi     return loader.get_context(object_type, name, global_conf) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 408, in get_context 2016-01-07 11:31:21.876 TRACE nova.wsgi     object_type, name=name) 2016-01-07 11:31:21.876 TRACE nova.wsgi   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 587, in find_config_section 2016-01-07 11:31:21.876 TRACE nova.wsgi     self.filename)) 2016-01-07 11:31:21.876 TRACE nova.wsgi LookupError: No section 'ec2' (prefixed by 'app' or 'application' or 'composite' or 'composit' or ...
(more)