The setup.py setup develop adds package to the
/usr/lib/python2.7/site-packages/easy-install.pth.
The nova uses the ceilometer.compute.nova_notifier, so it must be
in the path before the nova started.
Change-Id: I80ed5e5611278e75afa7ab7f8fb91417897d423f
Only call the swift account creation function if swift is enabled,
otherwise the endpoints are created in keystone even though swift
isn't running.
This causes failures when tempest queries keystone and thinks swift is
there; it starts running tests against it that fail with unhelpful
"connection refused" errors.
Change-Id: Icf08409c9443ec703e5f1da4531aa34c326f3642
Currently rejoin-stack.sh can not keep the same screen service tags
as the first you deploy openstack due to that the stack-screenrc lack
proper command to configure screen's hardstatus. just delete the old
stack-screenrc so that function screen_rc can write proper initialize
command into stack-screenrc.
fix bug 1182597
Change-Id: I4cb4c6ded93a5c7b0bd39d65a754ddf86553463d
This is needed when running the compute service with
vSphere as virt backend, and Neutron as networking
solution.
Fixes bug #1200677
Change-Id: Iff01559be437d1409c13224574458d23a1edd1a4
Fedora uses a special PROMPT_COMMAND for screen terminal types,
which are the default with DevStack. The PROMPT_COMMAND interacts
in a negative way with the -t and -X and -p flags, causing DevStack
not to work. To solve this problem, this patch forces PROMPT_COMMAND
to default to /bin/true, triggering no changes to the window title
used within screen. Also this patch enables F19 as a non-FORCE
distribution.
Change-Id: I2414d9e28dd95b69272e132163b29ed83f73b2f6
Fixes: bug #1196340
following customizations for the predefined networks
created on startup (default in parenthesis):
PRIVATE_SUBNET_NAME - Name of the local subnet (private-subnet)
PUBLIC_SUBNET_NAME - Name of the public subnet (public-subnet)
PUBLIC_NETWORK_GATEWAY - IP for the public subnet (172.24.4.225)
Moved NETWORK_GATEWAY into lib/quantum, along with these new
customizations.
bug 1194218
Change-Id: I87ebc22e338df278db7523f11be07de1ca88234b
OpenStack VM had 4 interfaces, from which eth0 was connected to HIMN (Host
Internal Management Network), and not used at all. The reason for not
using this interface according to johngarbutt is:
- VNC console would not work
- migrations would not work
- many other things
This change removes the interface, thus devstack is providing the
same architecture as described in the official documentation, YAGNI
applied on the HIMN:
http://goo.gl/dmrNF
The change also modifies some defaults, so it's easier to get started:
- The Ubuntu VM is network-installed through the management network
- OS VM is getting its address on the management network through DHCP
- Default Public IP addresses aligned to stack.sh defaults
- OS Services are listening on Management Interface
Related to blueprint xenapi-devstack-cleanup
Change-Id: I73c9751ade6f4786b8b682a1994cb87f0a624379
Power systems don't have graphics adapters, so we can't simulate a VNC
console. This patch removes that from the default nova configuration
if the system architecture is ppc64.
Change-Id: I129d180b712115e5c275241740d34805fea23e8b
This is because these agents rely on quantum agent packages as
much as the L2 agent.
Fixes bug #1190050
Change-Id: I8b0c5667f86b22e3727a316f7bb0500d0d0ba637
This is the semi-irregular comment and docs cleanup.
No functional changes should be here although some code is moved in a
small attempt to sort functions and get things where they need to be.
Change-Id: Ib4a3e2590c6fbd016c391acc7aef6421e91c0dca
nova fake virt driver can be used to simulate running arbitrarily large
number of VMs. When the fake virt driver is selected, all other arbitrary
limits are disabled (quotas, scheduler limitations) as well. The fake
virt driver can be selected by adding the following line to your localrc
VIRT_DRIVER=fake
This setting can be used to do simulated large scale (as defined by
number of VMs) testing (such as boot 500 VMs at once) inside a single
devstack instance.
Change-Id: I000c3cba107cd91bef11c4d5325e1ce7308faa6c
Simple check to see if EPEL repo is enabled for RHEL6 and, if not,
automated install of the repo RPM.
Also adds an additional sanity check which checking for pip. In the
prior case of EPEL being disabled, a RHEL6 host may not have access to
python-pip. Although this shouldn't happen, its a good sanity check.
Change-Id: I4e8a4dda9475b75d071534d4eef469198502a048
Per Bug https://bugs.launchpad.net/openstack-ci/+bug/1024487, this will
modify the rate-limiting setting for rsyslog.conf. If rate-limiting is
being used the addition will set it to 0 otherwise the addition will
add the variables to the configuration file and set them to 0.
Implements: Variables "$SystemLogRateLimitBurst 0", and
"$SystemLogRateLimitInterval 0" in "/etc/rsyslog.conf". These changes
are persuent to what has been outlined in the rsyslog docs as found
here : http://www.rsyslog.com/tag/SystemLogRateLimitInterval/
Updated commit implements changes in code and placement post code
review. Recent change implements the "SystemLogRateLimitBurst" in first
if statement, which was "SystemLogRateLimitInterval" and wrong.
Fixes: Bug 1024487
Change-Id: I2637889cbe9e5e87bbfc0f1bb5047abae34d953c
rejoin-stack.sh would not specify screen session name which will lead
unstack.sh unable to kill the screen session started by rejoin-stack.sh
after hypervisor rebooted. So specify the session name if
rejoin-stack.sh need to start a new sreen session.
fixes bug 1182806
Change-Id: I68635887aa82fa63f3667e0f090ea2836eec7b68
* It's not possible to prevent python-nose (which is not compatible
with Tempest) from being installed since so many os packages
dependent on it.
* This patch installs python-nose1.1 from EPEL and adds a
/usr/local/bin symlink for nosetests1.1 so that invocations for
Tempest will work as expected.
Change-Id: I756d1ca5eda127dcdd2efb047c8e14dd344f710d
* RHEL6 does not include Open vSwitch in the default repos, but it
is available via the RDO repo. This patch automatically
configures the RDO repo for RHEL6.
* The openvswitch package is now listed as an rpm dependency to
ensure it can be cached by a pre-built CI environment.
Change-Id: I8f93f53039cca4ff29bcb91720be7bb047b3ed8a
* Execution of the setenforce command when selinux was not enabled
was resulting in a non-zero exit status, which halted devstack.
* Addresses bug 1175444
Change-Id: I7f6492dea7c52d153e755cda826d6fabd53f3771
Adds support for running a region and child cell within a single
devstack environment.
README.md has been updated with some info on getting started.
Rebased/updated from initial work by Andrew Laski <andrew.laski@rackspace.com>.
Change-Id: Ic181da2180ccaa51df7efc9d66f7ccb820aac19b
selinux locks down httpd which causes various issues for Horizon
working from git checkouts. Dealing with selinux is more a deployment
than a development issue, so we just disable it for devstack.
Change-Id: I1e61f34e812360dafacd3b3288e66bc9cc5f1648
Fixes: 1175444
It's being used in all of the core projects, so we should install it
at the start so we can ensure that we don't break everything all at
once.
Change-Id: I326d724264803e88315ee9e40f4634836baf6e0b
Several guides suggest using data directories under your homedir,
rather than the default /opt area. This is fine, but on RHEL6 and
similar distros homedirs are very restrictive 0700 permissions which
doesn't allow things like httpd to pass through to serve up files.
Even though stack.sh is taking over the host, changing permissions
automatically is not a nice idea. So we just warn when it looks like
this is happening.
Change-Id: I9cd70e7fe90638a2a5c3b8fd94756afacac7c7be
Install some rpms required for operation on RHEL6. Additionally,
remove some system packages that interfere with pip installs.
Change-Id: I273ce59d7bf066e73d524f61b8ad048599101dab