[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-04-16 Thread Seyeong Kim
Hello,

for xenial

I followed below step to verify this.

1. deploy openstack xenial
2. source novarc
3. create instance ( https://pastebin.ubuntu.com/p/gZ3XXy9j4F/ )
- check this instance's host
4. login to host
5. adding dummy ports via ( https://paste.ubuntu.com/p/X35H85XWPh/ )
6. reboot and check if order is ok ( not ok here )
7. upgrade pkg
8. reboot and check if order is ok ( ok here )
9. regression check ( checking ovs-vsctl output if the port for #3 instance is 
exist ) on host
- service openvswitch-switch restart
- service neutron-openvswitch-agent restart
- check if port are still there

Thanks

dpkg -l | grep neutron
ii  neutron-common   2:8.4.0-0ubuntu7.3 
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:8.4.0-0ubuntu7.3 
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  python-neutron   2:8.4.0-0ubuntu7.3 
all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-04-12 Thread Łukasz Zemczak
Hello Seyeong, or anyone else affected,

Accepted neutron into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:8.4.0-0ubuntu7.3 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: neutron (Ubuntu Xenial)
   Status: Triaged => Fix Committed

** Tags removed: verification-done-xenial
** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-04-03 Thread Seyeong Kim
Hello,

for xenial-queens

I followed below step to verify this. ( slightly different )

1. deploy openstack xenial-queens
2. create networks routers etc on horizon
3. create instance on horizon
4. login to host
5. adding dummy ports via ( https://paste.ubuntu.com/p/X35H85XWPh/ )
6. reboot and check if order is ok ( not ok here, at this time, systemd status 
failed )
7. upgrade pkg
8. reboot and check if order is ok ( ok here, clean )
9. regression check ( checking ovs-vsctl output if the port for #3 instance is 
exist ) on host
- service openvswitch-switch restart
- service neutron-openvswitch-agent restart
- check if port are still there

Thanks

dpkg -l | grep  neutron
ii  neutron-common   2:12.0.0-0ubuntu2~cloud0   
 all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:12.0.0-0ubuntu2~cloud0   
 all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:12.0.0-0ubuntu2~cloud0   
 all  Transitional package for neutron-openvswitch-agent

** Tags removed: verification-queens-needed
** Tags added: verification-queens-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-29 Thread Seyeong Kim
Hello,

for xenial-newton

I followed below step to verify this. ( same as above )

1. deploy openstack xenial-ocata
2. source novarc
3. create instance ( https://pastebin.ubuntu.com/p/gZ3XXy9j4F/ )
- check this instance's host
4. login to host
5. adding dummy ports via ( https://paste.ubuntu.com/p/X35H85XWPh/ )
6. reboot and check if order is ok ( not ok here )
7. upgrade pkg
8. reboot and check if order is ok ( ok here )
9. regression check ( checking ovs-vsctl output if the port for #3 instance is 
exist ) on host
- service openvswitch-switch restart
- service neutron-openvswitch-agent restart
- check if port are still there

Thanks

dpkg -l | grep neutron
ii  neutron-common   2:9.4.1-0ubuntu1~cloud3
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:9.4.1-0ubuntu1~cloud3
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:9.4.1-0ubuntu1~cloud3
all  Transitional package for neutron-openvswitch-agent

** Tags removed: verification-newton-needed
** Tags added: verification-newton-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-28 Thread Seyeong Kim
Hello,

for xenial-ocata

I followed below step to verify this.

1. deploy openstack xenial-ocata
2. source novarc
3. create instance ( https://pastebin.ubuntu.com/p/gZ3XXy9j4F/ )
- check this instance's host
4. login to host
5. adding dummy ports via ( https://paste.ubuntu.com/p/X35H85XWPh/ )
6. reboot and check if order is ok ( not ok here )
7. upgrade pkg
8. reboot and check if order is ok ( ok here )
9. regression check ( checking ovs-vsctl output if the port for #3 instance is 
exist ) on host
- service openvswitch-switch restart
- service neutron-openvswitch-agent restart
- check if port are still there

Thanks

dpkg -l | grep neutron
ii  neutron-common   2:10.0.4-0ubuntu2~cloud2   
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:10.0.4-0ubuntu2~cloud2   
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:10.0.4-0ubuntu2~cloud2   
all  Transitional package for neutron-openvswitch-agent

** Tags removed: verification-ocata-needed
** Tags added: verification-ocata-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-28 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:12.0.0-0ubuntu2

---
neutron (2:12.0.0-0ubuntu2) bionic; urgency=medium

  * d/neutron-openvswitch-agent.service.in,
d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
Ensure neutron-ovs-cleanup runs after openvswitch-switch and
neutron-openvswitch-agent runs after neutron-ovs-cleanup (LP: #1752838).

 -- Seyeong Kim   Wed, 28 Mar 2018 04:44:38
-0700

** Changed in: neutron (Ubuntu Bionic)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-28 Thread Corey Bryant
Thanks Seyeong. I've uploaded new versions of neutron with your patch
(updated changelog as we discussed) for all affected releases. Artful
and Xenial are awaiting review by the SRU team.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-28 Thread Seyeong Kim
** Patch added: "lp1752838_xenial_v2.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1752838/+attachment/5093483/+files/lp1752838_xenial_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-27 Thread Seyeong Kim
Hey Corey

yes I meant that yours. ( removing Requires line from regression patch )

1630968 is the other issue I faced.

not related to this issue. ( just mentioned it for log )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-27 Thread Corey Bryant
It seems that adding:

After=openvswitch-switch.service

to neutron-ovs-cleanup.service will be enough to fix this bug.

As long as openvswitch-switch is not already installed at the time of
neutron-openvswitch-agent being installed, then neutron-openvswitch-
agent will cause openvswitch-switch to be installed and neutron-ovs-
cleanup should be forced to start after openvswitch-switch.

I'm not following your comment on 1630968. Is that issue related to this
change?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-26 Thread Seyeong Kim
Confirmed that removing Require-openvswitch-switch.server line in
neutron-ovs-cleanup.service file solve regression and this order issue.

but as I mentioned just before, if there are a lot of (1000) ports
there, 14 alarm clock error when running neutron-ovs-cleanup

and this[1] is pop up (this one I could see in the beginning sometimes)
also adding ExecPre= line solve it as well. ( in xenial )

[1] https://bugs.launchpad.net/cloud-archive/+bug/1630968

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-23 Thread Seyeong Kim
Require=openvswitch-switch.service in neutron-ovs-cleanup.service file

trigger calling neutron-ovs-cleanup when restarting openvswitch-switch

as earlier analysis, neutron-ovs-cleanup shouldn't have called while
running machine.

it is only for booting sequence.


I'm testing it without require option. 
There is issue error 14 alarm clock when calling neutron-ovs-cleanup on boot.

Keep analyzing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-23 Thread Corey Bryant
This change has been reverted due to regression. Please see
https://bugs.launchpad.net/cloud-archive/mitaka/+bug/1758411 for more
details.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-23 Thread Corey Bryant
Change Status back to New.

** Changed in: cloud-archive/ocata
   Status: Fix Released => Triaged

** Changed in: cloud-archive/newton
   Status: Fix Released => Triaged

** Changed in: cloud-archive/queens
   Status: Fix Released => Triaged

** Changed in: cloud-archive/pike
   Status: Fix Released => Triaged

** Changed in: neutron (Ubuntu Xenial)
   Status: Fix Released => Triaged

** Changed in: neutron (Ubuntu Artful)
   Status: Fix Released => Triaged

** Changed in: neutron (Ubuntu Bionic)
   Status: Fix Released => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-23 Thread Edward Hope-Morley
reverting in
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1758411

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-23 Thread Edward Hope-Morley
WARNING: this update has introduced a race between ovs-cleanup and
neutron-openvswitch-agent such that when ovs is restarted, neutron-
openvswitch-agent AND neutron-ovs-cleanup are also restarted resulting
in the guest flows never getting re-added to br-tun. Recommend we either
fix or pull this from the archive asap.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Corey Bryant
** Changed in: cloud-archive/queens
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Corey Bryant
This bug was fixed in the package neutron - 2:9.4.1-0ubuntu1~cloud2.1
---

 neutron (2:9.4.1-0ubuntu1~cloud2.1) xenial-newton; urgency=medium
 .
   * d/neutron-openvswitch-agent.service.in: Ensure
 neutron-openvswitch-agent starts after neutron-ovs-cleanup.
   * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
 Adding dependency on openvswitch-switch.service because
 neutron-ovs-cleanup will fail if it is run earlier than it
 (LP: #1752838).


** Changed in: cloud-archive/newton
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Corey Bryant
This bug was fixed in the package neutron - 2:11.0.2-0ubuntu1.3~cloud0
---

 neutron (2:11.0.2-0ubuntu1.3~cloud0) xenial-pike; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 neutron (2:11.0.2-0ubuntu1.3) artful; urgency=medium
 .
   * d/neutron-openvswitch-agent.service.in: Ensure
 neutron-openvswitch-agent starts after neutron-ovs-cleanup.
   * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
 Adding dependency on openvswitch-switch.service because
 neutron-ovs-cleanup will fail if it is run earlier than it
 (LP: #1752838).


** Changed in: cloud-archive/pike
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Corey Bryant
This bug was fixed in the package neutron - 2:10.0.4-0ubuntu2~cloud1.1
---

 neutron (2:10.0.4-0ubuntu2~cloud1.1) xenial-ocata; urgency=medium
 .
   * d/neutron-openvswitch-agent.service.in: Ensure
 neutron-openvswitch-agent starts after neutron-ovs-cleanup.
   * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
 Adding dependency on openvswitch-switch.service because
 neutron-ovs-cleanup will fail if it is run earlier than it
 (LP: #1752838).


** Changed in: cloud-archive/ocata
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:8.4.0-0ubuntu7.1

---
neutron (2:8.4.0-0ubuntu7.1) xenial; urgency=medium

  * d/neutron-openvswitch-agent.service.in: Ensure
neutron-openvswitch-agent starts after neutron-ovs-cleanup.
  * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
Adding dependency on openvswitch-switch.service because
neutron-ovs-cleanup will fail if it is run earlier than it
(LP: #1752838).

 -- Seyeong Kim   Thu, 01 Mar 2018 17:19:08
-0800

** Changed in: neutron (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:11.0.2-0ubuntu1.3

---
neutron (2:11.0.2-0ubuntu1.3) artful; urgency=medium

  * d/neutron-openvswitch-agent.service.in: Ensure
neutron-openvswitch-agent starts after neutron-ovs-cleanup.
  * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
Adding dependency on openvswitch-switch.service because
neutron-ovs-cleanup will fail if it is run earlier than it
(LP: #1752838).

 -- Seyeong Kim   Thu, 01 Mar 2018 17:19:08
-0800

** Changed in: neutron (Ubuntu Artful)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Seyeong Kim
Hello

I verified this.

There was an issue about deploying lxd on artful machine.
I just remove them from lxd and depoyed with virtual machines each.

and done steps below

1. deploy artful openstack env ( without any lxd instance )
2. run scripts on test case
3. reboot compute node and check if there is abnormal order about openvswitch 
services and neutron services. ( wrong order there )
4. upgrade neutron pkgs
5. reboot compute node and check if there is mixed order, ( good. ovsdb-server 
-> cleanup -> agent )

Thanks a lot

dpkg -l | grep neutron

ii  neutron-common 2:11.0.2-0ubuntu1.3  
  all  Neutron is a virtual network service for 
Openstack - common
ii  neutron-openvswitch-agent  2:11.0.2-0ubuntu1.3  
  all  Neutron is a virtual network service for 
Openstack - Open vSwitch plugin agent
rc  neutron-plugin-openvswitch-agent   2:11.0.2-0ubuntu1.1  
  all  Transitional package for 
neutron-openvswitch-agent
ii  python-neutron 2:11.0.2-0ubuntu1.3  
  all  Neutron is a virtual network service for 
Openstack - Python library

** Tags removed: verification-needed-artful
** Tags added: verification-done-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Seyeong Kim
hey sil2100,

sure, I'm trying to verify this on artful as well

with juju openstack deployment with artful release, there is an issue on
deployment

and now im in sprint, so it is delaying..

I'm going to fix it or find new reproducer for this and verify this ASAP

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-22 Thread Łukasz Zemczak
Could this also be verified for artful? We can't release the xenial
version if the artful counterpart isn't verified as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-16 Thread Seyeong Kim
for xenial pike

I did same test on pike deployment

1. deploy pike env
2. run script
3. reboot nova-compute node and check if there is order weirdness
4. upgrading neutron pkgs from -proposed
5. reboot nova-compute node and check if it is correct order ( it is fine )

it is working fine.

Thanks.

dpkg -l | grep neutron
root@maas-node-05:~# dpkg -l | grep neutron
ii  neutron-common   2:11.0.2-0ubuntu1.3~cloud0 
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:11.0.2-0ubuntu1.3~cloud0 
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:11.0.2-0ubuntu1.3~cloud0 
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:11.0.2-0ubuntu1.3~cloud0 
all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-pike-needed
** Tags added: verification-pike-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-16 Thread Seyeong Kim
for xenial

I checked that this patch is working.

1. deploy xenial
2. ran script on test case
3. reboot, and check if there is issue on order or failed service
4. upgrade to -proposed pkg
5. reboot, and check if there is issue(it is gone)

Thanks a lot

dpkg -l | grep neutron

ii  neutron-common   2:8.4.0-0ubuntu7.1 
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:8.4.0-0ubuntu7.1 
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
rc  neutron-plugin-openvswitch-agent 2:8.4.0-0ubuntu6   
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:8.4.0-0ubuntu7.1 
all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-15 Thread Łukasz Zemczak
Hello Seyeong, or anyone else affected,

Accepted neutron into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:8.4.0-0ubuntu7.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: neutron (Ubuntu Xenial)
   Status: Triaged => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-15 Thread Łukasz Zemczak
Hello Seyeong, or anyone else affected,

Accepted neutron into artful-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/neutron/2:11.0.2-0ubuntu1.3 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: neutron (Ubuntu Artful)
   Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial newton

this is the same as above result,

in this case, I saw same issue as description(several connection error
to ovsdb-server)

after patching, it has gone.

order is as expected.

Thanks

dpkg -l | grep neutron

ii  neutron-common   2:9.4.1-0ubuntu1~cloud2.1  
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:9.4.1-0ubuntu1~cloud2.1  
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:9.4.1-0ubuntu1~cloud2.1  
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:9.4.1-0ubuntu1~cloud2.1  
all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-newton-needed
** Tags added: verification-newton-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial ocata

ok, service starting order is same as above(queens)

there is no error in neutron or openvswitch services with 1000ports

Thanks

dpkg -l | grep neutron

ii  neutron-common   2:10.0.4-0ubuntu2~cloud1.1 
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:10.0.4-0ubuntu2~cloud1.1 
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:10.0.4-0ubuntu2~cloud1.1 
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:10.0.4-0ubuntu2~cloud1.1 
all  Neutron is a virtual network service for Openstack - Python 
library


** Tags removed: verification-ocata-needed
** Tags added: verification-ocata-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial queens

updated pkg after last comment above,

now services run as below order

1. openvswitch-switch
2. neutron-ovs-cleanup
3. neutron-openvswitch-agent

this is expected

Thanks.

dpkg -l | grep neutron

ii  neutron-common   2:12.0.0-0ubuntu1.2~cloud0 
 all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:12.0.0-0ubuntu1.2~cloud0 
 all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:12.0.0-0ubuntu1.2~cloud0 
 all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:12.0.0-0ubuntu1.2~cloud0 
 all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-queens-needed
** Tags added: verification-queens-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Corey Bryant
Based on Seyeong's testing input, I've uploaded new versions of neutron
to all affected releases. These versions add After=neutron-ovs-cleanup
to neutron-openvswitch-agent. Thanks Seyeong!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial-queens

After patching neutron-ovs-cleanup is following after ovsdb-server
properly.

while testing xenial-queens

I noticed that neutron-openvswitch-agent has Requires, but not After for
neutron-ovs-cleanup

and in syslog

neutron-openvswitch-agent started earlier than above two(ovsdb-server
and neutron-ovs-cleanup) got error and had restarted several
time(eventually it is fine)

We need to add this for neutron-openvswitch-agent for all releases?

or It is ok for now?

I'll change verification tag after discussion.

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial-newton

I could see above error without patch, after running script and
rebooting

after patch, order is correct and error is gone.

Thanks.

dpkg info

ii  neutron-common   2:9.4.1-0ubuntu1~cloud2
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:9.4.1-0ubuntu1~cloud2
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:9.4.1-0ubuntu1~cloud2
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:9.4.1-0ubuntu1~cloud2
all  Neutron is a virtual network service for Openstack - Python 
library

** Tags removed: verification-newton-needed
** Tags added: verification-newton-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
for xenial-ocata,

I ran script as above (changed after some more tests)

before installing patch, neutron openvswitch agent ran earlier than
ovsdb-server(openvswitch-switch service)

after installing patch, openvswitch-switch runs earlier.

the symptom as described above is sometimes happening not all the times
but this patch is for possible issue, so I make this verification done

dpkg info

ii  neutron-common   2:10.0.4-0ubuntu2~cloud1   
all  Neutron is a virtual network service for Openstack - common
ii  neutron-openvswitch-agent2:10.0.4-0ubuntu2~cloud1   
all  Neutron is a virtual network service for Openstack - Open 
vSwitch plugin agent
ii  neutron-plugin-openvswitch-agent 2:10.0.4-0ubuntu2~cloud1   
all  Transitional package for neutron-openvswitch-agent
ii  python-neutron   2:10.0.4-0ubuntu2~cloud1   
all  Neutron is a virtual network service for Openstack - Python 
library




** Tags removed: verification-ocata-needed
** Tags added: verification-ocata-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
** Description changed:

  [Impact]
  
  In code, Basically all ubuntu version could be affected.
  I'm trying to do test them
  
  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.
  
  then, neutron-ovs-cleanup service's status remains failed
  with below error msg
  
  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
  such file or directory)"
  
  that is fine for booting.
  
  but.
  
  If someday upgrade pkgs related to neutron, it runs neutron-ovs-cleanup
  again because it is not in active status.
  
  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.
  
  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/
  
  [Test Case]
  
  1. deploy openstack env
  2. run below scripts to add many ports
  #!/bin/bash
  
  juju ssh nova-compute/0 '
  sudo modprobe dummy
- for i in {1..2000}
+ for i in {1..1000}
  do
-   echo $i
-   sudo ip link add dummy$i type dummy;sudo ip link set name t-test$i dev 
dummy$i;sudo ovs-vsctl add-port br-int t-test$i
+   echo $i
+   sudo ip link add dummy$i type dummy;sudo ip link set name t-test$i dev 
dummy$i;sudo ovs-vsctl add-port br-int t-test$i
  done
  '
  3. systemctl list-units --failed
  - check if there is failed neutron-ovs-cleanup service
  
  [Regression]
  Changes dependency on 
debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-12 Thread Seyeong Kim
** Description changed:

  [Impact]
  
  In code, Basically all ubuntu version could be affected.
  I'm trying to do test them
  
  Xenial - Tested, Affected
  Artful -
  Bionic -
  
- UCA-Mitaka - 
+ UCA-Mitaka -
  UCA-Newton -
  UCA-Ocata -
  UCA-Pike -
  UCA-Queens -
  ..?
  
  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.
  
  then, neutron-ovs-cleanup service's status remains failed
  with below error msg
  
  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
  such file or directory)"
  
  that is fine for booting.
  
  but.
  
  If someday upgrade pkgs related to neutron, it runs neutron-ovs-cleanup
  again because it is not in active status.
  
  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.
  
  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/
  
  [Test Case]
  
  1. deploy openstack env
  2. run below scripts to add many ports
  #!/bin/bash
  
  for i in {0..1000}
  do
    juju ssh nova-compute/0 "sudo ip link add dummy$i type dummy;sudo ip link 
set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i";
  done
  
  3. systemctl list-units --failed
  - check if there is failed neutron-ovs-cleanup service
  
  [Regression]
  Changes dependency on 
debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.

** Description changed:

  [Impact]
  
  In code, Basically all ubuntu version could be affected.
  I'm trying to do test them
- 
- Xenial - Tested, Affected
- Artful -
- Bionic -
- 
- UCA-Mitaka -
- UCA-Newton -
- UCA-Ocata -
- UCA-Pike -
- UCA-Queens -
- ..?
  
  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.
  
  then, neutron-ovs-cleanup service's status remains failed
  with below error msg
  
  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
  such file or directory)"
  
  that is fine for booting.
  
  but.
  
  If someday upgrade pkgs related to neutron, it runs neutron-ovs-cleanup
  again because it is not in active status.
  
  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.
  
  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/
  
  [Test Case]
  
  1. deploy openstack env
  2. run below scripts to add many ports
  #!/bin/bash
  
- for i in {0..1000}
+ juju ssh nova-compute/0 '
+ sudo modprobe dummy
+ for i in {1..2000}
  do
-   juju ssh nova-compute/0 "sudo ip link add dummy$i type dummy;sudo ip link 
set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i";
+   echo $i
+   sudo ip link add dummy$i type dummy;sudo ip link set name t-test$i dev 
dummy$i;sudo ovs-vsctl add-port br-int t-test$i
  done
- 
+ '
  3. systemctl list-units --failed
  - check if there is failed neutron-ovs-cleanup service
  
  [Regression]
  Changes dependency on 
debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Launchpad Bug Tracker
This bug was fixed in the package neutron - 2:12.0.0-0ubuntu1.1

---
neutron (2:12.0.0-0ubuntu1.1) bionic; urgency=medium

  * d/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in:
Adding dependency on openvswitch-switch.service because
neutron-ovs-cleanup will fail if it is run earlier than it
(LP: #1752838).

 -- Seyeong Kim   Thu, 01 Mar 2018 17:19:08
-0800

** Changed in: neutron (Ubuntu Bionic)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Corey Bryant
Hi Seyeong, I've uploaded patched versions of neutron to xenial, xenial-
newton, xenial-ocata, artful, and bionic. xenial, artful, and bionic are
in the unapproved queue awaiting sru review.

Thanks again for the bug/patch.

Corey

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Corey Bryant
Adding Requires=neutron-ovs-cleanup.service to neutron-l3-agent.service,
neutron-dhcp-agent.service, and nova-compute.service is turning out to
be perhaps too tightly coupled.

Doing this would also require the binary packages for each of the above
named services to depend on the neutron-openvswitch-agent binary
package. This is because neutron-ovs-cleanup is installed by the
neutron-openvswitch-agent binary package. If we add Requires=neutron-
ovs-cleanup without adding the binary package dependency, then at
install time the above named services would fail with a dependency error
if neutron-ovs-cleanup is not already installed.

I just did some reboot testing and I think we are ok with just the After
=neutron-ovs-cleanup for these services. I rebooted 10 times and each
time neutron-l3-agent and neutron-dhcp-agent started after neutron-ovs-
cleanup. So I believe we are already covered for reboots.

What this doesn't cover is service start order at package install time.
neutron-l3-agent and neutron-dhcp-agent can be installed and started
before neutron-ovs-cleanup is installed. In this case neutron-ovs-
cleanup would start and run after neutron-l3-agent and neutron-dhcp-
agent are started. I don't think this is a big deal at install time.

As for upgrades, neutron-ovs-cleanup doesn't restart, I believe because
it is Type=oneshot. So that is very good news. You can 'apt dist-
upgrade' to all new neutron packages and neutron-ovs-cleanup won't get
restarted.

I think we should just move forward with the original issue reported by
this bug and add AFter= and Requires= to neutron-ovs-cleanup.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Seyeong Kim
@corey,

I inserted service file in debian folder.
Tested with manipulated init.in file but no luck.

is it proper to upload nova debdiff here?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Seyeong Kim
** Patch added: "lp1752838_nova_denial.debdiff"
   
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+attachment/5074235/+files/lp1752838_nova_denial.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-09 Thread Seyeong Kim
** Patch added: "lp1752838_neutron_xenial.debdiff"
   
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+attachment/5074234/+files/lp1752838_neutron_xenial.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Seyeong Kim
Hello

I've been testing xenial-newton env if there is also same issue.
but final symptom was not same.

it keep restarting on boot and eventually status is settled on active.
(there was error about connecting to ovsdb-server several times but.. )

I was stuck on that to find why it is different. not found yet.

Basically, yes. i agree with you. they need to be changed.

I'm going to check all of them. and will upload it today later.

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
... it will run it's action without keeping an active process.
RemainAfterExit=yes causes the unit to remain active after the start
action exited successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
I reviewed the systemd unit files that have a dependency on neutron-ovs-
cleanup and I think we could use some updates there as well to tighten
up the dependency on neutron-ovs-cleanup.

We currently have the following and I think the latter 3 should be
updated with a Requires like neutron-openvswitch-agent.service has. The
After= only handles order when unit files are started together, whereas
Requires= will start the required service if it is not already active
and will fail this serivce if the required service fails to start.

/lib/systemd/system/neutron-openvswitch-agent.service
-
[Unit]
Description=Openstack Neutron Open vSwitch Plugin Agent
After=mysql.service postgresql.service rabbitmq-server.service keystone.service
Requires=neutron-ovs-cleanup.service

/lib/systemd/system/neutron-l3-agent.service

[Unit]
Description=OpenStack Neutron L3 agent
After=mysql.service postgresql.service rabbitmq-server.service keystone.service 
openvswitch-switch.service neutron-ovs-cleanup.service

/lib/systemd/system/neutron-dhcp-agent.service
--
[Unit]
Description=OpenStack Neutron DHCP agent
After=mysql.service postgresql.service rabbitmq-server.service keystone.service 
neutron-ovs-cleanup.service

/lib/systemd/system/nova-compute.service

[Unit]
Description=OpenStack Compute
After=libvirtd.service postgresql.service mysql.service keystone.service 
rabbitmq-server.service ntp.service neutron-ovs-cleanup.service

Another point of concern was that neutron-ovs-cleanup may not finish prior to 
dependent units starting. That won't happen with the After= option specified. 
From the systemd.service man page:
"Note that systemd will consider the unit to be in the state "starting" until 
the program has terminated, so ordered dependencies will wait for the program 
to finish before starting themselves."

neutron-ovs-cleanup is a Type=oneshot unit with RemainAfterExit=yes,
which means that it will run

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
Triaged high as this neutron-ovs-cleanup init scripts are not behaving
as expected, which may cause a number of issues.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
This affects xenial-mitaka and above. My test results above are on
xenial-queens.

** Also affects: neutron (Ubuntu Bionic)
   Importance: Low
   Status: New

** Also affects: neutron (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: neutron (Ubuntu Artful)
   Importance: Undecided
   Status: New

** Changed in: neutron (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: neutron (Ubuntu Artful)
   Status: New => Triaged

** Changed in: neutron (Ubuntu Bionic)
   Status: New => Triaged

** Changed in: neutron (Ubuntu Bionic)
   Importance: Low => High

** Changed in: neutron (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: neutron (Ubuntu Xenial)
   Importance: Undecided => High

** Also affects: cloud-archive/pike
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/queens
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/newton
   Importance: Undecided
   Status: New

** Also affects: cloud-archive/ocata
   Importance: Undecided
   Status: New

** Changed in: cloud-archive/newton
   Status: New => Triaged

** Changed in: cloud-archive/ocata
   Status: New => Triaged

** Changed in: cloud-archive/pike
   Status: New => Triaged

** Changed in: cloud-archive/queens
   Status: New => Triaged

** Changed in: cloud-archive/queens
   Importance: Undecided => High

** Changed in: cloud-archive/pike
   Importance: Undecided => High

** Changed in: cloud-archive/ocata
   Importance: Undecided => High

** Changed in: cloud-archive/newton
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
Correction. kilo is trusty only at this point so kilo is not affected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
Note: this affects back to kilo. It doesn't affect icehouse as we were
fully using upstart at that point.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-07 Thread Corey Bryant
Current behavior: starting neutron-ovs-cleanup when openvswitch-switch
is stopped: https://paste.ubuntu.com/p/MxHT5rXJJ2/

New behavior [1]: starting neutron-ovs-cleanup when openvswitch-switch
is stopped: https://paste.ubuntu.com/p/wzJ3kh6CPp/

[1] After updating /lib/systemd/system/neutron-ovs-cleanup.service with:
Description=OpenStack Neutron OVS cleanup
+Requires=openvswitch-switch.service
+After=openvswitch-switch.service

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-06 Thread Corey Bryant
Hi Seyeong, I think your patch makes sense. I wonder if we also need to
add an After statement to ensure openvswitch-switch starts before
neutron-ovs-cleanup:

+Requires=openvswitch-switch.service
+After=openvswitch-switch.service

Note that the LSB init info in the beginning of /etc/init.d/neutron-ovs-
cleanup does have a "Required-Start: ... openvswitch-switch", but that
is apparently not enough, or perhaps needs to be replaced by your patch.

I chatted with dosaboy a bit about this and it seems like we should also
review nova-compute, neutron-l3-agent, and neutron-dhcp-agent as part of
this fix. They need to start after neutron-ovs-cleanup is finished and
they use "Should-Start: ... neutron-ovs-cleanup" in their LSB init info.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-06 Thread Corey Bryant
Hi Mathew Hodson, In the future can you please explain your reasoning
when you set bug importance? Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-05 Thread Seyeong Kim
** Description changed:

  [Impact]
+ 
+ In code, Basically all ubuntu version could be affected.
+ I'm trying to do test them
+ 
+ Xenial - Tested, Affected
+ Artful -
+ Bionic -
+ 
+ UCA-Mitaka - 
+ UCA-Newton -
+ UCA-Ocata -
+ UCA-Pike -
+ UCA-Queens -
+ ..?
  
  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.
  
  then, neutron-ovs-cleanup service's status remains failed
  with below error msg
  
  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
  such file or directory)"
  
  that is fine for booting.
  
  but.
  
  If someday upgrade pkgs related to neutron, it runs neutron-ovs-cleanup
  again because it is not in active status.
  
  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.
  
  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/
  
  [Test Case]
  
  1. deploy openstack env
  2. run below scripts to add many ports
  #!/bin/bash
  
  for i in {0..1000}
  do
-   juju ssh nova-compute/0 "sudo ip link add dummy$i type dummy;sudo ip link 
set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i";
+   juju ssh nova-compute/0 "sudo ip link add dummy$i type dummy;sudo ip link 
set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i";
  done
  
  3. systemctl list-units --failed
  - check if there is failed neutron-ovs-cleanup service
  
  [Regression]
  Changes dependency on 
debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.

** Also affects: cloud-archive
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1752838] Re: [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many port

2018-03-05 Thread Seyeong Kim
** Summary changed:

- [SRU] sometimes neutron-ovs-cleanup runs earlier than ovsdb-server
+ [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there are many 
port

** Tags added: sts sts-sru-needed

** Description changed:

  [Impact]
  
  neutron-ovs-cleanup service runs earlier than ovsdb-server sometimes.
  
  then, neutron-ovs-cleanup service's status remains failed
  with below error msg
  
  "ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-
  vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No
  such file or directory)"
  
  that is fine for booting.
  
  but.
  
  If someday upgrade pkgs related to neutron, it runs neutron-ovs-cleanup
  again because it is not in active status.
  
  eventually, neutron-ovs-cleanup deletes all ports on running compute
  nodes.
  
  related logs here https://paste.ubuntu.com/p/QkkwP2vPDv/
  
  [Test Case]
- TBD
+ 
+ 1. deploy openstack env
+ 2. run below scripts to add many ports
+ #!/bin/bash
+ 
+ for i in {0..1000}
+ do
+   juju ssh nova-compute/0 "sudo ip link add dummy$i type dummy;sudo ip link 
set name t-test$i dev dummy$i;sudo ovs-vsctl add-port br-int t-test$i";
+ done
+ 
+ 3. systemctl list-units --failed
+ - check if there is failed neutron-ovs-cleanup service
  
  [Regression]
  Changes dependency on 
debian/neutron-openvswitch-agent.neutron-ovs-cleanup.service.in
  need to reboot if this patch is affected. If this symptom is not affected 
your env. no need to reboot.
- 
- [Others]
- Because there is no reproducer, please consider this dependency changes if it 
is proper.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752838

Title:
  [SRU] neutron-ovs-cleanup runs earlier than ovsdb-server when there
  are many port

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1752838/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs