Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1365679

Summary: Regression - unable to deploy without controller
Product: Red Hat OpenStack Reporter: Mike Burns <mburns>
Component: openstack-tripleo-heat-templatesAssignee: Angus Thomas <athomas>
Status: CLOSED ERRATA QA Contact: Ola Pavlenko <opavlenk>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: achernet, athomas, cylopez, dbecker, ealcaniz, hjensas, jcoufal, lhh, mburns, morazi, ohochman, pablo.iranzo, rhel-osp-director-maint, roxenham, sasha, sclewis, shardy, vcojot
Target Milestone: gaKeywords: OtherQA, Regression, Reopened
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-2.0.0-31.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1345980 Environment:
Last Closed: 2016-08-24 13:31:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1345980    
Bug Blocks: 1347518    

Comment 5 Alexander Chuzhoy 2016-08-17 15:04:03 UTC
Environment:
openstack-tripleo-heat-templates-2.0.0-31.el7ost.noarch

deployment command:
openstack overcloud deploy --templates  --control-scale 0 --compute-scale 3 --debug --log-file=overcloud_deploy.log


The deployment didn't complete successfully:
Posted by Anonymous on Wed 17th Aug 16:39
download | new post
[stack@instack ~]$ heat resource-list -n5 overcloud|grep -v COMPLE                                      
WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead  
+-----------------------------------------------+-----------------------------------------------+---------------------------------------------------------------------------------+--------------------+---------------------+-----------------------------------------------------------------------------------------------+                                                                                                            
| resource_name                                 | physical_resource_id                          | resource_type                                                                   | resource_status    | updated_time        | stack_name                                                                                    |                                                                                                            
+-----------------------------------------------+-----------------------------------------------+---------------------------------------------------------------------------------+--------------------+---------------------+-----------------------------------------------------------------------------------------------+                                                                                                            
| ComputeNodesPostDeployment                    | 0b0077f9-c0c4-4d7a-9041-6153c7c60d0d          | OS::TripleO::ComputePostDeployment                                              | CREATE_FAILED      | 2016-08-17T10:46:08 | overcloud                                                                                     |                                                                                                            
| ComputePuppetDeployment                       | 83edff36-4725-4847-84d3-89821f03c025          | OS::Heat::StructuredDeployments                                                 | CREATE_FAILED      | 2016-08-17T10:51:14 | overcloud-ComputeNodesPostDeployment-2qzc3oyq7iac                                             |                                                                                                            
| 0                                             | 8a6961f3-d20d-4ffa-a965-1cbd8a4e068c          | OS::Heat::StructuredDeployment                                                  | CREATE_IN_PROGRESS | 2016-08-17T10:51:42 | overcloud-ComputeNodesPostDeployment-2qzc3oyq7iac-ComputePuppetDeployment-5uil62xjpple        |                                                                                                            
+-----------------------------------------------+-----------------------------------------------+---------------------------------------------------------------------------------+--------------------+---------------------+-----------------------------------------------------------------------------------------------+                                                                                                            
[stack@instack ~]$ heat resource-show overcloud ComputeNodesPostDeployment                                                                                                                                          
WARNING (shell) "heat resource-show" is deprecated, please use "openstack stack resource show" instead                                                                                                              
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+                        
| Property               | Value                                                                                                                                                            |                        
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+                        
| attributes             | {}                                                                                                                                                               |                        
| creation_time          | 2016-08-17T10:46:08                                                                                                                                              |                        
| description            |                                                                                                                                                                  |                        
| links                  | http://192.0.2.1:8004/v1/9c354c4c459e4ee1a9cc62e0c7b87a1b/stacks/overcloud/91a98d7a-ffdd-4ea6-bf5b-13e838b427f7/resources/ComputeNodesPostDeployment (self)      |                        
|                        | http://192.0.2.1:8004/v1/9c354c4c459e4ee1a9cc62e0c7b87a1b/stacks/overcloud/91a98d7a-ffdd-4ea6-bf5b-13e838b427f7 (stack)                                          |                        
|                        | http://192.0.2.1:8004/v1/9c354c4c459e4ee1a9cc62e0c7b87a1b/stacks/overcloud-ComputeNodesPostDeployment-2qzc3oyq7iac/0b0077f9-c0c4-4d7a-9041-6153c7c60d0d (nested) |                        
| logical_resource_id    | ComputeNodesPostDeployment                                                                                                                                       |                        
| physical_resource_id   | 0b0077f9-c0c4-4d7a-9041-6153c7c60d0d                                                                                                                             |                        
| required_by            |                                                                                                                                                                  |                        
| resource_name          | ComputeNodesPostDeployment                                                                                                                                       |                        
| resource_status        | CREATE_FAILED                                                                                                                                                    |                        
| resource_status_reason | CREATE aborted                                                                                                                                                   |                        
| resource_type          | OS::TripleO::ComputePostDeployment                                                                                                                               |                        
| updated_time           | 2016-08-17T10:46:08                                                                                                                                              |                        
+------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+


Checking the compute node I see:
/var/log/neutron/openvswitch-agent.log:2016-08-17 14:39:49.120 19703 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED.

There's no rabbitmq running on 127.0.0.1


Any suggestions?

Comment 7 Mike Burns 2016-08-19 18:54:08 UTC
I *think* that this is probably OK.  We got well into the deployment process which means that the initial validation of controllers >= 1 isn't there anymore.

This works for people because they already have a control plane installed and the templates configured to send data to the existing control plane.

Comment 12 errata-xmlrpc 2016-08-24 13:31:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1766.html