for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.
Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
Previously interface_driver for q-lbaas is hardcoded and q-lbaas does
not work when quantum plugin requires additional configuration (like
ovs_use_veth=True). This commit set up interface_driver using
quantum_plugin_setup_interface_driver function.
This commit also moves a script related Quantum service plugin to
lib/quantum_plugins/services/
Change-Id: Iad11c1b31071dfb580843be18be78c83feb91f10
Adds Q_USE_SECGROUP flag for quantum security group
- Added has_quantum_plugin_security_group method for each plugin.
- Set NOVA_VIF_DRIVER to the hybrid VIF driver for plugins with
iptables based security group support.
- Specifying device_owner type on debug port in lib/quantum and
quantum-adv-test.sh. This change makes apply quantum security
group fro debug port
Change-Id: Ifd155798912247d85a9765ef73a2186b929237b4
even when q-svc is disabled, i.e. on node without q-svc in multi-agent architecture,
state_path will be configured in quantum.conf so that agent doesn't crashs anymore
Bug 1156685
Change-Id: I28625e4b606fa61c35179248321632d3d797c547
Force bash to evaluate the command line passed to screen_it so the
commands are executed in a subshell. This seems to make a difference
when using run_service() when the server process is owned by init.
These Quantum services were the only ones in all of DevStack being
spawned in this manner. This will allow the run_service() patch
https://review.openstack.org/#/c/23148/ to succesfully be merged
and the number of test failures due to screen should be reduced to 0.
Change-Id: I97d562adda51d39a5e7fa1dc4d945d4a396201cd
As part of the review request
https://review.openstack.org/#/c/24615/
the Quantum rootwrap.conf is moving to etc/quantum subdir.
Prefer the new location.
Change-Id: I2a893c7b21e252543372854ba511f61cd1fde02f
* Move shared volume configuration from stack.sh to stackrc
* Move Nova network and vnc/spice configuration settings from stack.sh
into lib/nova
* Rename NET_MAN to NETOWRK_MANAGER to match nova.conf attribute name
Change-Id: I9bd2955def553499aa832eda1f0959afe494206a
clean.sh gets rid of all residue of running DevStack except installed
packages and pip modules.
And it eradicates rabbitmq-server and ts erlang dependencies as well as
the other RPC backends and databases.
Change-Id: I2b9a251a0a151c012bae85a5a2f9c2f72e7700be
Bug 1154102
Ensure /etc/quantum/policy.json is the one used by quantum when
deployed through devstack.
Change-Id: Ib4e324911d1ba631d411eb3be78355eee09c39f0
Add support for quantum lbaas plugin.
Configure service_plugins and lbaas agent
in case q-lbaas service is enabled in localrc
Change-Id: Iebaa1ed6a7209175504230faf802a94dc841392f
It is hard to grep errors in current log. so in this patch,
I'm updating die function which also writes log for
screen_log_dir/error.log.
In future, we may categolize negative fault by using
this error.log.
Change-Id: I70a8cfe67ed408284f5c88c762c6bb8acb8ecdb2
This change is required to make quantum security groups support of
OVS/LinuxBridge plugins work.
Previously state_path was configured in each agent config files in
Quantum, but it is moved to quantum.conf. This change follows it.
Change-Id: I290dc98878661375cf8a31a53d857433de0e5462
Bug 1116847
Includes slight refactoring of L3 logic in main lib/quantum as previous
logic treated l3-agent as only way to do L3, whereas NVP has its own L3
support.
Change-Id: Ifd8c6864add5939432b544285cf027e52329dea2
keystone auth_token middleware now allows quantum to have auth_token
configuration in quantum.conf. auth_token middleware supports
auth_token configuration both in api-paste.ini and quantum.conf,
so we can apply this change at any timing.
Change-Id: Ie5dd63e6c6938d2c8118e0f6090ef057c21a772a
Add quantum networking support when nova-baremetal is active.
This creates a ctlplane network and br-ctlplane bridge, and moves IPs
from PHYSICAL_INTERFACE to OVS_PHYSICAL_BRIDGE.
Change-Id: If2026c01b93de0ccc7c3f9112de07b3a9c01ac20
This is a temporary fix until the Quantum patch lands. Then
devstack will be updated to remove all of the root_helper
settings in the DEFAULT section.
The Quantum patch in Question is:
https://review.openstack.org/#/c/20603/
Change-Id: Ie17ae76e8b525481e1002bd941812390cf2e2afc
We are currently moving root_helper to the [AGENT] section. This patch
is intended to enable the transition for that process.
Change-Id: Iff8144f74a1a5f8b0fc9af44bccf0213f4bfad7e
As quantum plugin support is coming like floodlight, nvp and nec,
it's worth while to refactor quantum plugin logic so that each plugin can
be modified/enhanced intervening with other quantum plugin.
And new plugin support can be added easily (hopefully) without modifying
core logic.
Change-Id: Ic5ab5b993272fdd3b4e779823323777a845ee681
* Add priliminary support for running the OVS L2 and DHCP agents
in domU:
* Configure Nova to use the correct vif driver and integration
bridge.
* Configure the ovs agent to target the dom0 integration bridge.
* Install a xapi plugin supporting dom0 execution of ovs agent
commands.
* Config doc: http://wiki.openstack.org/QuantumDevstackOvsXcp
* Supports blueprint xenapi-ovs
Change-Id: If5ab07daab1dc3918004eb4bfb6fed6cab0a71fd
* Previously, configuration for the q-l3 agent was creating a
tenant-owned router. This change maintains that behaviour if
namespaces are enabled, but creates a public (not tenant-owned)
router if namespaces are disabled. Since the L3 agent can only
manage a single router if namespaces are disabled, the change
ensures that the single router can be shared by multiple tenants.
* Add tempest configuration for the public router.
Change-Id: I2878a7eb9797bfd71082a55d4773519dc5198abc
This commit also changes the following:
- Fixes Nova QPID module path
- Fixes a bug Cinder ZeroMQ RPC points to nova module
- Adds ZeroMQ setting for Heat RPC
qpid_is_supported is moved from functions to lib/rpc_backend.
This work is based on the work by Isaku Yamahata <yamahata@valinux.co.jp>
in https://review.openstack.org/#/c/19074/.
Change-Id: I45e21b1fb85e539213f5243764132a37906d7455
The patch introduces devstack support for the Quantum FloodLight/BigSwitch
RESTProxy Plugin.
Change-Id: I8c032fd16723ed6055821de0860fae508df371b7
Implements: blueprint quantum-floodlight-bigswitch-plugin-support
On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.
Just several "su" variant has an option for skipping the new session creation step.
Only one session can posses a tty, so after a "su -c" the sudo will not
work.
We will use sudo instead of su, when we create the stack account.
This change adds new variable the STACK_USER for
service username.
Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
Convert all calls to add_nova_opt to use
iniset $NOVA_CONF DEFAULT
Convert baremetal options to use
iniset $NOVA_CONF baremetal
Change-Id: I03ce2149e1f3abc2feb40c156c50de7dabaf47a2
* Move quantum installation to lib/quantum
* Refactor quantum configuration
* Move Quantum service account creation from keystone_data.sh to lib/quantum
* Define generic functions to install third party programs
* Minor cleanups related to Quantum
* Kill dnsmasq which watches an interface 'ns-XXXXXX' in unstack.sh
* Set default_floating_pool in nova.conf to make default flaoting pool
work when PUBLIC_NETWORK_NAME is other than 'nova'
* Make tempest work even when PRIVATE_NETWORK_NAME is other than 'private'
Change-Id: I4a6e7fcebfb11556968f53ab6a0e862ce16bb139
This prevents old invalid tokens from working after a rerun of stack.sh
and potentially providing users and tenants that don't exist.
Fixes bug 1089700
Change-Id: Icfc22978e41e459d51b50bc7ad2e6d98d766e402
Fixes bug 1088801
devstack does not create signing_dir when keystone token format is UUID.
If the default value of signing_dir is read-only, OpenStack services
such as Quantum server failed to start due to permission denied.
On the keystone client cannot know which token_format is used in keystone
in advance, so signing_dir should be created regardless of the token format.
Change-Id: I1b0d25c1ac4d22d9fb2c5443d15b96fdaa5a4c81
* Set base default env vars in lib/quantum
* Rename common dirs to match devstack conventions
Q_CONF_FILE -> QUANTUM_CONF
QUANTUM_CLIENT_* -> QUANTUMCLIENT_*
Change-Id: I7a2a92b50ef953195f078ac62cb975f28892c05c
sudo is only allowed in stack.sh on the CI, so move setup_quantum code
to the stack.sh.
also fixes quantum debug command setup for linuxbridge and ryu
Change-Id: I11bc0aa242a690e25acc088b3e9f483ceab38f26
This patch allows using the Quantum Ryu plugin.
Ryu plugin lets Quantum link Open vSwitch and Ryu OpenFlow controller[1].
Ryu OpenFlow controller is not Openstack component, but I added some
processing that is related with Ryu to stack.sh for the convenience of
the person who intend to try the plugin.
Instructions for using Ryu plugin:
1. Enable services: "q-svc", "q-agt", "q-dhcp", "q-l3", "quantum", "ryu"
2. Set Q_PLUGIN to "ryu"
3. Set an internal network interface name to connect br-int on plural
hosts to RYU_INTERNAL_INTERFACE (optional)
Example localrc:
disable_service n-net
enable_service q-svc q-agt q-dhcp q-l3 quantum ryu
Q_PLUGIN=ryu
RYU_INTERNAL_INTERFACE=eth1
[1] http://osrg.github.com/ryu/
Change-Id: Ic1da132fa421f1c70c10a319ee3239831b0f956f