Hide Forgot
Description of problem: Unable to install undercloud with redhat 7.2 with director version 8 Version-Release number of selected component (if applicable): rhosp7 How reproducible: Follwing installation guide https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/chap-Installing_the_Undercloud.html Steps to Reproduce: 1. Install Redhat 7.2 2. Subscribe to redhat 3. Yum Update 4. Create user stack 5. Installing via "openstack undercloud install" from user stack Actual results: Failing after running the installation ************************************ Target: post-configure.d Script Seconds --------------------------------------- ---------- 10-iptables 0.674 68-ironic-conductor 9.881 80-seedstack-masquerade 0.151 98-undercloud-setup 15.518 99-refresh-completed 0.416 --------------------- END PROFILING --------------------- [2016-09-20 10:40:58,283] (os-refresh-config) [INFO] Completed phase post-configure os-refresh-config completed successfully Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 829, in install _post_config() File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 798, in _post_config _configure_ssh_keys(nova) File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 759, in _configure_ssh_keys nova.keypairs.get('default') File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 371, in substitution return methods[-1].func(obj, *args, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/v2/keypairs.py", line 68, in get "keypair") File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 170, in _get _resp, body = self.api.client.get(url) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 448, in get return self._cs_request(url, 'GET', **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 404, in _cs_request self.authenticate() File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 561, in authenticate auth_url = self._v2_auth(auth_url) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 652, in _v2_auth return self._authenticate(url, body) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 665, in _authenticate **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 399, in _time_request resp, body = self.request(url, method, **kwargs) File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 393, in request raise exceptions.from_response(resp, body, url, method) novaclient.exceptions.ClientException: Unknown Error (HTTP 503) Command 'instack-install-undercloud' returned non-zero exit status 1 *************************************** Expected results: I think it should be able to complete it successfully Additional info:
Sorry i am following the link below https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/paged/director-installation-and-usage/chapter-4-installing-the-undercloud
Any help is much appreciated by anybody .. Thanks
(In reply to bzubair from comment #3) > Any help is much appreciated by anybody .. > > Thanks This may be a configuration, or a permissions issue. Are you sure stack has passwordless sudo privileges? Can you run this command without typing a password as the user stack? sudo id The output should be similar to: uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 Can you please attach the undercloud.conf that you configured prior to running "openstack undercloud install"? Also helpful would be the contents of these files: /var/log/nova-api.log /var/log/nova-compute.log /var/log/keystone/keystone.log
Please reopen if you can provide the files Dan asked for. Thanks!