Linux is using AF_INET6 code equal to 10 on Mac OS X it's 30 because of that
numeric codes changed for socket reference.
Additionally a few lines changed to be more pythonic - removed unnecessary plus
signs from beginning of line.
Change-Id: Ie5afa2a98ea1b98d8e4148f258c071971975d9b9
Closes-Bug: #1540662
The nova team has decided to remove nova v2 API code completely. And it
had merged: https://review.openstack.org/#/c/311653/
we should bump to use v2.1 ASAP
Change-Id: Iee5582b5a74bceead2484684b214fca685dbaede
Closes-Bug: #1588171
Validating the subnet id to check if it exists
while creating loadbalancer and adding member
Closes-Bug:1453484
Change-Id: Id7d62570f7b91eeea5ad285694122ec2a20dd2a6
Otherwise, in a multiple controller devstack deployment, all services
point to localhost, which won't work.
While we're at it I removed oslo_messaging_rabbit rabbit_port, since
rabbit_hosts option overrides the former setting.
Change-Id: Ib3c9b75a24ae9351ac7e6f2b4b748ccd6bcb2236
This patch is part of a series that will allow the deployment
of a simple multinode octavia devstack, where the certs and
ssh keys are uniform over all the controllers.
Orchestrating the deployment of the same ssh keys or certificates
becomes difficult without making use of tools like ansible otherwise.
The provided certificate is valid for 10 years.
Change-Id: I45e8e54d58a725281636a61fdb769265de50d9ba
The only targets that are left unconstrained are those that belong to
post merge queues where constraints are not yet available.
Change-Id: I0546be87a0bb2a34b8c030d883ede3c45e6d6f54
With Flask 0.11 setting error handlers by directly modifying
app.error_handler_spec dictionary leads to AttributeErrors.
It should be done by using register_error_handler method or
errorhandler decorator.
Change-Id: I2f41ab2b9ea8c4a964b16acdf77def1b08b64a6e
Closes-Bug: #1587849
Currently there is no way to for the haproxy templater
to know any data about the current host configuration.
This patch passes the 'host amphora' to the templater
allowing deployer the ability to use this information
if needed. This information is not currently needed in
the default configuration.
Change-Id: Ifbc07618e470c375f7c574a1bc82ae24f080f1c3
Closes-Bug: #1582507
Currently the network task configures the network
configs, this means other driver cannot use the data
they need to.
Change-Id: I3b6e25f3c7f7343d89b9e6844382e7696ea5d4be
Closes-Bug: #1581303
Remove uncommenting the 'username' option in sample config that actually
does not exist in config since commit 42c12d7e8c5b7dd4ba4f0c7630ad5124f63441e9
Change-Id: I6dc8aef8d2a9f12c6d0a067ecf0b63e532303255
Now we can do:
VM_CPUS=4 VM_MEMORY=6000 vagrant up
And this will spawn an instance with 4 VCPUs, 6GB of RAM, and devstack
+ octavia deployed.
This allows for better adjustment of resources and capabilities, based
on the type of development or test we inted to perform.
Change-Id: I3f22a43a1a4cf4af907222fd46c015d8a5c269be
Add libvirt provider support, the image, although non ubuntu official,
is built by an openstack contributor (apuimedo
It can be used with:
vagrant plugin install vagrant-libvirt
vagrant up --provider libvirt
You can fix the provider in your system by adding to /etc/profile
export VAGRANT_DEFAULT_PROVIDER=libvirt
And enable kvm nested virtualization by:
sudo rmmod kvm-intel
sudo sh \
-c "echo 'options kvm-intel nested=y' >> /etc/modprobe.d/dist.conf"
sudo modprobe kvm-intel
Change-Id: I604523e6bc247edee480e881db4e66f3df039af3
Our vagrant file makes use of ssh-keygen -R to remove any old key
related to an IP address from known_hosts.
But ssh-keygen fails and makes the local.sh exit with failure
(error 2) if the ~/.ssh/known_hosts file does not exist.
Change-Id: I404e79ca644c6c15f51a0f3db6695cc5a895b238
Vagrant rsyncs or mounts by default the directory containing the Vagrantfile
under /vagrant inside the instance.
With this change, it's possible to modify local scripts and redeploy,
eliminating the build dependency on the remote git server.
Change-Id: Ibb016a8c433644c18c033c66bd3a3cc9571af9f4
Implements support for custom header insertion in Octavia.
A listener may be configured to insert custom headers which are
supported by Octavia. Currently implemented support for
X-Forwarded-For header, and X-Forwarded-Port
Change-Id: I784f4939225c3acef362fcb5df57e77dbfb0f774
They are modules, should be imported rather than running in shell,
hence not require for executable privilege.
Change-Id: I869d73411ec8e308a80d780e10e77dcc48097d42