btai's profile - activity

2018-05-16 13:52:39 -0600 received badge  Famous Question (source)
2017-10-13 07:32:25 -0600 received badge  Student (source)
2017-03-17 00:16:04 -0600 received badge  Famous Question (source)
2017-03-13 00:00:28 -0600 received badge  Notable Question (source)
2017-01-18 03:06:02 -0600 received badge  Popular Question (source)
2017-01-16 09:26:28 -0600 asked a question Why is nova-api not listeing on 8774,even though the process is running

Hi I have deployed the overcloud using tripleo , so far the stack has been created but while validating the installation , i found out that nova-api is not listening in 8774 in the controller, is there any logs or details to dig into to find out what is happening ?

the nova-api process is running fine and meta data part is listening on 8775 Here are the details

systemctl restart openstack-nova-api

The log after the restart

 cat /var/log/nova/nova-api.log
2017-01-16 15:12:57.105 737100 INFO nova.wsgi [-] Stopping WSGI server.
2017-01-16 15:12:57.106 737042 INFO oslo_service.service [-] Caught SIGTERM, stopping children
2017-01-16 15:12:57.106 737100 INFO nova.metadata.wsgi.server [req-abbafe00-31a0-40fc-8e08-70b2e39d0c8d - - - - -] (737100) wsgi exited, is_accepting=True
2017-01-16 15:12:57.107 737042 INFO nova.wsgi [-] Stopping WSGI server.
2017-01-16 15:12:57.107 737042 INFO oslo_service.service [-] Waiting on 4 children to exit
2017-01-16 15:12:57.108 737101 INFO nova.wsgi [-] Stopping WSGI server.
2017-01-16 15:12:57.109 737101 INFO nova.metadata.wsgi.server [req-c1af612f-05c5-4eaf-a63c-cc0f716763cb - - - - -] (737101) wsgi exited, is_accepting=True
2017-01-16 15:12:57.110 737101 INFO nova.wsgi [-] WSGI server has stopped.
2017-01-16 15:12:57.113 737102 INFO nova.wsgi [-] Stopping WSGI server.
2017-01-16 15:12:57.114 737102 INFO nova.metadata.wsgi.server [req-1c6d395b-e75b-47cd-9424-effbc54a3a31 - - - - -] (737102) wsgi exited, is_accepting=True
2017-01-16 15:12:57.114 737042 INFO oslo_service.service [-] Child 737100 killed by signal 15
2017-01-16 15:12:57.115 737102 INFO nova.wsgi [-] WSGI server has stopped.
2017-01-16 15:12:57.115 737103 INFO nova.wsgi [-] Stopping WSGI server.
2017-01-16 15:12:57.115 737103 INFO nova.metadata.wsgi.server [req-2c077d0d-de7c-440d-a050-7070ca5eb552 - - - - -] (737103) wsgi exited, is_accepting=True
2017-01-16 15:12:57.116 737103 INFO nova.wsgi [-] WSGI server has stopped.
2017-01-16 15:12:57.122 737042 INFO oslo_service.service [-] Child 737101 exited with status 0
2017-01-16 15:12:57.129 737042 INFO oslo_service.service [-] Child 737102 exited with status 0
2017-01-16 15:12:57.134 737042 INFO oslo_service.service [-] Child 737103 exited with status 0
2017-01-16 15:13:02.454 740449 WARNING oslo_reports.guru_meditation_report [-] Guru meditation 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.
2017-01-16 15:13:02.456 740449 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2017-01-16 15:13:02.850 740449 INFO nova.wsgi [-] metadata listening on 172.17.0.10:8775
2017-01-16 15:13:02.851 740449 INFO oslo_service.service [-] Starting 4 workers
2017-01-16 15:13:02.926 740449 WARNING oslo_config.cfg [-] Option "rabbit_hosts" from group "oslo_messaging_rabbit" is deprecated for removal.  Its value may be silently ignored in the future.
2017-01-16 15:13:02.927 740449 WARNING oslo_config.cfg [-] Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for removal.  Its value may be silently ignored in the future.
2017-01-16 15:13:02.928 740449 WARNING oslo_config.cfg [-] Option "rabbit_userid" from group "oslo_messaging_rabbit" is deprecated for removal.  Its value may be silently ignored in the future.
2017-01-16 ...
(more)
2017-01-11 22:39:13 -0600 received badge  Notable Question (source)
2017-01-11 06:35:36 -0600 received badge  Editor (source)
2017-01-11 06:13:18 -0600 received badge  Popular Question (source)
2017-01-10 07:25:59 -0600 received badge  Organizer (source)
2017-01-10 01:43:30 -0600 asked a question Cannot find out the cause why Overcloud deployment fails.

UPDATE: I have tried to anwer my own question but for some reason, i get redirected to not error page that lead me to faq page which is not heplful at all.

The reason to this was the install halted and waited for timeout to happen as one of the task of heat was never completed , recently a hiera hook was introduced which take care if generated json heat-config via key called group heat, as

  "creation_time": "2017-01-10T18:52:12Z",
    "group": "hiera",
    "id": "3a4b948e-3371-454d-a7be-4f0ff3f28776",
    "inputs": [

I have used overcloud image from

http://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/newton/delorean/
and it lacks the hiera hook

Fixed by putting the script from

https://raw.githubusercontent.com/openstack/heat-templates/master/hot/software-config/elements/heat-config-hiera/install.d/hook-hiera.py

on /usr/libexec/heat-config/hooks/hiera and then the installation moves on

Tried to deploy the over cloud ( 1 controller and 1 compute) via below command

openstack overcloud deploy --ntp-server pool.ntp.org --templates ~/the-cloud/ -e ~/the-cloud/environments/network-isolation.yaml -e ~/the-cloud/environments/net-single-nic-with-vlans.yaml -e ~/the-cloud/environments/network-environment.yaml --timeout 60

The deployment fails by bailing out like this

2017-01-09 14:42:42Z [overcloud.Controller.0.UpdateDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment 6c7af51e-febf-421a-bd55-e7e585ac1256 succeeded
2017-01-09 14:42:43Z [overcloud.Controller.0.UpdateDeployment]: CREATE_COMPLETE  state changed
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeUpgradeInitDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment 7e85d9ff-1c94-46ba-8df7-6e8ca1d0346d succeeded
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeUpgradeInitDeployment]: CREATE_COMPLETE  state changed
2017-01-09 14:42:44Z [overcloud.Compute.0.NovaComputeDeployment]: CREATE_IN_PROGRESS  state changed
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerUpgradeInitDeployment]: SIGNAL_IN_PROGRESS  Signal: deployment f3b01778-c9ea-4e5b-97e4-057ecdc06f93 succeeded
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerUpgradeInitDeployment]: CREATE_COMPLETE  state changed
2017-01-09 14:42:55Z [overcloud.Controller.0.ControllerDeployment]: CREATE_IN_PROGRESS  state changed


2017-01-09 15:18:33Z [overcloud.Compute]: CREATE_FAILED  CREATE aborted
2017-01-09 15:18:34Z [overcloud.Controller]: CREATE_FAILED  CREATE aborted
2017-01-09 15:18:34Z [overcloud]: CREATE_FAILED  Create timed out
2017-01-09 15:18:34Z [overcloud.Compute.0]: CREATE_FAILED  CREATE aborted
2017-01-09 15:18:35Z [overcloud.Compute]: CREATE_FAILED  Resource CREATE failed: Operation cancelled
2017-01-09 15:18:35Z [overcloud.Controller.0]: CREATE_FAILED  CREATE aborted
2017-01-09 15:18:35Z [overcloud.Controller]: CREATE_FAILED  Resource CREATE failed: Operation cancelled

I have tried to dig around to find the cause for the failure following this http://hardysteven.blogspot.no/2015/04/debugging-tripleo-heat-templates.html

After moving through the nested stack to deploy both compute and control I see this

openstack stack resource show 2e80800f-b7a0-417d-a53e-e19751ca785d ControllerDeployment
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                               |
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attributes             | {u'deploy_stdout': None, u'deploy_stderr': None, u'deploy_status_code': None}                                                                                                                                                                       |
| creation_time          | 2017-01-09T14:20:01Z                                                                                                                                                                                                                                |
| description            |                                                                                                                                                                                                                                                     |
| links                  | [{u'href': u'http://192.168.24.1:8004/v1/0907fde9d36c4d3d9b70a3c751d7a4a6/stacks/overcloud-Controller-bmh6jsp7gszg-0-a6hmr7sya442/2e80800f-b7a0-417d-a53e-e19751ca785d/resources/ControllerDeployment', u'rel': u'self'}, {u'href':                 |
|                        | u'http://192.168.24.1:8004/v1/0907fde9d36c4d3d9b70a3c751d7a4a6/stacks/overcloud-Controller-bmh6jsp7gszg-0-a6hmr7sya442/2e80800f-b7a0-417d-a53e-e19751ca785d', u'rel': u'stack'}]                                                                    |
| logical_resource_id    | ControllerDeployment                                                                                                                                                                                                                                |
| parent_resource        | 0                                                                                                                                                                                                                                                   |
| physical_resource_id   | fc4a1b61-5613-4796-b5fc-d6278a1230e3                                                                                                                                                                                                                |
| required_by            | [u'ControllerExtraConfigPre']                                                                                                                                                                                                                       |
| resource_name          | ControllerDeployment                                                                                                                                                                                                                                |
| resource_status        | CREATE_FAILED                                                                                                                                                                                                                                       |
| resource_status_reason | CREATE aborted                                                                                                                                                                                                                                      |
| resource_type          | OS::TripleO::SoftwareDeployment                                                                                                                                                                                                                     |
| updated_time           | 2017-01-09T14:20:01Z                                                                                                                                                                                                                                |
+------------------------+--------------------------------------------------------------------------------------------------------------------------------

heat deployment-show fc4a1b61-5613-4796-b5fc-d6278a1230e3
WARNING (shell) "heat deployment-show" is deprecated, please use "openstack software deployment show" instead
{
  "status": "IN_PROGRESS",
  "server_id": "22236c23-cdb8-4809-a133-03a88c4278e7",
  "config_id": "272b1129-c9ec-4d83-8b17-5e7897438b4a",
  "output_values ...
(more)