417 Commits

Author SHA1 Message Date
Jenkins
731e99962e Merge "Trivial doc fixes" 2016-05-19 07:47:05 +00:00
Mohammad Banikazemi
6fdd50af0f Trivial doc fixes
Change-Id: I93254c10204b23d2507f0259325c98b56a8d49c7
2016-05-18 18:08:50 -04:00
Jenkins
576486bb33 Merge "Install new 'tap' driver file" 2016-05-18 15:07:09 +00:00
Jenkins
a51358cade Merge "Check vif_type if supported in kuryr" 2016-05-18 13:56:16 +00:00
Liping Mao
a1d03d48ec Check vif_type if supported in kuryr
The patch checks if vif_type is supported in kuryr,
add proper exception handling and error log message.

Change-Id: I94401033094b5f66151ab73c2204e7202b1e2d00
Closes-Bug: #1582750
2016-05-18 19:08:49 +08:00
Jenkins
94ac9d0bba Merge "Makes tap device name consistent" 2016-05-17 18:20:50 +00:00
Mohammad Banikazemi
7b5c5dd318 Makes tap device name consistent
Keeping device names used by Kuryr consistent with those used
by Nova makes the users' and operators' experience better. It
also makes debugging easier for those used to names employed by
Nova. This patch set changes the tap device name to use part of
the Neutron port id.

Closes-Bug: #1582348
Change-Id: I502f7bba09044106885de28cef8a432d5b5b1321
2016-05-17 10:37:44 -04:00
Jenkins
7fc0afd4aa Merge "Add devref of Raven" 2016-05-17 09:34:27 +00:00
Jenkins
d5635e6c97 Merge "Change default scope to local in code comments." 2016-05-17 06:19:01 +00:00
Jenkins
c947086e94 Merge "Updated from global requirements" 2016-05-17 06:09:13 +00:00
Jenkins
b2c20a2083 Merge "Revise Vagrant install readme notes estimated run time" 2016-05-17 06:08:34 +00:00
Neil Jerram
f2b9d441b8 Install new 'tap' driver file
Sorry, this should have been included with c97af831, but I forgot it.

Change-Id: I6ff95d273e627b2992c8502d0c3c0954be37d6b7
2016-05-16 18:35:05 +01:00
OpenStack Proposal Bot
862a579cad Updated from global requirements
Change-Id: Icd5214f036687d47f1d861602dbb153eac617efa
2016-05-11 17:23:45 +00:00
Fernando Moreno
370488315f Improve documentation
- Added keystone config in kuryr.conf
- Uncommented bindir parameter in kuryr.conf
- Added a quick cli test in the testing section

Change-Id: I5076fb8a2b56262bfce52c232ef7543ea0ea5436
Signed-off-by: Fernando Moreno <fernando@midokura.com>
2016-05-11 10:33:23 +02:00
Liping Mao
f611096945 Change default scope to local in code comments.
Change-Id: Iafb662f078e9e467c40e0d97640560fdbdb633d8
2016-05-10 23:52:46 +08:00
Jenkins
e6a09b2269 Merge "Adding support for two new libnetwork methods" 2016-05-10 13:05:16 +00:00
Mohammad Banikazemi
2883a7522d Adding support for two new libnetwork methods
In Docker 1.11 support for the two newly added
libnetwork methods is not required. However, not
having these supported result in errors that may
be confusing to users.

These two methods are to make support for exported
and published ports on a per container basis as discussed
here: https://github.com/docker/libnetwork/issues/992
It is proposed that by Docker version 1.12 support
for these methods become mandatory.

Support for exposed port will be added in a separate patchset.
Support for publishing port may be added later on when
needed support in Neutron is available.

Change-Id: Idf69a094eda2141cfa25b79d3095010871e1c9e8
2016-05-10 08:19:20 -04:00
Jenkins
4dde2e792d Merge "Switch to using hacking checks from neutron-lib" 2016-05-09 20:05:08 +00:00
Jenkins
c4061312d8 Merge "Add support for VIF_TYPE_TAP" 2016-05-09 19:57:32 +00:00
Antoni Segura Puimedon
7f4146e044
containerization: Add dockerfile
This adds an alpine linux based docker image for running kuryr

one can try it out doing:

    sudo mkdir -p /usr/lib/docker/plugins/kuryr
    sudo curl -o /usr/lib/docker/plugins/kuryr/kuryr.spec \
      https://raw.githubusercontent.com/openstack/kuryr/master/etc/kuryr.spec
    sudo service docker restart

    docker run --name kuryr-libnetwork \
      --net=host \
      --cap-add=NET_ADMIN \
      -e SERVICE_USER=admin \
      -e SERVICE_TENANT_NAME=admin \
      -e SERVICE_PASSWORD=pass \
      -e IDENTITY_URL=http://127.0.0.1:35357/v2.0 \
      -e OS_URL=http://127.0.0.1:9696 \
      -v /var/log/kuryr:/var/log/kuryr \
      kuryr/libnetwork

Change-Id: I68d727194d6029da965fca90fdd464ed45b02044
Signed-off-by: Antoni Segura Puimedon <toni@midokura.com>
2016-05-09 11:29:45 +02:00
Antoni Segura Puimedon
7aa20ff639
Add missing files to the install script
In order for Kuryr's libnetwork driver to function, it is essential
that /usr/libexec, the driver specfile and /etc/kuryr get installed.
Up until now, this was manual. This change fixes it.

Change-Id: Ifdb6048a154aa811a0369cbcdb848b19798bc51f
Signed-off-by: Antoni Segura Puimedon <toni@midokura.com>
2016-05-06 19:04:37 +02:00
MikeG451
ce2b81feb3 Revise Vagrant install readme notes estimated run time
Bug description:
vagrant install readme notes vagrant up should take around 10min;
mine took 38min

Change-Id: Idc5312f30678850aaa25ac55b46e47a344f77b15
Closes-bug: #1577545
2016-05-06 07:35:53 -07:00
Christophe Sauthier
711d5bcfe2 Enable the change of docker-engine and etcd listen TCP port in devstack
Change-Id: I2671cecbe3705fedd47a927fbb58274a7110e1fe
Closes-Bug: bug/1527975
2016-05-03 14:43:57 +02:00
Jenkins
bc885f2bf4 Merge "Only install docker in case it is not installed" 2016-05-02 15:28:38 +00:00
Jenkins
347985d46d Merge "Adding support for OVS Hybrid binding" 2016-05-02 15:01:08 +00:00
Mohammad Banikazemi
cc05a7b903 Adding support for OVS Hybrid binding
Allows the OVS binding script to recognize if it
has to do hybrid binding or not and operate accordingly.

Closes-Bug: #1535828
Change-Id: I7c7d7b115b546c136a07880bc568662558dbc950
2016-05-02 09:52:56 -04:00
Antoni Segura Puimedon
24eb1458dd
Shrink logo size
It displays too big on github, so maybe better we shrink it.

Change-Id: I31bc67eaf3780aafd4a7429e58671c90a93a9a0f
Closes-Bug: #1576766
Signed-off-by: Antoni Segura Puimedon <toni@midokura.com>
2016-04-29 10:49:32 -05:00
Neil Jerram
c97af83144 Add support for VIF_TYPE_TAP
The networking-calico Neutron driver/plugin uses VIF_TYPE_TAP, so this
change enables using Kuryr with networking-calico

Change-Id: Ic5a079ad4e4d7be73e9fc81145e28bc6ee59bc36
2016-04-28 16:19:13 -05:00
Doug Wiegley
73043cdab2 Switch to using hacking checks from neutron-lib
Temporarily comment out the 'no neutron' check.

Change-Id: I8da2a5259528d05d58e2b6aa2fc34e3e0ae128a7
Partially-Implements: blueprint neutron-lib
2016-04-24 23:21:10 -05:00
Frederick F. Kautz IV
07dca2a49b Activate libnetwork plugin with .spec instead of .json
Docker 1.11.0 fails to activate libnetwork plugins specified with .json files.
Using .spec files still works. Adding a .spec file and configuring devstack to
work around the bug.

Change-Id: I041a5e9a526c2e63c92f3d01411afda8b7beb601
Closes-Bug: #1572369
Signed-off-by: Frederick F. Kautz IV <fkautz@redhat.com>
2016-04-21 18:15:56 -07:00
Taku Fukushima
0b0af3d3e6
Add devref of Raven
This patch adds the devref of Raven, a K8s API watcher component. The
devref contains the abstract of Raven, the design of it, the useful
information for developers.

Change-Id: I8f0e801f81f101a51d62f4b4cc854176e67e75dc
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Related: blueprint kuryr-k8s-integration
2016-04-21 17:55:54 +09:00
Jenkins
b822c22c8f Merge "Makes use of Neutron tags optional" 2016-04-21 08:18:24 +00:00
Mohammad Banikazemi
4f537b5007 Makes use of Neutron tags optional
Use of Neutron tags requires using the Mitaka release.
To support earlier releases, this patch makes the use of
Neutron tags optional.

Change-Id: I5f4cef506e2f1f8f3bf56ddcc73d3fe5e4d4d0e8
Closes-Bug: #1570334
2016-04-20 16:39:33 -04:00
Jenkins
fb7b0480ee Merge "Adds support fot IpamDriver.GetCapabilities" 2016-04-20 08:39:56 +00:00
Jenkins
cbf064c6c9 Merge "Vagrant: Allow running the "docker" command as the vagrant user" 2016-04-19 22:48:40 +00:00
Mohammad Banikazemi
75d27a1e96 Adds support fot IpamDriver.GetCapabilities
The only capability currently defined is RequiresMACAddress
which is being set to False to indicate that providing the
MAC address is not required.

Closes-Bug: #1572300
Change-Id: Ia1f7cf9e87d1c8f34111f847331aabc01541a0a1
2016-04-19 16:00:55 -04:00
Kyle Mestery
849f32ee12 Vagrant: Allow running the "docker" command as the vagrant user
This adds the setting of DOCKER_HOST into the kuryr_rc file,
and moves the sourcing of said file into .bash_profile upon
user login. With this change, you can now login to the Vagrant
VM and run docker commands as the vagrant user.

Change-Id: If9b27b63b1dd017471714e18e70c2bf2138e65db
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-04-19 08:35:23 -05:00
Kyle Mestery
d45a1cfb30 README.md: Cleanup documentation
Some things have changed since this was written, namely that kuryr itself
is started as part of devstack and the kuryr subnetpool is created. Also,
the instructions for using user_local.conf to add another Neutron plugin
need some updating.

Change-Id: I5f9a7ee1fff2607f5fbf2117e34ad4bc9b095b1f
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-04-18 14:15:03 -05:00
Christophe Sauthier
eefe1dbd64 Fix ovs creation of the port
This patch fix the mac address of the port to the right value.
It also creates the port atomically (with the various details),
avoiding it to be misinterpreted by ovs-agent.

Change-Id: I16f89a30ac3b47eeaa5edddd37712934729fdf93
Closes-Bug: 1569412
2016-04-14 17:54:56 +02:00
Taku Fukushima
45edc61f94
Modify run_kuryr.sh to accepts arguments
This patch modifies run_kuryr.sh to accept arguments and pass them down
to kuryr/server.py. This enables users to have more flexibility for
launching the Kuryr libenetwork remote plugin as follow.

  $ ./scripts/run_kuryr.sh --log-dir . --log-file kuryr.log

Change-Id: I9aa6ea4b58b3485f49689dc46cb6924a3e70b5c9
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1570253
2016-04-14 18:19:42 +09:00
Jenkins
fe12e78360 Merge "Add oslo.log and use its config options by default" 2016-04-13 20:02:29 +00:00
Jenkins
6b07c5d7d0 Merge "Fix wrong example in existing-neutron-network.rst" 2016-04-13 17:41:00 +00:00
Jenkins
23eb50b390 Merge "Fix warning for docs generation" 2016-04-13 11:56:04 +00:00
Taku Fukushima
409cffac1d
Add oslo.log and use its config options by default
This patch introduces oslo.log as the new dependency and modifies the
configuration to use its options by default. Options can be configured
through the generated config file.

Change-Id: Iad9ccc5a521ffc49fe813a90ab0ce4997db707d1
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1569672
2016-04-13 20:36:47 +09:00
Jenkins
01e4123988 Merge "Add notice to remind user to install tox" 2016-04-13 08:04:16 +00:00
Taku Fukushima
02b9558c03
Make logging level configurable
This patch makes the logging level configurable in the config file.

Change-Id: Id51c92ab8a51aab0eac3b60700d3d013b13293d0
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1525088
2016-04-12 17:43:47 +09:00
OpenStack Proposal Bot
b16fe0482f Updated from global requirements
Change-Id: I73e066a2a2d61b9c8c99fe37078075b1788f1159
2016-04-07 17:19:08 +00:00
Irena Berezovsky
53bde0ae4f Fix warning for docs generation
Change-Id: I5f535f3cc65e5bb6d8dcbaf3f7f5b2155a1a5654
2016-04-06 10:28:20 +03:00
Liping Mao
7b5cce42df Fix wrong example in existing-neutron-network.rst
Change-Id: I9861b457770515831d23cc1506f56834256d9e45
2016-04-05 23:29:52 +08:00
OpenStack Proposal Bot
68f1e01a09 Updated from global requirements
Change-Id: I134943e0f2b758964896fd0896edc682595a93c9
2016-04-05 13:29:06 +00:00