The devstack plugin should only use the openstackclient to
interact with OpenStack services via CLI.
This patch fixes both the devstack plugin and the examples.
Task: 5678
Task: 5680
Task: 5698
Story: 2001183
Change-Id: Id30ab0484edb350f0a424a0fc90c381357614b8e
Nova secgroup-add-rule is not available anymore.
Change it to 'openstack security group rule create'.
Change-Id: I43befb0635ea4f8978b0d863722599cff3863a03
As a followup to I2c78a0c6599b92040146cf9f0042cff8fd2509c3, the nova
cert service should be removed from the devstack local.conf examples.
Without this fix, stacking will fail is USE_SCREEN=True
Change-Id: Ifb7fc1e423abf6f1509a0724e45b352fdb908def
As a followup to I273c3c8299ee329bed425f3e7cd4b583ed1187a4, adding
nova placement services which are mandatory starting Ocata.
Change-Id: I74adfd6aa3bc0cb1061427ef6d66fc8d3c20d776
In Newton nova call to image-list was deprecated and
it's not available anymore.
I've switched the cli call to openstack image list which
does the job perfectly.
Change-Id: I2091328998d8b5fbf383f3d32b2d3c0cc24ca618
The main octavia node will need the OCTAVIA_NODES setting
in the following format to setup the octavia API haproxy
in front of all of them.
OCTAVIA_NODES=main:<ip-address>,second:<ip-address>
Change-Id: I4a88dae4aa47c508559fd7464f127a23b089af2a
This commit introduces a new parameter "OCTAVIA_NODE", which
is standalone by default. Only the main (for ha) or standalone
nodes create resources like accounts, the management network,
images, etc.
We also introduce a multinode vagrant configuration.
A follow up patch will introduce an haproxy in front of the octavia
API endpoints.
Change-Id: I835ee7e0e925232b55f3c14eeed98aeb0f0ce463
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
This makes the creation of resources in the sample Vagrant
configuration less dependent on the host resources or hypervisor
execution time.
Before this, the local.sh was randomnly failing at any of it's steps
in my environment.
Change-Id: Ie3795a1f9244b46f5b6469107ad1d03f087a64ed
The local.conf example includes setting up Horizon. It should include
setting up the lbaas-dashboard as well.
Change-Id: I44073aea3f1769dc1211967baa629bb6d2f1323d
Fixing the keystone token issue due to the different
keystone version env variables
Change-Id: I6a60502f7b8369755f69a231a81032d04cf518ab
Closes-Bug: #1559223
Swift is not default enabled by devsatck, and it is not used
by Octavia by default too. The content in the sample local.conf
is useless.
Change-Id: Ie3accb5c1be455f0212fbc07d4f5c26a55529b3c
Since the end user may enable IPv6. the nova-show command will
display network information format randomly. this fix will make
sure always get IPv4 value to avoid error in rest steps
Closes-bug: #1549091
Change-Id: I69e1fbb6f625e3a9491ee9e69263ed578c03610f
The sample web server, using nc, currently does not close the
connection after serving the content. This can cause clients to
hang waiting for the connection to close after the content has been
served. This patch includes the content length in the response
so that the connection will close.
Change-Id: I9443157f1edd8ed7e90599df73f5a48f16c955f1
Local certificate manager is broken and should probably be removed,
since the effort was never taken to make it functional (adding
additional fields for taking raw certificate data in the API).
Barbican should be the default as it is the functional option.
Also taking this opportunity to clean up the config and local.conf
defaults to match reality.
Change-Id: Icf1e89838b761e7d2926c8eb7532404b4c2f19dd
The cirros version in local.sh and in local.conf are mismatched,
which causes the nova boot error in devstack.
This patch updates both cirros version to the latest version 0.3.4.
Change-Id: I5cb828914dfd127ac64628520498d38c1a157f46
The cirros doesn't have /bin/ash and /bin/bash.
We should use /bin/sh instead of /bin/ash, and give execute permissions.
Change-Id: I9efa49174377566943f685c345e181ca38ee031e
Updated files to use openstack instead of stackforge
Updated devstack samples to not point to old references
Change-Id: I501d76173475bb1619006819d971493854fdd15c