579 Commits

Author SHA1 Message Date
Steven Dake
32b53e1272 Make the demo use the default key mykey
The old key defaulted to sdake which was incorrect.

Change-Id: I76a87d2e7da17a245f6ee339db4fd4149ddfe5ff
2015-04-30 01:40:59 +00:00
Jenkins
90ae33a3df Merge "Consolidate tools/conf-* scripts in tools/init-runonce" 2015-04-28 15:41:48 +00:00
Jenkins
4887662c45 Merge "Change the default shell to bash" 2015-04-28 12:40:43 +00:00
Martin André
90ad52c4c1 Consolidate tools/conf-* scripts in tools/init-runonce
Fix issues reported in https://review.openstack.org/#/c/177681/3, and
simplify detection of cirros images in glance.

Only add developer's SSH key to nova if ~/.ssh/id_rsa.pub exists and is
readable.

Change-Id: I5936c6db399d63902d460b0d3c959619073cc3cc
2015-04-28 12:15:42 +09:00
Jenkins
5f1cfa824f Merge "Add support for configuring via Neutron networking" 2015-04-28 03:07:39 +00:00
Jenkins
ca1d1c0fa6 Merge "Add a conf-novanet to configure nova" 2015-04-27 22:27:33 +00:00
Jenkins
476f9c4dea Merge "Add a demo using Heat" 2015-04-27 21:31:10 +00:00
Steven Dake
716eeae386 Add support for configuring via Neutron networking
Configure the network for use with Neutron.

Co-Authored-By: Daneyon Hansen (danehans@cisco.com)

Change-Id: Iab0496cf40683ca29cbe38066ae446aa8c6c4c36
2015-04-27 14:22:23 -07:00
Steven Dake
fbee7e842f Add a conf-novanet to configure nova
Configure nova networking and nova quotas to allow 40 m1.small
instances to run.  Checks for keystone credentials set.  May only
be run once.

Change-Id: I36e01d42ec283651babbb59268452a65e644626e
2015-04-27 14:20:10 -07:00
Jenkins
7a7de53c53 Merge "Tidy up dev quickstart" 2015-04-27 19:47:36 +00:00
Steven Dake
335f2e2a54 Add a demo using Heat
Add a demo using heat

Change-Id: Ife5f94a338e8723eb300f5c41d53d750e19700d5
2015-04-27 02:17:15 -07:00
Chen Zhiwei
76c1fe6371 Change the default shell to bash
Unify the shell to bash in all Kolla scripts.

Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a
Implements: blueprint use-bash-shell
2015-04-27 13:26:37 +08:00
Steven Dake
0d73d96932 Tidy up dev quickstart
The dev-quickstart needed a bit of updating.  The major change in this
update is to specify using docker 1.6.0 release version rather than
a docker RC.

Change-Id: I1fcb79e3751c00c5bd75680ef05ec3952d76578d
2015-04-26 18:32:01 -07:00
Jenkins
8781dc570b Merge "Change irc channel" 2015-04-25 07:15:16 +00:00
Steven Dake
ac152802ef Rename quickstart guide
The developer-env is actually a quickstart document.  Rename
it to dev-quickstart to be a little more obvious.

Change-Id: I24c344c45c490c1e3d6c5c8284770f810511add6
2015-04-24 13:10:04 -07:00
Steven Dake
1eb5705db4 Change irc channel
Our IRC channel is #kolla, not #tripleo.

Change-Id: Iccbdc767506070d196490190eb5cc642c9561dfb
2015-04-24 12:53:53 -07:00
Jenkins
20686e48a0 Merge "Kolla runs process on rabbit, not rabbitmq" 2015-04-22 00:51:25 +00:00
Jenkins
12b8aacaae Merge "Do not bindmount nova-compute directories" 2015-04-22 00:51:17 +00:00
Jenkins
005ca3d90e Merge "remove wait_for from glance-api" 2015-04-21 20:53:47 +00:00
Steven Dake
69eba5e3d1 Kolla runs process on rabbit, not rabbitmq
The kolla script runs its process on rabbit, not rabbitmq.  This
results in the rabbitmq compose scirpt not being executed.

Change-Id: I80f8d537c36b6cd598cdcf87f77df418db8ed035
2015-04-21 13:49:17 -07:00
Steven Dake
5408a4f556 Do not bindmount nova-compute directories
Nova uses a data container.  Data containers are expected to
use the VOLUME keyword and then use volumes_from to access
those volumes.  Throwing in a bindmount to the host filesystem
results in unpredicble behavior, usually in the form of files
being stored on the host filesystem that should be persisted
in the compute data volume.

Change-Id: I60a7873995c9397368ed4df61d5a6d4e8250f3c2
2015-04-21 13:10:19 -07:00
Jenkins
a2eb42744b Merge "Introduce tools/kolla to interact with kolla" 2015-04-21 16:37:55 +00:00
Daneyon Hansen
17fc2d9b47 Removes existing network namespaces for neutron-agents container
Previously, network namespaces would not work correctly when
restarting or stop/rm/start the neutron-agents container. This
is because network namespaces created within the container are
associated to the container's pid: /pid/$CONTAINER_PID/ns/net.
With this patch, when a container starts or restarts, the l3/dhcp
agent start scripts will remove any existing qrouter/qdhcp network
namespaces before starting the agents. The agents will recreate the
necessary network namespaces since they are stored in the db.

Closes-Bug: 1444219

Change-Id: Ia86729766fe8c2fc145b3a02d519746b149a73bb
2015-04-21 07:50:48 +00:00
Jenkins
66fb5138db Merge "Add workaround to work with cirros image" 2015-04-17 20:21:33 +00:00
Jenkins
c404151a3e Merge "Neutron doa in current form" 2015-04-17 20:16:06 +00:00
Jenkins
35c0a05bff Merge "Adds Mariadb-client to the Heat template" 2015-04-17 04:52:50 +00:00
Jenkins
c1df91e18d Merge "Disables firewalld for Heat-deployed Fedora instances" 2015-04-17 04:49:00 +00:00
Jenkins
a85917313e Merge "Fix validate-all-yaml.sh to check for files with yml extension" 2015-04-17 04:30:27 +00:00
Daneyon Hansen
f43dbb5029 Adds Mariadb-client to the Heat template
Previously, one would have to use nsenter or docker exec to
interact with the mariadb container. This patch adds mariadb
client support to the Fedora 21 instance, making it easier to
work with and test the mariadb-server container.

Change-Id: Iebfbd88b7ca6a86268e03e3e4cf4763dd46fd6a7
2015-04-16 22:29:07 +00:00
Daneyon Hansen
b18b49d4d7 Disables firewalld for Heat-deployed Fedora instances
Previously, Heat was deploying Fedora21 instances with firewalld
enabled and running. It is well documented that firewalld causes
problems with OpenStack Neutron. That is becasue Neutron uses
iptables instead of firewalld for security filtering.

Change-Id: I25cb32984841423a7b1c44b55cd19b5b4588c9e8
2015-04-16 22:26:38 +00:00
Martin André
75a6c3bc9f Introduce tools/kolla to interact with kolla
This is supposed to prevent proliferation of scripts in "tools"
directory and reduce code duplication.

This first patch replaces tools/{start,stop,pull,status} scripts and
more commands are to be added in the future.

Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
2015-04-16 14:56:48 +09:00
Steven Dake
64a2cf40a5 Add workaround to work with cirros image
The cirros image uses an old dhcp client which does not work
properly with hardware that has checksum offload enabled.  Add
a bootp rule to rewrite the checksum via iptables.

Latest cirros 0.3.33 is afflicted by this bug.

Change-Id: Ibfd1f87af5d0bef9fcb1354121e76e4e0db8ab5e
2015-04-15 19:18:41 -07:00
Jenkins
b3bee1b927 Merge "Adds OpenStack Clients to Heat Template" 2015-04-16 01:55:49 +00:00
Jenkins
97fc682f0e Merge "Updates Docker Client in Heat Template" 2015-04-16 01:50:48 +00:00
Jenkins
58819e0700 Merge "Adds a Status Script" 2015-04-16 01:36:06 +00:00
Jenkins
5c2e13592b Merge "Update developer documentation" 2015-04-16 01:31:45 +00:00
Daneyon Hansen
148d4251b2 Updates Docker Client in Heat Template
Now installs rc5 and changes the install directory to
/usr/local/sbin.

Change-Id: I30332ff0bd4cca1eed7f754c3bd620e59c052c1d
2015-04-15 02:02:53 +00:00
Steven Dake
095fbd7d7c Neutron doa in current form
The nova-config.sh script was exiting because of incorrect shell syntax.

The correct syntax for a regex search is
[[ haystack =~ needle ]].  The .*needle.* is unnecessary.  I think this shell
script exited because a period was missing.

Change-Id: I3aca5e0729eb5fedbe9ecb4d75ed85d5a1c7815a
2015-04-14 18:55:48 -07:00
Daneyon Hansen
2079e44300 Adds OpenStack Clients to Heat Template
Previously, Kolla nodes deployed using the Heat template did not
contain OpenStack clients. This patch adds the OpenStack client
packages.

Change-Id: I72a4db1e4edc7350adf5b302955d39182cc58a58
2015-04-15 01:37:23 +00:00
Steven Dake
4999b0cb53 genenv generated invalid variable
NEUTRON_SHARED_SECRET was being generated incorrectly.  It had a colon
at the front, which causes nova not to operate.

Change-Id: Id0d9390fa60b3d946513098fed394aaba3a53c70
2015-04-14 15:56:36 -07:00
Daneyon Hansen
ad60fbb0a4 Adds a Status Script
Previously, only start/stop scripts existed. The status script
runs docker-compose ps for each container so users can
get a quick snapshot of their Kolla environment.

Change-Id: I3204f3e7404ad906d5330cf67d091fc1f06d3030
2015-04-14 20:40:06 +00:00
Daneyon Hansen
3c04d60673 Adds Neutron to Start/Stop Scripts
Previously, Neutron was not included in the start/stop scripts.
This patch reads the NETWORK_MANAGER value from openstack.env
to start/stop either nova or neutron networking.

Change-Id: I85b31396c2b816b89f33206443c3d60cb4b7914b
2015-04-14 20:21:39 +00:00
Steven Dake
9bbf1ba87b Update developer documentation
Tell users to pull docker-compose from Docker Inc.
Recommend rc3 or greater
Tell users the thread where the bump releases are being discussed
Fix typo in libvirtd

Change-Id: Ib47d3a57452a4266db2b47b41a789908365fda9b
2015-04-14 11:41:10 -07:00
Steven Dake
f8768acff7 remove wait_for from glance-api
For some reason glance sometimes fails to permanently find keystone
while other services do find keystone.  The host also has full access
to keystone.  Change wait_for to fail_unless.

This could be a docker bug, a wait_for bug, or some other problem.

Change-Id: I02d611d65b7ffddb9c27101fd60e2a8b7cc25658
2015-04-14 11:20:03 -07:00
Jenkins
aa5dba96da Merge "CentOS 7.1 image doesn't work with libvirt" 2015-04-14 18:01:57 +00:00
Steven Dake
f4319a9a21 CentOS 7.1 image doesn't work with libvirt
The libvirt package has a dependency on systemd-libs and systemd,
while the centos 7.1 container installs systemd-container-libs
and systemd-container.  We don't need either of these systemd tools
but they reuslt in a broken build of the system if they are missing.

As is, the libvirt container will not build.

Change-Id: I8e5aac0e3a7e9d88a81733a3048971fe9d48ba56
2015-04-14 10:56:41 -07:00
Martin André
bfe0d0e0e9 Fix validate-all-yaml.sh to check for files with yml extension
YAML files can have .yaml or .yml extension. Make `validate-all-yaml.sh`
check for *.yml files in addition to *.yaml files since we now have some
of these in our source tree.

This should help to prevent bogus YAML files to land in the repository.

Change-Id: Id59273680fc2424f7b636033b1d641efcaaeba22
2015-04-14 13:32:09 +09:00
Jenkins
005e4293e3 Merge "Sets debug logging to false" 2015-04-14 00:24:15 +00:00
Jenkins
4a23484a96 Merge "Changes Default Image Prefix" 2015-04-13 20:44:36 +00:00
Daneyon Hansen
c853f62dee Sets debug logging to false
Previously, debug logging was enabled by default. Only verbose
logging should be enabled by default.

Change-Id: I5a1fc805284be777dd49c79cc344a5e8600a238d
2015-04-13 20:33:28 +00:00