Re: [openstack-dev] [magnum][heat] Bug 1544227

2016-02-11 Thread Thomas Herve
On Thu, Feb 11, 2016 at 5:23 PM, Hongbin Lu  wrote:
> Rabi,
>
> As you observed, I have uploaded two testing patches [1][2] that depends on 
> your fix patch [3] and the reverted patch [4] respectively. An observation is 
> that the test "gate-functional-dsvm-magnum-mesos" failed in [1], but passed 
> in [2]. That implies the reverted patch does resolve an issue (although I am 
> not sure exactly how).
>
> I did notice there are several 404 errors from Neutron, but those errors 
> exist in successful tests as well so I don't think they are the root cause.
>
> [1] https://review.openstack.org/#/c/278578/
> [2] https://review.openstack.org/#/c/278778/
> [3] https://review.openstack.org/#/c/278576/
> [4] https://review.openstack.org/#/c/278575/

Hi,

Interestingly, [2] fails with a different error. At some point, we get
the following error:

Unable to find network with name '3bc0ffd2-6c4a-4e46-9a0e-4fbc91920daf'

It doesn't make much sense, because we retrieve that network seconds
before, but suddenly it fails. In the neutron log, you can find this:

SAWarning: The IN-predicate on "ml2_network_segments.network_id" was
invoked with an empty sequence. This results in a contradiction, which
nonetheless can be expensive to evaluate.  Consider alternative
strategies for improved performance.

It's possible that patch highlights a bug in neutron.

-- 
Thomas

__
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] [magnum][heat] Bug 1544227

2016-02-11 Thread Hongbin Lu
Rabi,

As you observed, I have uploaded two testing patches [1][2] that depends on 
your fix patch [3] and the reverted patch [4] respectively. An observation is 
that the test "gate-functional-dsvm-magnum-mesos" failed in [1], but passed in 
[2]. That implies the reverted patch does resolve an issue (although I am not 
sure exactly how).

I did notice there are several 404 errors from Neutron, but those errors exist 
in successful tests as well so I don't think they are the root cause.

[1] https://review.openstack.org/#/c/278578/
[2] https://review.openstack.org/#/c/278778/
[3] https://review.openstack.org/#/c/278576/
[4] https://review.openstack.org/#/c/278575/

Best regards,
Hongbin

-Original Message-
From: Rabi Mishra [mailto:ramis...@redhat.com] 
Sent: February-11-16 12:46 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [magnum][heat] Bug 1544227

Hi,

We did some analysis of the issue you are facing.

One of the issues from heat side is, we convert None(singleton) resource 
references to 'None'(string) and the translation logic is not ignoring them. 
Though we don't apply translation rules to resource references[1].We don't see 
this issue after this patch[2].

The issue you mentioned below with respect to SD and SDG, does not look like 
something to do with this patch. I also see the similar issues when you tested 
with the reverted patch[3].

I also noticed that there are some 404 from neutron in the engine logs[4] for 
the test patch. 
I did not notice them when I tested locally with the templates you had provided.


Having said that, we can still revert the patch, if that resolves your issue. 

[1] 
https://github.com/openstack/heat/blob/master/heat/engine/translation.py#L234
[2] https://review.openstack.org/#/c/278576/
[3]http://logs.openstack.org/78/278778/1/check/gate-functional-dsvm-magnum-k8s/ea48ba2/console.html#_2016-02-11_03_07_49_039
[4] 
http://logs.openstack.org/78/278578/1/check/gate-functional-dsvm-magnum-swarm/51eeb3b/logs/screen-h-eng.txt


Regards,
Rabi

> Hi Heat team,
> 
> As mentioned in IRC, magnum gate broke with bug 1544227 . Rabi 
> submitted on a fix (https://review.openstack.org/#/c/278576/), but it 
> doesn't seem to be enough to unlock the broken gate. In particular, it 
> seems templates with SoftwareDeploymentGroup resource failed to 
> complete (I have commented on the review above for how to reproduce).
> 
> Right now, I prefer to merge the reverted patch
> (https://review.openstack.org/#/c/278575/) to unlock our gate 
> immediately, unless someone can work on a quick fix. We appreciate the help.
> 
> Best regards,
> Hongbin
> 
> 
> __
>  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-dev] [magnum][heat] Bug 1544227

2016-02-10 Thread Hongbin Lu
Hi Heat team,

As mentioned in IRC, magnum gate broke with bug 1544227 . Rabi submitted on a 
fix (https://review.openstack.org/#/c/278576/), but it doesn't seem to be 
enough to unlock the broken gate. In particular, it seems templates with 
SoftwareDeploymentGroup resource failed to complete (I have commented on the 
review above for how to reproduce).

Right now, I prefer to merge the reverted patch 
(https://review.openstack.org/#/c/278575/) to unlock our gate immediately, 
unless someone can work on a quick fix. We appreciate the help.

Best regards,
Hongbin

__
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] [magnum][heat] Bug 1544227

2016-02-10 Thread Rabi Mishra
Hi,

We did some analysis of the issue you are facing.

One of the issues from heat side is, we convert None(singleton) resource 
references 
to 'None'(string) and the translation logic is not ignoring them. Though we 
don't
apply translation rules to resource references[1].We don't see this issue after
this patch[2].

The issue you mentioned below with respect to SD and SDG, does not look like
something to do with this patch. I also see the similar issues when you tested 
with
the reverted patch[3].

I also noticed that there are some 404 from neutron in the engine logs[4] for 
the test patch. 
I did not notice them when I tested locally with the templates you had provided.


Having said that, we can still revert the patch, if that resolves your issue. 

[1] 
https://github.com/openstack/heat/blob/master/heat/engine/translation.py#L234
[2] https://review.openstack.org/#/c/278576/
[3]http://logs.openstack.org/78/278778/1/check/gate-functional-dsvm-magnum-k8s/ea48ba2/console.html#_2016-02-11_03_07_49_039
[4] 
http://logs.openstack.org/78/278578/1/check/gate-functional-dsvm-magnum-swarm/51eeb3b/logs/screen-h-eng.txt


Regards,
Rabi

> Hi Heat team,
> 
> As mentioned in IRC, magnum gate broke with bug 1544227 . Rabi submitted on a
> fix (https://review.openstack.org/#/c/278576/), but it doesn't seem to be
> enough to unlock the broken gate. In particular, it seems templates with
> SoftwareDeploymentGroup resource failed to complete (I have commented on the
> review above for how to reproduce).
> 
> Right now, I prefer to merge the reverted patch
> (https://review.openstack.org/#/c/278575/) to unlock our gate immediately,
> unless someone can work on a quick fix. We appreciate the help.
> 
> Best regards,
> Hongbin
> 
> 
> __
> 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