Commit Graph

13 Commits

Author SHA1 Message Date
Tom Barron 8e66aa029a Fix default share type setting
Change [1] correctly attempted to set the default share type
for HDFS to include ``create_share_from_snapshot_support=True`,`
but there is a syntax issue when devstack attempts to
set this extra-spec in the share type so that results in
the server considering the request to be malformed [2].

Remove the extra quotation marks that cause this issue.

Closes-Bug: #1655495

[1] I8f1670439d6d0aa92378b3b3f13a4cdb2e628a21
[2] http://logs.openstack.org/03/395003/1/check/gate-manila-tempest-dsvm-hdfs-ubuntu-xenial-nv/827d7a4/logs/devstacklog.txt.gz#_2017-01-04_21_28_24_052

Change-Id: Ib82a9280c86042ffc0692b7106de11dc6b9ed028
2017-01-10 23:34:19 +00:00
Clinton Knight 6c84ac8a20 HDFS testing with non-default snapshot extra specs
Now that snapshot_support isn't provided by default, and
create_share_from_snapshot_support is also needed for testing
some snapshot functionality, we must update the default share type
to provide values for each of these.

Change-Id: I8f1670439d6d0aa92378b3b3f13a4cdb2e628a21
Depends-On: Ib0ad5fbfdf6297665c208149b08c8d21b3c232be
Implements: blueprint add-create-share-from-snapshot-extra-spec
2016-11-08 09:56:22 -05:00
Valeriy Ponomaryov f555a915a6 Install java8 if Ubuntu Xenial is used
java7 is absent on Ubuntu Xenial and Hadoop 2.7.x+ is expected to work
on java8. So, use java8 on Ubuntu Xenial and java7 on old Ubuntu Trusty.

Change-Id: I64338c5c146e548f1b1ba2b1b1f1d5f76992b8e0
2016-09-30 11:16:36 +03:00
Ramana Raja b117328446 manila: enable HDFS protocol
Change-Id: I17a0c4d0da6b38e26ccf3cbafde69628441fe67f
Closes-Bug: #1544154
2016-03-07 13:54:09 +00:00
Li, Chen 82ebbc1ba2 Enable multi-backends
Change-Id: Ia38b28eb78304797c6ea00fc698548987a7e91dc
2015-08-28 15:14:14 +08:00
Li, Chen 1fe2296fec Removing devstack/pre_, post_ test_hook scripts
As we modified Manila-HDFS job definition to use manila/pre_,
post_ test_hook scripts, now devstack/pre_, post_ test_hook scripts
not required.

This patch removes devstack/pre_, post_ test_hook scripts in
devstack/ directory.

Change-Id: I8ba69b447fedbdac19cb668f182333b620ecab69
2015-08-28 09:09:00 +08:00
Li, Chen 1c3272973e Add pre/post test hook scripts
Add pre/post test hook scripts for job "gate-manila-tempest-dsvm-neutron-hdfs".
As the first step, we set MANILA_MULTI_BACKEND=False.

Change-Id: I71b7d84900f5440e1e285afc5f6e53d652b970fa
2015-08-26 16:48:35 +08:00
Li, Chen 680b855618 Fix bugs when install HDFS
1. use ~/ instead of $DEST/
2. use "__slashplaceholder__" instead of @
3. add changed PATH to the first line of ~/.bashrc
3. Fix the auto exit issue in start_hdfs.sh, make sure all hdfs services start
4. Add test_hdfs method after hdfs start

Change-Id: I82a70d67209f27edead50d64dea03e5cb5ce925a
2015-08-26 13:21:51 +08:00
Jenkins 457bcce648 Merge "Enable ACLs" 2015-08-25 05:51:04 +00:00
Li, Chen 3257e48bce Enable ACLs
By default, ACLs are disabled

Change-Id: Ifc125f354721ff94d2b9f640331948cd9f2f48bd
2015-08-25 09:54:36 +08:00
Li, Chen 49662d99fb Fix unstack issues
If we run ./unstack.sh more than once, issues will happen:
1. stop-dfs.sh do not exist
2. ~/.bashrc will be emptied due to $line is empty

Change-Id: Iaa058a33ddf7fe4366ffc6c7ea4e408d6b267967
2015-08-21 15:05:41 +08:00
Li, Chen d90b9c8840 Config Manila to use HDFS Driver
Change-Id: Idc8ff19b472de7aa4bb98337619e05c6b27b13de
2015-08-14 10:43:57 +08:00
Li, Chen cec1498f54 Initial commit
Install HDFS when enable the plugin in localrc:

[[local|localrc]]
enable_plugin hdfs https://github.com/openstack/devstack-plugin-hdfs

Change-Id: I7ebf124113143ccb09dc9428a259101187ac3868
2015-08-11 12:50:20 +08:00