During the process, when create_userrc.sh tries to creates
certificates and sourcable rc, it assumes that all users have
the same password.
Change-Id: Ifb57a43aad439ffe041e98465719a8a8eceae544
Closes-Bug: #1260723
The tools/docker/install_docker.sh script fails during the
installation/setup of the docker registry.
The problem is that the used environment variables are wrong.
REGISTRY_IMAGE > DOCKER_REGISTRY_IMAGE
REGISTRY_IMAGE_NAME > DOCKER_REGISTRY_IMAGE_NAME
Change-Id: I16f051abe5c426f295c69d518b49c1b9a7b4cc94
As we are moving forward to test XenAPI in the gate, it is necessary to
move dom0 related modifications to be performed from domU. For this
purpose, a new user is created, and that user should be used to talk to
dom0 from domU. This change creates that user, makes it possible for
dom0 to log in to domU with that account, and configure that account to
be able to talk down to dom0.
Also move several steps to the nova xenserver plugin:
- dom0 plugin installation
- create kernels and images directory
- install console rotate script
- configure a cron to execute console rotate script
Configuration changes:
A new configuration option, DOMZERO_USER has been created, that
specifies a user account that is configured to be able to do
passwordless ssh to dom0.
Change-Id: If9de0b297a67b7cdb5de78d8dd0e8b2ca578b601
Like 'for/do' check that the while/until operator are on
the same line with the do.
Fixes some pep8 error along the way.
Change-Id: I440afe60691263365bf35310bf4212d94f30c339
we mostly have a consistent style on if/then & for/do in devstack,
except when we don't. This attempts to build a set of rules to
enforce this.
Because there are times when lines are legitimately long, and there
is a continuation, this starts off ignoring if and for loops with
continuations. But for short versions, we should enforce this.
Changes to make devstack pass are included. The fact that the
cleanup patch was so small is pretty solid reason that this is
actually the style we've all agreed to.
Part of a git stash from hong kong that I finally cleaned up.
Change-Id: I6376d7afd59cc5ebba9ed69e5ee784a3d5934a10
* Ensure that Xen setup scripts will continue to function when unset
variables are used in stackrc
* Ensure that the generic functions are sourced in all places that xenrc
(which sources stackrc) is sourced.
Change-Id: I54eba20733c2e149621b74a1387f0bef14fca12e
the sar filter made an assumption of time display including an
AM/PM... which isn't true in all environments. Hence the blank
sysstat screen in the gate runs of late.
This fixes that, and displays the first line which includes header
version to make sure we are functioning.
Change-Id: I537e0bf2127efaf337c4792bc23d938145c8990d
The global docker registry is where images are
being built and uploaded. It's effectively docker's
version of, say, 'pip'. The static tarballs are
not only an extra maintenance burden as they're outside
the standard build and publishing process, but are presently
outside the scope of an open development / release
process as well.
While this process does cause some trouble with
network-independence for CI purposes, the fetching
is still done from install-docker.sh; Additionally,
this driver is not currently tested via the community CI effort.
Change-Id: I3ee6bfee9c273cd3aabe1e00a1d1a8856a466189
we are getting kernel crashes in the OpenStack gate, to test
getting around this we'd like devstack to be able to upgrade
the precise kernel to the latest lts backported kernel.
default to off
Change-Id: I5d47aa8d15b1b1c0386a13b65022f6b8108c5c49
in order to have better data on the load state of the test nodes
we should track things beyond just cpu time. Add in load time,
process creation rates, and io rates during the tests.
also add a sar filter that makes it report on one line
reading sar input with multiple flags is somewhat problematic,
because it's tons of interspersed headers. So build something with
does a pivot filter to make it possible to get this all on one
line.
Change-Id: I8f085cedda65dfc37ad530eb97ba1fc5577314c3
* Handle local.conf localrc section
* remove blank lines
* rather than removing password lines, just remove the password itself to at
least show which password vars have been set
Change-Id: Ieca9baaf03e53b23e336944ad0ed2581c9bee460
oneiric is long dead, remove references to it whenever possible
(one more subtle issue in cinder should be a seperate patch). This
includes removing the oneiric only tool build_uec.sh.
also remove the bulk of references to quantal, which is 8 months
out of support. note: raring only has support for the rest of the
month.
Change-Id: Ib17502be7572af76dc95560615221b48b970a547
At the moment, xenserver installation depends on github snapshots.
Unfortunately, git.openstack.org does not have that capability. This
fix includes:
- Exit with error code, if a download fails
- create proper urls, even if they are using the git protocol
- set git base to github - so we are able to do snapshots
Fixes bug: 1259905
Change-Id: I8d0cf8bf8abb16ee0a4b138a6719409c75e7a146
Ubuntu saucy is using ext4, which means it hits a barrier
bug with certain versions of Xen, leading to a read only
filesystem.
This is bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824089
Change-Id: I9a72b203d473dc555324d44ad7c240c80dccda15
Devstack has been increasing in complexity, and if we use too
much of our memory it can lead to fragmentation which in turn
causes a DomU error and a failure of random tests.
Change-Id: Ide9cc84625caed4e35a64a47ee1e92a6cd567651
Driven by a race condition in LVM being hit in the tempest
tests. This is a locking race between a file lock and a
semaphore which is fixed in 2.02.96-5.
Change-Id: I8a8c215c90a0602288292ffd06b7694d2db6219e
Allow providing certificates through environment variables to be used
for keystone, and provide the basis for doing this for other services.
It cannot be used in conjunction with tls-proxy as the service provides
it's own encrypted endpoint.
Impletmenting: blueprint devstack-https
Change-Id: I8cf4c9c8c8a6911ae56ebcd14600a9d24cca99a0
devstack-gate wants to pre-cache and then use get-pip, but we can't
throw the flag currently. Make the flag default settable via env vars.
Change-Id: I661b52670b6ce494666cbdd611e4eee6b96c8321
Partial-Bug: #1254275
The minimum prettytable version is changed from 0.6 to 0.7
in the global requirements.
If the system has an older prettytable version the fixup_stuff does not
takes effect in time, because at fixup time the system has the old
version.
Ensure the fixup installs the minimum required version in time.
Change-Id: If1737dacb25db73b68e707953d05576ad8a97da7
In install_docker.sh, we will restart docker service, then connect
to /var/run/docker.sock with retry mechanism.
At the first contacting with /var/run/docker.sock, when docker
service is not ready, it may complain some error.
Mute this false alarm.
Change-Id: If00a18d2e3ddee951662e272d47ae84215f16ad2
Closes-Bug: #1252087
The git repositories on github for openstack are mirrors of the primary
repositories, which are hosted on git.openstack.org, so switch as much
as I can to using the primary, rather than the github mirror.
Change-Id: Idcfda49a691582055256b830c61e098f4a271339
install_os_domU.sh failed, if the FLAT_NETWORK_BRIDGE is found in
localrc. As nova looks up the network by either name-label or bridge
name, it makes sense to enable the user to specify this parameter. As an
example, if the user wants to use name-labels to specify networks, and
those name-labels could be used in domU to create bridges:
VM_BRIDGE_OR_NET_NAME="osvmnet"
FLAT_NETWORK_BRIDGE="osvmnet"
In this case, the domU will know only about a name label, so it could be
decoupled from which xapi bridges used.
This change also adds some fixes (missing double quotes).
Change-Id: I045e367ef441be20c4e8cb8af3c1149392db796b