[openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-14 Thread Samuel Monderer
Hi,

I'm trying to deploy redhat OSP13 but I get the following error.
(undercloud) [root@staging-director stack]# ./templates/deploy.sh
Started Mistral Workflow
tripleo.validations.v1.check_pre_deployment_validations. Execution ID:
3ba53aa3-56c5-4024-8d62-bafad967f7c2
Waiting for messages on queue 'tripleo' with no timeout.
Removing the current plan files
Uploading new plan files
Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan.
Execution ID: ff359b14-78d7-4b64-8b09-6ec3c4697d71
Plan updated.
Processing templates in the directory
/tmp/tripleoclient-ae4yIf/tripleo-heat-templates
Unable to establish connection to
https://192.168.50.30:13989/v2/action_executions: ('Connection aborted.',
BadStatusLine("''",))
(undercloud) [root@staging-director stack]#

Couldn't find any info in the logs of what causes the error.

Samuel
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-14 Thread Remo Mattei
It is a bad line in one of your yaml file. I would check them. 

Sent from my iPad

> On Jul 14, 2018, at 2:25 PM, Samuel Monderer  
> wrote:
> 
> Hi,
> 
> I'm trying to deploy redhat OSP13 but I get the following error.
> (undercloud) [root@staging-director stack]# ./templates/deploy.sh 
> Started Mistral Workflow 
> tripleo.validations.v1.check_pre_deployment_validations. Execution ID: 
> 3ba53aa3-56c5-4024-8d62-bafad967f7c2
> Waiting for messages on queue 'tripleo' with no timeout.
> Removing the current plan files
> Uploading new plan files
> Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. 
> Execution ID: ff359b14-78d7-4b64-8b09-6ec3c4697d71
> Plan updated.
> Processing templates in the directory 
> /tmp/tripleoclient-ae4yIf/tripleo-heat-templates
> Unable to establish connection to 
> https://192.168.50.30:13989/v2/action_executions: ('Connection aborted.', 
> BadStatusLine("''",))
> (undercloud) [root@staging-director stack]#
> 
> Couldn't find any info in the logs of what causes the error.
> 
> Samuel
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-15 Thread Samuel Monderer
It seems that the problem is in my roles_data.yaml file but I don't see
what is the problem
I've attached the file.

On Sun, Jul 15, 2018 at 12:46 AM Remo Mattei  wrote:

> It is a bad line in one of your yaml file. I would check them.
>
> Sent from my iPad
>
> On Jul 14, 2018, at 2:25 PM, Samuel Monderer 
> wrote:
>
> Hi,
>
> I'm trying to deploy redhat OSP13 but I get the following error.
> (undercloud) [root@staging-director stack]# ./templates/deploy.sh
> Started Mistral Workflow
> tripleo.validations.v1.check_pre_deployment_validations. Execution ID:
> 3ba53aa3-56c5-4024-8d62-bafad967f7c2
> Waiting for messages on queue 'tripleo' with no timeout.
> Removing the current plan files
> Uploading new plan files
> Started Mistral Workflow
> tripleo.plan_management.v1.update_deployment_plan. Execution ID:
> ff359b14-78d7-4b64-8b09-6ec3c4697d71
> Plan updated.
> Processing templates in the directory
> /tmp/tripleoclient-ae4yIf/tripleo-heat-templates
> Unable to establish connection to
> https://192.168.50.30:13989/v2/action_executions: ('Connection aborted.',
> BadStatusLine("''",))
> (undercloud) [root@staging-director stack]#
>
> Couldn't find any info in the logs of what causes the error.
>
> Samuel
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>


roles_data.yaml
Description: application/yaml
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-15 Thread Remo Mattei
Here is the one I use

roles_data.yaml
Description: Binary data
On Jul 15, 2018, at 8:02 AM, Samuel Monderer  wrote:It seems that the problem is in my roles_data.yaml file but I don't see what is the problemI've attached the file.On Sun, Jul 15, 2018 at 12:46 AM Remo Mattei  wrote:It is a bad line in one of your yaml file. I would check them. Sent from my iPadOn Jul 14, 2018, at 2:25 PM, Samuel Monderer  wrote:Hi,I'm trying to deploy redhat OSP13 but I get the following error.(undercloud) [root@staging-director stack]# ./templates/deploy.sh Started Mistral Workflow tripleo.validations.v1.check_pre_deployment_validations. Execution ID: 3ba53aa3-56c5-4024-8d62-bafad967f7c2Waiting for messages on queue 'tripleo' with no timeout.Removing the current plan filesUploading new plan filesStarted Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. Execution ID: ff359b14-78d7-4b64-8b09-6ec3c4697d71Plan updated.Processing templates in the directory /tmp/tripleoclient-ae4yIf/tripleo-heat-templatesUnable to establish connection to https://192.168.50.30:13989/v2/action_executions: ('Connection aborted.', BadStatusLine("''",))(undercloud) [root@staging-director stack]#Couldn't find any info in the logs of what causes the error.Samuel__OpenStack Development Mailing List (not for usage questions)Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__OpenStack Development Mailing List (not for usage questions)Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__OpenStack Development Mailing List (not for usage questions)Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-15 Thread Remo Mattei
I still think there is something wrong with some of your yaml, the roles_data 
is elaborating based on what your yaml files are. Can you share your deployment 
script did you make any of the yaml files yourself? 

Remo 

> On Jul 15, 2018, at 8:57 AM, Remo Mattei  wrote:
> 
> Here is the one I use
> 
> 
> 
> 
>> On Jul 15, 2018, at 8:02 AM, Samuel Monderer > > wrote:
>> 
>> It seems that the problem is in my roles_data.yaml file but I don't see what 
>> is the problem
>> I've attached the file.
>> 
>> On Sun, Jul 15, 2018 at 12:46 AM Remo Mattei > > wrote:
>> It is a bad line in one of your yaml file. I would check them. 
>> 
>> Sent from my iPad
>> 
>> On Jul 14, 2018, at 2:25 PM, Samuel Monderer > > wrote:
>> 
>>> Hi,
>>> 
>>> I'm trying to deploy redhat OSP13 but I get the following error.
>>> (undercloud) [root@staging-director stack]# ./templates/deploy.sh 
>>> Started Mistral Workflow 
>>> tripleo.validations.v1.check_pre_deployment_validations. Execution ID: 
>>> 3ba53aa3-56c5-4024-8d62-bafad967f7c2
>>> Waiting for messages on queue 'tripleo' with no timeout.
>>> Removing the current plan files
>>> Uploading new plan files
>>> Started Mistral Workflow tripleo.plan_management.v1.update_deployment_plan. 
>>> Execution ID: ff359b14-78d7-4b64-8b09-6ec3c4697d71
>>> Plan updated.
>>> Processing templates in the directory 
>>> /tmp/tripleoclient-ae4yIf/tripleo-heat-templates
>>> Unable to establish connection to 
>>> https://192.168.50.30:13989/v2/action_executions 
>>> : ('Connection aborted.', 
>>> BadStatusLine("''",))
>>> (undercloud) [root@staging-director stack]#
>>> 
>>> Couldn't find any info in the logs of what causes the error.
>>> 
>>> Samuel
>> 
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: openstack-dev-requ...@lists.openstack.org 
>>> ?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
>>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe 
>> 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org 
>> ?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
>> 
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org 
> ?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev 
> 

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-15 Thread Samuel Monderer
Hi Remo,

Attached are templates I used for the deployment. They are based on a
deployment we did with OSP11.
I made the changes for it to work with OSP13.

I do think it's the roles_data.yaml file that is causing the error because
if remove the " -r $TEMPLATES_DIR/roles_data.yaml" from the deployment
script the deployment passes the point it was failing before but fails much
later because of the missing definition of the role.

Samuel

On Sun, Jul 15, 2018 at 8:35 PM Remo Mattei  wrote:

> I still think there is something wrong with some of your yaml, the
> roles_data is elaborating based on what your yaml files are. Can you share
> your deployment script did you make any of the yaml files yourself?
>
> Remo
>
> On Jul 15, 2018, at 8:57 AM, Remo Mattei  wrote:
>
> Here is the one I use
>
> 
>
>
>
> On Jul 15, 2018, at 8:02 AM, Samuel Monderer 
> wrote:
>
> It seems that the problem is in my roles_data.yaml file but I don't see
> what is the problem
> I've attached the file.
>
> On Sun, Jul 15, 2018 at 12:46 AM Remo Mattei  wrote:
>
>> It is a bad line in one of your yaml file. I would check them.
>>
>> Sent from my iPad
>>
>> On Jul 14, 2018, at 2:25 PM, Samuel Monderer <
>> smonde...@vasonanetworks.com> wrote:
>>
>> Hi,
>>
>> I'm trying to deploy redhat OSP13 but I get the following error.
>> (undercloud) [root@staging-director stack]# ./templates/deploy.sh
>> Started Mistral Workflow
>> tripleo.validations.v1.check_pre_deployment_validations. Execution ID:
>> 3ba53aa3-56c5-4024-8d62-bafad967f7c2
>> Waiting for messages on queue 'tripleo' with no timeout.
>> Removing the current plan files
>> Uploading new plan files
>> Started Mistral Workflow
>> tripleo.plan_management.v1.update_deployment_plan. Execution ID:
>> ff359b14-78d7-4b64-8b09-6ec3c4697d71
>> Plan updated.
>> Processing templates in the directory
>> /tmp/tripleoclient-ae4yIf/tripleo-heat-templates
>> Unable to establish connection to
>> https://192.168.50.30:13989/v2/action_executions: ('Connection
>> aborted.', BadStatusLine("''",))
>> (undercloud) [root@staging-director stack]#
>>
>> Couldn't find any info in the logs of what causes the error.
>>
>> Samuel
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org
>> ?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-16 Thread Steven Hardy
On Sun, Jul 15, 2018 at 7:50 PM, Samuel Monderer
 wrote:
>
> Hi Remo,
>
> Attached are templates I used for the deployment. They are based on a 
> deployment we did with OSP11.
> I made the changes for it to work with OSP13.
>
> I do think it's the roles_data.yaml file that is causing the error because if 
> remove the " -r $TEMPLATES_DIR/roles_data.yaml" from the deployment script 
> the deployment passes the point it was failing before but fails much later 
> because of the missing definition of the role.

I can't see a problem with the roles_data.yaml you provided, it seems
to render ok using tripleo-heat-templates/tools/process-templates.py -
are you sure the error isn't related to uploading the roles_data file
to the swift container?

I'd check basic CLI access to swift as a sanity check, e.g something like:

openstack container list

and writing the roles data e.g:

openstack object create overcloud roles_data.yaml

If that works OK then it may be an haproxy timeout - you are
specifying quite a lot of roles, so I wonder if something is timing
out during the plan creation phase - we had some similar issues in CI
ref https://bugs.launchpad.net/tripleo-quickstart/+bug/1638908 where
increasing the haproxy timeouts helped.

Steve

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Mistral workflow cannot establish connection

2018-07-25 Thread Samuel Monderer
Hi Steve,

You were right, when I removed most of the roles it worked.

I've encountered another problem. It seems that the network-isolation.yaml
I used with OSP11 is pointing to files that do not exist anymore such as

*  # Port assignments for the Controller role*
*  OS::TripleO::Controller::Ports::ExternalPort:
/usr/share/openstack-tripleo-heat-templates/network/ports/external.yaml*
*  OS::TripleO::Controller::Ports::InternalApiPort:
/usr/share/openstack-tripleo-heat-templates/network/ports/internal_api.yaml*
*  OS::TripleO::Controller::Ports::StoragePort:
/usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml*
*  OS::TripleO::Controller::Ports::StorageMgmtPort:
/usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml*
*  OS::TripleO::Controller::Ports::TenantPort:
/usr/share/openstack-tripleo-heat-templates/network/ports/tenant.yaml*
*  OS::TripleO::Controller::Ports::ManagementPort:
/usr/share/openstack-tripleo-heat-templates/network/ports/management_from_pool.yaml*

Have they moved to a different location or are they created during the
overcloud deployment??

Thanks
Samuel

On Mon, Jul 16, 2018 at 3:06 PM Steven Hardy  wrote:

> On Sun, Jul 15, 2018 at 7:50 PM, Samuel Monderer
>  wrote:
> >
> > Hi Remo,
> >
> > Attached are templates I used for the deployment. They are based on a
> deployment we did with OSP11.
> > I made the changes for it to work with OSP13.
> >
> > I do think it's the roles_data.yaml file that is causing the error
> because if remove the " -r $TEMPLATES_DIR/roles_data.yaml" from the
> deployment script the deployment passes the point it was failing before but
> fails much later because of the missing definition of the role.
>
> I can't see a problem with the roles_data.yaml you provided, it seems
> to render ok using tripleo-heat-templates/tools/process-templates.py -
> are you sure the error isn't related to uploading the roles_data file
> to the swift container?
>
> I'd check basic CLI access to swift as a sanity check, e.g something like:
>
> openstack container list
>
> and writing the roles data e.g:
>
> openstack object create overcloud roles_data.yaml
>
> If that works OK then it may be an haproxy timeout - you are
> specifying quite a lot of roles, so I wonder if something is timing
> out during the plan creation phase - we had some similar issues in CI
> ref https://bugs.launchpad.net/tripleo-quickstart/+bug/1638908 where
> increasing the haproxy timeouts helped.
>
> Steve
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev