17992 Commits

Author SHA1 Message Date
XieYingYun
ce8b1841fb Optimize the link address
Use https instead of http to ensure the safety without containing our
account/password information

Change-Id: If14429d0beed57cace5a4929c56fa811920ca132
2017-04-07 09:55:12 +08:00
Jenkins
e67ed785b7 Merge "Enable keepalived debug logs when debug=True" 2017-04-06 08:11:48 +00:00
Jenkins
4834acead2 Merge "Add sem-ver flag so pbr generates correct version" 2017-04-05 23:59:30 +00:00
Ihar Hrachyshka
ebc30229c4 Log messages for keepalived-state-change in syslog
We don't maintain a long standing log file for the helper process, so
any log messages that we issue from inside it just vanish after router
cleanup.
This patch enforces syslog logging for the daemon, revealing any errors
and other messages that may be triggered by it.

Closes-Bug: #1635629
Change-Id: I8712f5f3a34fc9f403dfba06e7a64bd9eb408c4a
2017-04-05 17:47:33 +00:00
Ihar Hrachyshka
d806249381 Enable keepalived debug logs when debug=True
This will expose more details about what keepalived is doing (like
adding new VIPs, gARPs sent, config warnings and such).

Change-Id: I297f13f3debe0c80d1ad58f9031618fec3575ad0
2017-04-05 10:06:56 -07:00
Jenkins
f9b9474e8c Merge "Use os-xenapi for neutron when XenServer as hypervisor" 2017-04-05 11:55:46 +00:00
Emilien Macchi
0bdc6b980b Add sem-ver flag so pbr generates correct version
tl;dr : without this Ocata and Pike have the same version causing
packaging issues.


https://docs.openstack.org/developer/pbr/#version

Because projects don't push a tag before milestone 1 (pike-1 here),
downstream packages are still building packages by using the version
from Ocata and it causes problems to distros because they can't test
the upgrades from Ocata to Pike.

Bumping the semver will allow us to test packages upgrades.
Note: When your version is X.Y.Z, api-break will bump X, and feature
will bump Y. In this patch, we bump X because this is the way you
bump tags over releases.


Change-Id: I7f3549852e984bb32cdaeb7d8a758c18db045b26
Sem-Ver: api-break
2017-04-05 11:45:13 +00:00
Jenkins
90567b3bc0 Merge "Inherit segmentation details for trunk subports if requested" 2017-04-05 09:36:56 +00:00
Jenkins
323219c19a Merge "Fix tempest router timestamp test when HA enabled" 2017-04-05 08:47:44 +00:00
Jenkins
7d8ccdc162 Merge "Remove unnecessary overrides in Subnetpool OVO" 2017-04-05 06:58:47 +00:00
Jenkins
9f758db4c7 Merge "hacking: disable log translations check" 2017-04-04 22:55:16 +00:00
Jenkins
2dc0b20a87 Merge "Let setup.py compile_catalog process all language files" 2017-04-04 22:53:53 +00:00
Jenkins
d64458d81d Merge "Remove unused phys_net parameter form EmbSwitch class" 2017-04-04 22:23:31 +00:00
Jenkins
2d9a88a3cc Merge "Use oslo.context class method to construct context object" 2017-04-04 19:33:28 +00:00
Brian Haley
9b31b388a8 Fix tempest router timestamp test when HA enabled
When run in an HA or DVR configured environment,
the test_show_router_attribute_with_timestamp API
test can fail with an 'updated_at' timestamp mismatch.

The test should check if the timestamp is >= since
post-creation code could update the object.

Closes-bug: #1679794

Change-Id: I3c58af022d1699ab05ca964b6d957dae39cf1ccc
2017-04-04 14:10:41 -04:00
Inessa Vasilevskaya
fb64e7de49 hacking: disable log translations check
In order to stay along with log translation guidelines [1]
N320 check should be disabled.

[1] https://docs.openstack.org/developer/oslo.i18n/guidelines.html#log-translation

Change-Id: If45d8dfe256893194b06d0d1139c907665a0605a
2017-04-04 20:34:33 +03:00
Armando Migliaccio
4a6d06550b Inherit segmentation details for trunk subports if requested
This patch introduces support for requests where the user does
not know the segmentation details of a subport and by specifying
segmentation_type=inherit will let the trunk plugin infer these
details from the network to which the subport is connected to, thus
ignoring the segmentation_id in case it were to be specified.

This type of request is currently expected to have correct results
when the network segmentation type is 'vlan', and the network has
only one segment (provider-net extension use case).

DocImpact: Extend trunk documentation to include Ironic use case.

Closes-bug: #1648129

Depends-on: Ib510aade1716e6ca92940b85245eda7d0c84a070
Change-Id: I3be2638fddf3a9723dd852a3f9ea9f64eb1d0dd6
2017-04-03 21:22:38 -07:00
Jenkins
cb60d32003 Merge "Retrieve fresh network DB data before getting it in ml2" 2017-04-03 23:46:39 +00:00
Manjeet Singh Bhatia
0387c6181a Removing workaround for bug 1656947
paginate_query was exploding when sort_keys had a
boolean column, since it was fixed in 4.18.0 of
oslo.db. This workaround is no longer needed.

Change-Id: Ie8df9c91c2828bb8886f9b175f06966fe9dd962c
2017-04-03 20:00:31 +00:00
Jenkins
8392619190 Merge "Updated from global requirements" 2017-04-03 19:54:08 +00:00
Jenkins
7766c0091f Merge "Handle auto-address subnets on port update" 2017-04-03 19:16:56 +00:00
OpenStack Proposal Bot
35fbd670d6 Updated from global requirements
Change-Id: I8e5b37364c0e80a532f4998d62fe5057091ffbec
2017-04-03 16:51:51 +00:00
Jenkins
7c22311b61 Merge "Add validation for security_groups parameter in Port" 2017-04-03 07:52:39 +00:00
Jenkins
81caec1147 Merge "Increase coverage in agent/l3/dvr_local_router.py" 2017-04-02 18:18:56 +00:00
Jenkins
43b8bccb62 Merge "Configure HA as False when creating a router for DVR tests" 2017-04-02 16:50:14 +00:00
Jenkins
bd13a42365 Merge "raise Exception instead of LOG.error on cookie/mask inconsistency" 2017-04-02 11:19:02 +00:00
Jenkins
aeee7a5c90 Merge "Use is_loaded in manager.init" 2017-04-02 04:58:04 +00:00
Jenkins
959a315d11 Merge "Write vrrp_script before (re)starting keepalived" 2017-04-02 03:57:17 +00:00
Jenkins
e3ffe24b2c Merge "Update metering agent to use stevedore alias for driver" 2017-04-02 03:50:09 +00:00
Jenkins
42c7cf2b96 Merge "Switched gate to new neutron-* service names" 2017-04-02 03:49:55 +00:00
Jenkins
e0dd915821 Merge "Remove stale floating IP addresses from rfp devices" 2017-04-02 03:49:40 +00:00
Jenkins
6187d3af33 Merge "Fix call a method of extension class" 2017-04-02 03:26:12 +00:00
Jenkins
77f885f06a Merge "use neutron_lib's portbindings api-def" 2017-04-02 03:25:51 +00:00
Jenkins
3183082da7 Merge "Log instance interface addrs in subport test" 2017-04-02 03:05:49 +00:00
Jenkins
39cc2ca5fd Merge "Apply QoS policy on network:router_gateway" 2017-04-01 12:57:08 +00:00
Jenkins
b8d4f81b8e Merge "New enginefacade for networks, subnets." 2017-04-01 12:19:20 +00:00
Jenkins
6ca8a186ae Merge "Fix relationship event handler for flushes and nested" 2017-04-01 12:07:26 +00:00
Jenkins
36cb26268b Merge "Make RBAC entry removal enginefacade friendly" 2017-04-01 12:05:20 +00:00
Jenkins
de443b7700 Merge "Deal with port commonly when hypervisor is XenServer" 2017-04-01 04:47:03 +00:00
Jenkins
2a819bd39a Merge "TestTrackedResource: register core plugin in directory" 2017-03-31 20:12:59 +00:00
Jenkins
830fe98022 Merge "Handle empty body in add_router_interface" 2017-03-31 19:30:26 +00:00
Jenkins
bb7b357d92 Merge "Egress sg_rules should get 'prefix' from 'dest_ip_prefix'" 2017-03-31 19:26:20 +00:00
Jenkins
62fb7b1fef Merge "Stop making IP-specific provider rules in SG code" 2017-03-31 19:24:10 +00:00
Oleg Bondarev
6ad855a934 Handle auto-address subnets on port update
The patch handles the case when a port is updated
with an IP from a new IPv6 auto-address subnet

See bug for details on how the issue can affect DHCP
functionality.

Closes-Bug: #1678104
Change-Id: If2473f2db3ca16b5f46d3280e79a49756d1c098a
2017-03-31 19:26:34 +04:00
Jenkins
6cda2a7ad1 Merge "Add an example for update in object_usage" 2017-03-31 15:22:21 +00:00
Boden R
7bd521e7ce use neutron_lib's portbindings api-def
Neutron-lib 1.1.0 is now out and contains the portbindings
API definition (as per commit [1]). This patch moves neutron
references over to the neutron-lib version.

NeutronLibImpact
- Consumers using the public constants within neutron's
portbindings API extension must now use the values
from neutron-lib.

[1] 87e42f993c07ae320159d5123662ee9f3bd4d903

Change-Id: I669af9b4c712877772d91a03857ab108714001d4
2017-03-31 09:16:22 -06:00
Huan Xie
3d58ce44d4 Deal with port commonly when hypervisor is XenServer
When neutron is deployed with hypervisor is XenServer, current
implementation will grab port's iface-id via xapi, but this isn't
the proper way:
Port's iface-id is already set when creating VM or hot plugging
VIFs in nova project, so there is no need to grab it via xapi

Change-Id: Ie07527cc89ac81ff1e3519db66925cee482f77a4
Closes-Bug: #1649747
2017-03-30 22:33:14 -07:00
yujie
c20ad344da Egress sg_rules should get 'prefix' from 'dest_ip_prefix'
When adding an egress rule to sg assigned remote CIDR, vms using
this sg will add a rule in iptables like -oxxxxxxxx-x -d CIDR.
But test cases for egress with prefix always using -s CIDR, which
is not correct.

Closes-Bug: #1523835
Change-Id: Ifabfe3278aa0516a222f71153e47149ff4562d5e
2017-03-30 18:01:50 -07:00
Jenkins
fb268d7e91 Merge "LOG.exception for mech dict extend failure" 2017-03-31 00:41:01 +00:00
Jenkins
3c016f4f4a Merge "Revert "Skip DHCP agent query in provisioning block setup"" 2017-03-31 00:11:59 +00:00