Commit Graph

24 Commits

Author SHA1 Message Date
Vu Cong Tuan a2ab076fd2 Remove SCREEN_LOGDIR from devstack
SCREEN_LOGDIR has already been deprecated [1]
[1] https://review.openstack.org/#/c/499186

Change-Id: If010be03207fb13414d5f7199676bd7b92f358f8
2017-10-05 16:52:14 +07:00
Jenkins c3e60f32c8 Merge "Update the documentation link for doc migration" 2017-08-30 13:14:31 +00:00
Andreas Scheuring 62bda6e9a6 Update local.conf
With the current local.conf it is not possible to use floating-ips
to access an instance.

This patch extends and refactors the local.conf, that devstack creates
2 networks. A public network (used for floating ip) - public, and a
private network where the instances get attached to - provider.

In addition the ovs is configured to be able to deal with both networks.
However one manual step is required. The bridge br-provider needs to be
created manually before stack.sh is run.

Change-Id: I776552c41161d53d33ad9c6c750f47ef6d5ccce6
2017-07-27 14:59:29 +00:00
Hangdong Zhang 9f87d9ed04 Update the documentation link for doc migration
Change-Id: I268b5dc4b1a079e6ca26a439541e7a2ea74456af
2017-07-21 14:05:27 +08:00
Jenkins c69f6d63d3 Merge "Modified reserve_host_memory config parameter" 2017-07-20 07:23:13 +00:00
sreeteja 443f0ae228 Modified reserve_host_memory config parameter
This is in connection with the minimum value assigned to the max-memory
parameter in local.conf under dpm section.The default value of
reserve_host_memory is 512Mb by which it blocks 512Mb of memory on the
host this means to launch an instance on a host 1024 is the minimum
memory that is needed as 512Mb is being reserved inorder to mitigate
this issue the reserved memory is made 0.

Change-Id: I05ee4275cd5d80b1edb614d94fe0b038551bc3cc
2017-07-20 09:03:22 +02:00
sreeteja b51945a05f Removal of max_instances config parameter
There is a NumInstancesFilter which can be used to filter the number of
instances that are supposed to be launched on the host this replaces the
work that is planned for max_instances config parameter to perform.
It is removed as the main functionality of this parameter is not yet
implemented in the code.

Change-Id: Ie545a5f74f7b63ea56812577c201fcb443014998
2017-07-12 14:15:56 +05:30
Andreas Scheuring ece9dc2f00 Enable DHCP and routing on singlenode devstack
This patch extends the local.conf that the singlenode is able
to host an openstack dhcp server and openstack router.

Change-Id: I9e8623c006ac89552c42316ee889c16f4a7b5aa1
2017-02-10 11:55:21 +01:00
Andreas Scheuring 2ec3804f89 Use flat networks in devstack
Patch [1] removed the VLAN support from networking-dpm. Now attaching
an instance to a VLAN network results in an error message. Therfore
we need to adapt the devstack local.confs (which created a VLAN
network by default).

[1] https://review.openstack.org/#/c/429546/

Change-Id: I2143ea4ad3d40aa922eae0d57ec3935259278b24
2017-02-10 09:10:31 +01:00
Andreas Scheuring 2a0ecefa14 Remove the nova-neutron singlenode local.conf
It is not applicable any more, as always a FC cinder backend
is required to launch an instance. This is covered by the local.conf
"local.conf.singlenode.nova_neutron_storage"

Change-Id: I434844e2423b6097b89e3f3521204f753dcbf420
2017-02-10 08:19:19 +01:00
preethipy 263c6b0cb2 INSTALL_ZHMCCLIENT option added to local.conf samples
Change-Id: I4f58c806ddbaaf29a5885a615768210dbb0c9e2b
2017-02-07 06:24:31 +00:00
Andreas Scheuring 1fd3b0bdb5 Adapt networking-dpms *mapping parameter
networking-dpms 'physical_adapter_mappings' parameter got renamed
to 'physical_network_adapter_mappings'. This patch reflects this
change in nova-dpms devstack local.confs.

Change-Id: I6d33ad8047149bf5bc05e254ab63570d5f97fa68
Closes-Bug: 1661563
2017-02-06 14:41:02 +00:00
preethipy 533d736b33 Abstracting the common conf parameters
Manual updation of params could be error prone
for same set of attributes, hence adding new
params which has to be configured once by the
administrator which will be referred to in the
rest of the local.conf file

Change-Id: I17e19fbb4328dbb8ca7b02f1afd35baa9f942718
2017-02-03 17:15:56 +05:30
preethipy b3148f5bdf Added sample conf with storage and network parmeters
Change-Id: I8136ee80276e8d505588761eb7fdc97ca1a75d80
2017-02-03 17:08:33 +05:30
preethipy 9d6f6f24d4 Generalizing the parameters in sample conf
Updated static values with generalized attribute
description

Change-Id: I80dee17c033f2bbdbf0274c9df850a240ffef065
2017-02-03 16:43:38 +05:30
Jenkins 2e2be283b9 Merge "devstack local.conf: move neutron host section" 2017-02-03 10:31:11 +00:00
Jenkins 1d957c6add Merge "Reflect networking-dpm conf change in local.conf" 2017-02-03 10:31:04 +00:00
Andreas Scheuring b63b645e22 devstack local.conf: move neutron host section
Moved the default.host section of the local.conf from the
neutron.conf file into the neutron plugin conf file. Technically
both works with devstack, but to make more clear where the option
belongs to it got moved there.

Change-Id: I636bf37b290f3abf7da884017e25d1aebd2bc2d9
2017-02-03 09:18:32 +01:00
Andreas Scheuring 50ef744984 Reflect networking-dpm conf change in local.conf
Networking-dpm changed a config option from using cpc_name to
cpc_object_id. This patch reflects this in the devstack local.conf.

Change-Id: Id574493104ae4cd9c9a954f93297434be401d3ac
2017-02-03 09:18:32 +01:00
Markus Zoeller 384bbd5c40 Remove config option [dpm].host
The DPM driver manages so-called "cpc-subsets". Basically, this is
a logically portion cut out of a system z CPC. For the Nova driver,
this emulates a "host". This results in this multiplicity:

    DPM Driver 1 --- 1 CPC-subset (=host) * --- 1 CPC

Having the two config options "[DEFAULT].host" and "[dpm].host", which
mean the same thing, could be confusing for a user. Also, this can
lead to issues if both are not in sync, for example during the
Nova<->Neutron communication where the NICs get created.

To resolve this, this change removes the config option "[dpm].host"
and uses "[DEFAULT].host" only. As the config option wasn't yet part
of any release, we don't need to do the usual deprecation policy.

closes bug: 1655043

Change-Id: Ibb2c23e248c4390e2ec19e7aa9811abdc24fea25
2017-02-03 08:34:43 +01:00
Andreas Maier 5fa46366d9 Changed name of cpc_uuid config option to cpc_object_id
Reason for the change is that the HMC API book does not mention
anywhere that the format of the ID is a UUID, and the name of the
resource property is "object-id". This change set changes the
name of the DPM config option "cpc_uuid" to "cpc_object_id",
and the devstack variables CPC_UUID to CPC_OBJECT_ID, and
updates any use of that and the unit testcases accordingly.

Change-Id: I6153ac791d4296101dc00f23dfb7fb7c3d2fee2c
Partial-Bug: 1659304
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
2017-02-02 17:33:15 +01:00
Andreas Scheuring 62bb6f6de8 Update nova-neutron local.conf
- Increasing memory to allow launching multiple instances
- Adding default.host to nova.conf

Change-Id: I80660b671f3887735a33cc3d591d8d7abcb2bb85
2017-01-12 11:30:28 +01:00
Andreas Scheuring b550cb108d local.conf for Singlnode with nova+neutron
Change-Id: I1c9734bc704da09dea43fefa3b09fc9162cc5270
2016-12-20 16:51:59 +01:00
preethipy 00c646ab77 Devstack setup for nova-dpm
+ Updated tox.ini to install nova
+ Modified tox_install script to install zhmcclient requirements and removed
conditional nova installation check because new folder nova introduced for
devstack setup always returns true for the check that verifies if nova is
already installed

blueprint: devstack-setup-nova

Change-Id: I0c16e4bdda38eb331fa76010e39b5d8457475af4
2016-12-15 13:25:28 +00:00