698 Commits

Author SHA1 Message Date
Russell Bryant
ddbb2543f0 stadium: Group lbaas repos together.
The lbaas team considers neutron-lbaas, neutron-lbaas-dashboard,
and octavia as a unit that should not be separated.  Update the
table to make that more clear.

Change-Id: I12302ef8678a3b6e6e9209de2fd24b77a5239de4
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-09 17:31:31 -05:00
Jenkins
9e8d44bab7 Merge "sub_project_guidelines: Document the procedure to make a branch EOL" 2016-02-09 22:22:55 +00:00
Jenkins
97866c9453 Merge "sub_project_guidelines: Remove "add tarball to launchpad" step" 2016-02-09 22:22:29 +00:00
Kyle Mestery
978788a78d Remove PTL office hours
These were from a time long since past, and turned out not be useful
even then.

Change-Id: Ic524f10e414e08010804092f72a114de93681e5c
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-02-09 16:09:08 -06:00
Jenkins
b9940b91a1 Merge "Add address scopes support to the L3 agent" 2016-02-09 04:00:14 +00:00
Jenkins
42b33a779a Merge "sub_project_guidelines: Update after direct-release default" 2016-02-09 03:44:12 +00:00
YAMAMOTO Takashi
ef80727341 sub_project_guidelines: Document the procedure to make a branch EOL
Change-Id: Ifa1a466e6ede6b2fa9335eca523b66f3fd7af571
2016-02-08 19:09:27 +09:00
YAMAMOTO Takashi
f3cdb49166 sub_project_guidelines: Remove "add tarball to launchpad" step
Release tarballs are available at: http://docs.openstack.org/releases/
these days. [1]

[1] http://lists.openstack.org/pipermail/openstack-dev/2016-January/084548.html

Change-Id: I64dd80bcbd7f6721ff47f3e04bb2acf47f92af81
2016-02-08 19:06:16 +09:00
YAMAMOTO Takashi
68bff8ab65 sub_project_guidelines: Update after direct-release default
Change-Id: Ic61f452f5c57a5f0aa9d4fb474ccae66671d70be
2016-02-08 19:02:00 +09:00
Jenkins
7e26b3c35c Merge "stadium: Update list of Neutron sub-projects." 2016-02-06 03:55:43 +00:00
Jenkins
c06130e6dd Merge "devref: added more details on rolling upgrade for notifications" 2016-02-05 14:05:13 +00:00
Russell Bryant
e9e773ca81 stadium: Update list of Neutron sub-projects.
Update the list of Neutron sub-projects to make it clear which ones are
currently under the Neutron team under OpenStack governance.  No changes are
made here.  It only updates this document to reflect projects.yaml in the
governance repository.

Change-Id: I4a96a9d66689a1eca0e202f1f1365236f47b9da1
Signed-off-by: Russell Bryant <rbryant@redhat.com>
2016-02-04 16:38:49 -05:00
Martin Hickey
ef5c5f08bc Correct dev documentation for has_offline_migrations command
Update the upgrade defref doc to more correctly explain the output
from the has_offline_migrations command

Change-Id: Ie68c31354f664165a0c124fb151e8fb449eec8ec
Related-Bug: #1519118
2016-02-04 16:51:12 +00:00
Carl Baldwin
3e94111d6b Add address scopes support to the L3 agent
For networks in the same address scope, network traffic routes
directly.  This happens not only between internal networks, but also
between internal network and external network.  No SNAT is applied
when routing traffic to the external network because addresses on the
internal network are assumed to be viable on the external network.

For networks in different scopes, network traffic can't route
directly.  Between internal networks in different scopes, traffic is
blocked.  DNAT for floating IPs will still work.  Also, shared SNAT to
the external network will still work as it does today.

Change-Id: I439633ebef432b1a2eecee09b647207d5a271bf6
Co-Authored-By: Hong Hui Xiao <xiaohhui@cn.ibm.com>
Implements: blueprint address-scopes
2016-02-03 03:19:02 -05:00
Carl Baldwin
488c1eeb0a Warn about a gotcha in the sub-project process
Change-Id: Iae30c068a3b1aac8323229c348a973eca1072665
2016-02-02 10:12:51 -07:00
Jenkins
1efa5f1da7 Merge "Fail if required extensions are missing" 2016-01-30 17:21:25 +00:00
armando-migliaccio
b14c06b5ed Fail if required extensions are missing
If the required extensions are missing, we currently log an error
that is going to be practically ignored. That said, the unfulfilled
requirement will most definitely going to lead to other failures,
so we might as well fail fast.

This patch also cleans up some <barf>dns-integration nonsense</barf>
within the ML2 framework: the extension must not be declared statically
as it's being loaded by the extension manager, and this fixes the lousy
unit tests we have to live with. As for the db base plugin, some cleanup
is still overdue, but it will have to be taken care of in a follow-up
patch.

Closes-bug: #1538623

Change-Id: Id50eeb52c5d209170042b48821a29af3421c2f5c
2016-01-29 16:20:07 -08:00
Akihiro Motoki
d35a47bc32 Update translation setup for neutron subprojects
The infra and i18n team is now setting up the new infra setup
for translations. This commit updates the corresponding devref
document on the subproject guidelines.
For more detail, see the infra spec available at
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html.

This basically renames $reponame/locale/$reponame.pot to
$modulename/locale/$modulename.pot.

Change-Id: I7e402453a53fc7b13193f65c71aa1764f1c18924
2016-01-29 09:01:03 +00:00
Miguel Lavalle
0a96b7a57e Update alembic migration documentation
Alembic migration documentation for developers is updated to explain the need
to update neutron/db/migration/models/head.py when adding models to the
database

Change-Id: I2894058269cbabfd0cbfa83c7f076701e2087a11
Partial-Bug: #1537510
2016-01-26 12:21:49 -06:00
YAMAMOTO Takashi
caf9f21a82 devref: Fix a typo in i18n.rst
Change-Id: I8607a9b257b10fcce67deb52c284bd1a652e382f
2016-01-25 21:50:16 +09:00
armando-migliaccio
d56b5a6718 Add missing index entry for external dns integration
Change 93ac8b3a missed the entry. Let's add it.

Change-Id: Iaaad3821363a259bb05740883b346cf43b2951af
Closes-bug: #1537320
2016-01-24 18:35:51 -08:00
Jenkins
fa1bc2cdd7 Merge "neutron-db-manage: add has_offline_migrations command" 2016-01-23 10:38:52 +00:00
Ihar Hrachyshka
eb084af29d neutron-db-manage: add has_offline_migrations command
This command should be used by operators and deployment tools to
determine whether full neutron-server shutdown is needed for database
upgrade.

The change also makes neutron-db-manage tool to return the cumulative
result of commands being issued (in most cases it will still be 0 only,
since our command handlers implicitly return None).

DocImpact: Update doc to add new command 'has_offline_migrations' to
'neutron-db-manage' tool. The command determines whether full
neutron-server shutdown is needed for database upgrade.

Closes-Bug: #1519118
Change-Id: I7c5a4882ad4f80459ebe69c9a9c43cc60ce50200
Co-Authored-By: Martin Hickey <martin.hickey@ie.ibm.com>
2016-01-22 13:55:40 +00:00
Miguel Lavalle
93ac8b3a33 External DNS driver reference implementation
An interface with an external DNS service is defined for Neutron. A reference
implementation is also included, based on Designate. The interface and the
driver will enable users to publish in the external DNS service the dns_name
and dns_domain attributes associated with floating ips, ports and networks. As
a consequence, the floating ips and networks api is extended to manage dns_name
and dns_domain attributes. The dns_name attribute was added to ports in a
preceding commit

DocImpact: Introduce config option external_dns_driver to specify a driver
for external dns integration. For more info, see
doc/source/devref/external_dns_integration.rst

APIImpact
Implements: blueprint external-dns-resolution

Change-Id: Ic298ad2558410ab9a614f22e1757d1fc8b22c482
2016-01-21 21:55:08 +00:00
Ann Kamyshnikova
924f19e8f1 Make object creation methods in l3_hamode_db atomic
Methods _create_ha_network, add_ha_port don't have wrapping
transaction in them, so they are prone to race conditions.
This commit adds a transaction to them. To avoid problem with
rolling back outmost transaction during exception handling,
internal methods have been wrapped in nested transaction.

Nested transaction is required in places like this:

def create():
      create_something()
      try:
            _do_other_thing()
      except Exception:
             with excutils.save_and_reraise_exception():
                     delete_something()

def _do_other_thing():
     with context.session.begin(subtransactions=True):
         ....

When exception is raised in _do_other_thing it
is caught in except block, but the object cannot be deleted in
except section because internal transaction has been rolled back.

A new method safe_creation and has been added
that provides a common way of handling such situations.

Closes-bug: #1501686

Change-Id: I952f6f7f8684743aa7f829bd92b1dc41b2c6aecf
2016-01-18 13:36:39 +03:00
Jenkins
ab68da426f Merge "Fix the duplicated references" 2016-01-17 20:36:42 +00:00
Jenkins
92fb281257 Merge "Add opnfv tag to the list of auto-complete tags" 2016-01-17 20:35:15 +00:00
armando-migliaccio
c1d2ef0149 Fix the duplicated references
Change-Id: Id527718bf25be54b765dfa6f3f1155ff3485ae64
2016-01-15 11:22:40 -08:00
armando-migliaccio
ce6b78f981 Add opnfv tag to the list of auto-complete tags
The OPNFV project [1] is a reference implementation of the
ETSI NFV architecture built on open source components.
OpenStack, and Neutron in particular, are key elements of
this story, and many requirements and issues are driven and
submitted by OPNFV folks that work in both communities.

This tag makes sure that we can keep all of them together for
tracking purposes.

[1] http://superuser.openstack.org/articles/openstack-and-opnfv-strengthen-collaboration-for-telcos

Change-Id: Ie1675ef6f177558f579097fe035494b9380232d0
2016-01-15 11:16:23 -08:00
Ihar Hrachyshka
2c50df0358 devref: added more details on rolling upgrade for notifications
Change-Id: I585c8792d63d79bb88a6c946863b49952bd6140f
2016-01-15 13:55:53 +01:00
YAMAMOTO Takashi
9df00aca88 doc: Update Ryu Ishimoto's IRC nick
It seems he prefers this nick these days.

Change-Id: I726448149fa534cde717278bb42a2108dcd3742e
2016-01-15 13:35:05 +09:00
armando-migliaccio
7d061045ad Fix URLs for pep8, and unit tests jobs
We switched to constrained jobs a while back, but these links were
showing the non constrained ones, making these graphs useless.

This patch updates them to reflect the jobs that are currently
running, however the docs job is left for later as right now
switching would make graphite fail with:

'TypeError: reduce() of empty sequence with no initial value'

I suspect that's because the job has never failed so far.

Change-Id: I60cab40f3c12099d8437616d8301aecd858ef54c
2016-01-13 12:14:11 -08:00
Jenkins
8fd6456483 Merge "Provide pointer for ML2 extension manager to effective guide" 2016-01-09 04:50:42 +00:00
Jenkins
fd4be32712 Merge "Fixing the deprecated library function." 2016-01-08 04:08:14 +00:00
Jenkins
dec01b8583 Merge "ovs_vhostuser: fix vhostuser_socket_dir typo" 2016-01-07 01:37:36 +00:00
Harshada Mangesh Kakad
4fe1864351 Fixing the deprecated library function.
os.popen() is deprecated since version 2.6. Resolved with use of
subprocess module.

Change-Id: I2ff32c4dc37c543696125ac755dc4adb69ddacdf
Partial-Bug: #1529836
2015-12-30 08:35:44 -08:00
Jenkins
550ab90c1b Merge "Add tests that constrain db query count" 2015-12-25 16:34:32 +00:00
Jenkins
bf9e4133eb Merge "Add address scope to floating IPs in RPC response to L3 agent" 2015-12-24 00:07:41 +00:00
Carl Baldwin
02439b6730 Add address scope to floating IPs in RPC response to L3 agent
The L3 agent needs to know the address scope of the fixed ip of each
floating ip because floating ips are a way to cross scope boundaries.
Without the scope information, there could be ambiguity and no way to
know which scope to send it to.

[1] https://review.openstack.org/#/c/189741/

Change-Id: Id9f8c12954a6efbf4d9b99c011652eefbe5f5145
Partially-Implements: blueprint address-scopes
2015-12-23 10:16:15 -07:00
Kevin Benton
4885ef4885 Add tests that constrain db query count
This patch adds unit tests to ML2 and L3 that ensure that the
number of DB calls during list operations for ports, networks,
subnets, routers, and floating IPs remains constant regardless
of the number of ports.

These will prevent changes from slipping in that result in
a separate DB query for each object in a list operation
(for changes to the extensions used by ML2 and the DVR plugin).

Related-Bug: #1525295
Related-Bug: #1513782
Related-Bug: #1525423
Related-Bug: #1525740
Related-Bug: #1526644

Change-Id: I1958fc7c318bbf73238a3ad5be133fa7800c8290
2015-12-21 11:54:38 -08:00
armando-migliaccio
5a403468bc Provide pointer for ML2 extension manager to effective guide
This is sorely missed in the devref. More content should be
added. Hint hint.

Change-Id: If8a7e98a9ebd6b4fe7effa6c577ea818c63d8d85
2015-12-18 16:56:28 -08:00
armando-migliaccio
fce62cf424 Add notes on loading strategies for ORM relationships
There have been a number of regressions caused by our inability
to thoroughly review relatiohships' loading strategies. We should
at least make an attempt to remind ourselves, and since I am guilty
as charged, this patch is my attempt to redemption.

Change-Id: I879cfceaa51386e9d6c683e7e02487df92b7e290
2015-12-18 16:34:21 -08:00
Assaf Muller
aee9ac8db7 Add new troubleshooting bugs tag
The rationale is that we would have a single tag to track all
bugs that are about admin and user ease of use, logging quality,
and debuggability.

Change-Id: Ie42e08c924c9e742bdc6d9f4b68bdfbd1a622ba4
2015-12-17 18:59:13 -05:00
Jenkins
327c12770f Merge "Updating devref for networking-onos project" 2015-12-16 07:24:56 +00:00
vikram.choudhary
8bf16fa764 Updating devref for networking-onos project
Below changes are done as part of this patch.
* Mention about ONOS l3 support.
* Proposing Mr. Albert Dongfeng as a lieutenant for networking-onos.

Change-Id: I87827b08ed868f68cbd49c1fa7b91352d3c46605
2015-12-15 08:19:00 +00:00
Jenkins
dbc541be54 Merge "Add address scope to ports in RPC response to L3 agent" 2015-12-12 00:09:32 +00:00
Jenkins
08bd35fa6f Merge "Add linuxbridge job to the dashboard" 2015-12-10 09:15:45 +00:00
Jenkins
8e9a737801 Merge "devref: Rolling upgrade mechanism for rpc-callbacks" 2015-12-10 09:11:19 +00:00
armando-migliaccio
62bbafb711 Add linuxbridge job to the dashboard
This is to track the failure rate, and it's not looking good so far.

Change-Id: Id6f8b751a2554904f015e642d09354d645927967
2015-12-09 17:19:37 -08:00
Wanlong Gao
a487982090 ovs_vhostuser: fix vhostuser_socket_dir typo
s/vhoustuser_socket_dir/vhostuser_socket_dir/

Change-Id: I4317b59d683e1aedf5e49049309c5b089516eb81
Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
2015-12-09 15:28:04 +08:00