Commit Graph

573 Commits

Author SHA1 Message Date
Zhijiang Hu ce572f2ea2 Support inner/external-comupte sub-group
Change-Id: I58b1b1eb96fdc1bbee601f00d1c164b3c3515736
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-04 09:46:27 +08:00
Zhijiang Hu c490b9ec1b Upgrade to OpenStack Queens
This PS does:
1) Build and run Daisycloud-core in queens env
2) Upgrade image verison to Queens
3) Remove UI out from daisycloud-core

Change-Id: Iecdce8bf73001a7930c2f90cb814e4bfcbaae7c4
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-02 17:32:52 +08:00
Zhijiang Hu 1ddb58f2f5 fix and store docker engine rpm at build time
Change-Id: I4a07ac98f62de0efab62ec067891285f2325e636
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-03-09 17:06:33 +08:00
Zuul 2697c7d4e9 Merge "enable ceilometer to integrate with opnfv/doctor" 2018-01-23 10:48:17 +00:00
Zuul dfbd63a165 Merge "Revert "Open Debug log for debugging slow volume attaching"" 2018-01-19 01:25:32 +00:00
Zhijiang Hu 32caae246e Revert "Open Debug log for debugging slow volume attaching"
This reverts commit b20d9f07d5.

Change-Id: Iecce0c86fe1dbd96c37d98a3e7097d3295eff415
2018-01-18 01:50:40 +00:00
zhouya b3746244f3 enable ceilometer to integrate with opnfv/doctor
Change-Id: Id1d868fbfa740549e62695a980531eaf5c0cc76f
2018-01-15 02:44:50 +00:00
zhouya faa12c50d9 add role parameter in host-list command line
Change-Id: Ib61a9bab7ce4c2a488c2fa6bebf4d318102256de
2018-01-04 15:33:31 +08:00
Zuul 4f1b389a81 Merge "Fixed glance misspelling" 2018-01-02 03:00:55 +00:00
Zuul 6409cc91a1 Merge "Fixed nova misspelling" 2018-01-02 03:00:46 +00:00
Alex Yang d6ef9c3fb2 Fix typo of enable_openvswitch_dpdk
Change-Id: I71b91ff6f8be41d7bd8ab4c06d6ba2bbd7afd99b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-12-27 11:34:18 +08:00
Zuul 146c2e2cc2 Merge "config ip to dataplane after install os" 2017-12-26 09:05:07 +00:00
Zuul 6f28c32b08 Merge "support dpdk" 2017-12-26 09:04:53 +00:00
00184532 06a212101e support dpdk
Change-Id: If0dc3a869da9fe20513f7005f0c5e072f9e9bbc0
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2017-12-26 11:05:14 +08:00
00184532 28f7ee6482 config ip to dataplane after install os
Change-Id: Ib5f51fd23e50f776b084321b3992f4ea6dbe8659
2017-12-26 02:32:09 +00:00
Zuul 518986711a Merge "Use assertRegex instead of assertRegexpMatches" 2017-12-22 07:22:20 +00:00
Zuo ZongMing 1227ca5c6a Fixed glance misspelling
Change-Id: I0cdc0c5206cfe38b9e5b5424f4122026a2460815
2017-12-15 15:50:19 +08:00
Zuo ZongMing 195645f137 Fixed nova misspelling
Change-Id: Id29f36a3b1ca4a1c97516170bf6550a330846e61
2017-12-15 10:56:58 +08:00
Zuul 99771bb378 Merge "support append hugepage and isolcpus at same time" 2017-12-13 02:42:26 +00:00
00184532 ef3dc96e17 support append hugepage and isolcpus at same time
Change-Id: Ia5ada0da7f41a7d085dcea83e59a07ab9e00d1c2
2017-12-08 07:23:14 +00:00
Zhijiang Hu b20d9f07d5 Open Debug log for debugging slow volume attaching
Change-Id: I87872279d06dc00c5b54db8cf19cfe550bb49e07
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-12-05 23:08:29 -05:00
Zhijiang Hu 903a28a995 kickstart file huge page automount bugfix
Change-Id: I0d645e0d0b5f640e253371e9c7595dc3dff23002
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-30 07:47:54 -05:00
Zhijiang Hu 72b99e6291 Temporary disable ceilometer/aodh to tyr api_check result
Change-Id: Ia5893f74bcdcaa1d3e0d71593f43c4450487ddbe
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-28 04:40:57 -05:00
Zhijiang Hu f73df8e15a create hugepage mount dir in kickstart
Change-Id: I86ffed6406fa70b986e297a7d9c280d3ced18f15
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-20 21:52:31 -05:00
Zuul d6c2c18c5f Merge "support dataplane type of ovs/dvs" 2017-11-16 10:02:08 +00:00
Zhijiang Hu 7e546ff90c Switch ceilometer backend from mongodb to gnocchi
This PS also update required image to a image which
includes gnocchi.

Change-Id: I5b6343d6e8b4cd170e6616521040330b3283b434
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-16 06:18:05 -05:00
Zhijiang Hu 0ce7000e58 all-in-one deploy bugfixes
1. kill ODL leader IP since we are now deploying ODL cluster.
2. Inventory file update bugfix
3. Fix ansible version to 2.4.0

Change-Id: I06aa442dd935ef1ea2225d06c89bf07351744793
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-15 15:13:01 +08:00
00184532 2d7dcd48d0 support dataplane type of ovs/dvs
Change-Id: I57e1bbf7de9a948a921d32396e0118b30fc3ee39
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2017-11-13 15:28:24 +08:00
Zhijiang Hu 250c0723e9 Revert "Direct prepare.sh log into log file"
This partial reverts commit 35095c89b3.

Change-Id: Ibe2fa186b00817daf69bfdf1a3899bb291d308d0
2017-11-11 09:48:13 +00:00
Zhijiang Hu 35095c89b3 Direct prepare.sh log into log file
Also remove ansible/python2-docker installation from prepare.sh as it is useless
for target node.

Change-Id: I90ae9a34f6319bb418aeabdc70405e14b48ed893
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-09 22:24:19 -05:00
Zuul eb2ff4e153 Merge "solve error of 507722 to support dpdk" 2017-11-09 08:52:38 +00:00
Zhijiang Hu 9bb8cd9da1 monkey patch bugfix for eventlet >=0.20.1
Change-Id: I84d9c901b82c2b68ecb760ac4355bf2e0662f82e
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-09 08:50:45 +00:00
Zhijiang Hu 522dc0a779 Change hugepage dir to /mnt/huge_1GB
/dev/hugepages is already mounted automatically by OS, we can not
use it

Change-Id: Iadff675cc26e844fcc6f4889038344c54fb8b7eb
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-07 23:52:32 -05:00
00184532 8d2f9963d8 solve error of 507722 to support dpdk
Change-Id: I2b887d7991ebca4aa23160c7cc5f1fbc6affdb40
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
2017-11-07 14:58:25 +08:00
Zhijiang Hu 3b19059841 test build and run daisy on pike env
Change-Id: Id2e2bc776751f9d4d4952ba641a10540f903409c
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-02 06:28:54 -04:00
Vu Cong Tuan 4f215e9727 Use assertRegex instead of assertRegexpMatches
In Python3, assertRegexpMatches & assertNotRegexpMatches
are deprecated in favor of assertRegex and assertNotRegex

Change-Id: I85c539cef94ca4bfbf76229aadb8bf05eee4eaee
2017-11-01 16:31:59 +07:00
Zhijiang Hu 0a4e001cff Support auto mount hugetlbfs
This PS modify ks file to support auto mount hugetlbfs during
OS startup if hugepage is enabled by Daisy.

This PS also add transparent_hugepages=never alonge with
hugepagesz, hugepages kernel parameters, according to [1].

[1] https://docs.openstack.org/nova/pike/admin/huge-pages.html

Change-Id: Ic236ac785a16544c62c27ad59fb68c08371f7627
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-31 08:48:37 -04:00
Zuul 2dc94f51eb Merge "Replace keystoneclient with keystoneauth" 2017-10-24 03:05:45 +00:00
rajat29 b16a2a35a9 Remove the assertDictMatch in tests
Remove the assertDictMatch function and still use assertDictListMatch.

Change-Id: Ie1ff1db6b8cb3488bdfb0848342b339bd7656533
2017-10-11 22:53:06 +00:00
rajat29 7c4a641462 Replace keystoneclient with keystoneauth
keystoneclient classes has been long deprecated in favor of keystoneauth.
 This change replaces both session and auth from keystoneclient to keystoneauth.

Change-Id: I9b22e4351cef24360889eabf9d35c8758465dfce
2017-10-11 22:52:48 +00:00
Jenkins 6636c54af7 Merge "Add helper function for allocating CPUs for DPDK pmd threads" 2017-10-11 13:08:01 +00:00
Zhijiang Hu eab28e15eb Add helper function for allocating CPUs for DPDK pmd threads
1. If one or more NIC is assigned to be DPDK NIC,
allocate_cpus_for_dpdk() will calculate CPU Ids to be used by
DPDK pmd threads when user calling get_host(s) API. Currently, one
CPU per each NUMA region is allocated. For example:

NUMA layout:
     {'numa_node0': [0,1,2,3,4,5,6,7, 16,17,18,19,20,21,22,23],
      'numa_node1': [8,9,10,11,12,13,14,15, 24,25,26,27,28,29,30,31]}

CPU choosed(no matter which NUMA region the NICs are located):
     [1,9]

Note: On systems with HyperThreading enabled, it is recommended to
      also allocate the HT sibling core. But currently, this is not
      supported.

Note: We currently restrict that all NICs which are assigned to be
DPDK NIC must be located in one NUMA region(In future, this limitation
should be removed, keep it for now for simplicity and compatibility
with DVS).

2. Next step is to impl. assigning NIC as a DPDK nic. Otherwise,
allocate_cpus_for_dpdk() returns nothing.

3. In future, user can get cores allocated to dpdk from host_meta info,
then fills them in isolcpus field in host_meta info to let Daisy to build the
final isolcpus kernel parameters for each compute node.

Note: Cores allocated to dpdk should be removed from the nova vcpu_pin_set
but currently we do not support setting the nova vcpu_pin_set.

Note: It is not recommended to isolate cores in the nova vcpu_pin_set
      unless the host will be dedicated for vms that request cpu pinning.
      So for the common usecase, isolcpus = Cores allocated to dpdk.

Change-Id: I58cd6d361d3d194cd35377b1c1bcef113f8036b0
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-30 04:10:31 -04:00
Alex Yang 993f058dfe Convert vlan_id from unicode to int
Temporary solution for opnfv CI job
https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/169/

Change-Id: I0aa68442067d3416e9a0665648b204b669d44816
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-30 16:09:20 +08:00
zhouya e0fd012133 add aodh component to the deployment
Change-Id: Ic73d37a368ba6065a176ef0cfae229e39674ab25
2017-09-12 10:25:56 +08:00
Zhijiang Hu 712949b3e8 Add more log for update_host
Change-Id: I5126336f38444e3ffe264322ebe8c4d2ad846514
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-11 06:43:21 -04:00
Zhijiang Hu 7967b8acb9 Debug OS installation error
Change-Id: I1e79d91884eb28ef61482498a5a2de910ad1ddeb
2017-09-10 23:31:19 -04:00
Zhijiang Hu 61c8a01eae Debug OS installation error
Change-Id: I4d22788c1de4163140f2c15dc9e07f0dd78f6fcc
2017-09-11 06:25:18 +08:00
Zhijiang Hu aba40321dd update_host() cleanup
This is just a cleanup, should be no function change.
This can be seen as a re-factory before we go further with
redesign of update_host API.

Change-Id: I59e048ca5ad19325722ae4b7c49903297a466130
2017-09-10 23:40:55 +08:00
Zhijiang Hu 3f33037c90 Revert "Change prepare log name"
This reverts commit 3bf2c0a275.

Change-Id: Ie226a47318a84f7575570011a11ed98b122c9ef3
2017-09-09 03:43:15 +00:00
Zhijiang Hu 3bf2c0a275 Change prepare log name
So that OPNFV CI can print it out after failure

Change-Id: I03d820ed064bea8056b44e9a43f3b46559947489
2017-09-08 22:35:09 -04:00