Граф коммитов

94 Коммитов

Автор SHA1 Сообщение Дата
Amrinder-Singh29 578e48a08a
Update README.md
The logs may also get logged under var/log/message and not var/log/syslog. This depends on the Linux OS Family type as well.

Hence, proposing the changes so that Customers can check for both the of them in case they are not able to find syslog one.
2021-03-19 22:32:16 +05:30
vibhansa-msft 88f0e742a3 Content-type can be updated based on file type using a cli option 2021-03-15 19:59:49 +05:30
Vikas Bhansali 1bf7abb4a9
Vibhansa/gc optimizations (#576)
Making cache eviction parameter configurable.
2021-03-10 15:16:39 +05:30
vibhansa-msft 62ee20600a Merge with master and update README 2021-03-08 16:15:56 +05:30
Nara 2fdebe7360
Merge branch 'master' into vibhansa/listapiblock 2021-03-07 01:57:39 -08:00
vibhansa-msft fbc1bbf694 Correcting cli option name 2021-03-01 07:58:18 +05:30
vibhansa-msft 2202587e5d Disable list call for given number of seconds immeidatly after mount, to restrict container call on mount 2021-01-27 18:27:46 +05:30
vibhansa-msft 18d4f5f11d Adding disk threshold parameters to readme. 2021-01-20 13:34:47 +05:30
Vikas Bhansali 37ad94493c
Vibhansa/msi pipeline adls (#549)
- Corrected description for blobEndpoint in Readme
- MSI auth test case addition for both block blob and adls in nightly pipeline
- In case of RHEL/CentOS 7 where auth is done in background, no error was shown on console in case of failure. Now blobfuse will display auth failure error on console and unmount itself if authentication fails.
2021-01-20 12:57:46 +05:30
vibhansa-msft 769b1afa1e 1. Make kernel version a constant. 2. Report failure if unmount fails. 3. Readme default parameter correction 2021-01-18 10:48:21 +05:30
vibhansa-msft 468f37536e Dup stderr instead of stdout for throwing error from forked child 2021-01-12 13:51:53 +05:30
Nara 1f9fb5d0ef
Update README.md
symlink and chmod, chown are supported.
2020-12-02 16:20:48 -08:00
Andy Zhang ed73e48265
Update README.md (#521)
Co-authored-by: Nara <NaraVen@users.noreply.github.com>
2020-11-08 21:08:07 -08:00
Nara aa678952a5
Update README.md
updated the documentation for --empty-dir-check=true . wrongly stated allows. It should be disallows
2020-11-06 18:26:54 -08:00
Nara db1f770acc
Update README.md
indicated earliest versions where commandline params are available.
2020-10-23 15:07:50 -07:00
Vikas Bhansali e26293b211
pyTest integration (#476)
* Starting ADLS integration using Amanda's diff

* Upscaling stresstest

* Restructuring globals

* Adding storage client interface

* Adding adls wrapper and cpplite adls compilation steps

* Build gTest with new libs

* Renaming files

* Modifying includes with updated names

* Restructure attr cache wrapper

* Moving OAuth to src directory

* Bringing to compilable state

* Adding goStress test

* Updating stressTest

* Adding more test

* Correcting script

* Correcting script

* Correcting script

* Correcting script

* Script enhancement

* Reordering tests

* Reordering tests

* Adding cleanup stages

* Correcting go errors

* Stresstest for dynamic dir name

* Stress test cleanup

* Stresstest for dynamic dir name

* Increasing stress

* Test issue correction

* Add Huge file test case

* Correcting test name

* Correcting test

* Making Cache size configurable

* Remove stress dir on completion

* Adding GO feature test

* Adding file feature test

* Save time and reduce stress test

* Cleanup stress test

* Correcting failed cases

* Adding adls feature test

* Add mount log dump for failure

* Add mount log dump for failure

* Add mount log dump for failure

* Correcting failures

* feature test failure resolution

* Parsing of metadata for ADLS account corrected

* Adding dir last modified time support

* Correcting chmod operation

* Correcting chmod test case

* Squashed 'cpplite/' changes from e8e70d7..a3a9c21

a3a9c21 Fix build error on VS2019
4eb4ce3 fix link error on Windows when building adls

git-subtree-dir: cpplite
git-subtree-split: a3a9c21de3fa9932dcfceb2b6617757a511c75c3

* Adding last access and change time support

* Correcting metadata parsing for block blob

* Addressing pipeline failure

* Pipeline update

* Correcting feature_test

* Adding atrribute cache wrapper

* Remove attr cache from nightly

* Attr cache correction

* Enable attr cache in test

* Making version number change at a common place

* Run nightly only on master

* Reverting connection.cfg to default

* Resolving mount failure saying invalid credentials

* Review comments integration

* Making it run on master as well

* Addressing review comments

* Unicode support correction

* Make empty temp dir check optional

* Mounted directorys stat corrected for different timers

* got blob directory list working

* Reverting back Makefile changes

* Making max results configurable for List and ListAll

* Remove dir timers for block blob account

* Making attr-cache-wrapper work with block blob account

* Rename flow correction

* Based on ubn version choose adls or block blob test

* Enable stress and feature test

* Correcting MSI connection

* Cred manager from cpplite needs to do a callback to get the updated token from blobfuse

* Allow tmp directory if an empty root dir is there

* For readlink dump the file details to debug failure in pipeline

* Making account type configurable from config file

* Reverting block blob modified time update, as for block blob dir last modified time is actually the creation time in azure so even with this change w are showing incorrect values only

* Set last modified date of directory in case of block blob account to the creation date, as azure storage does not maintain the last modified date for the directories

* Bumping up version to 1.3.1

* Correcting symlink realted test cases

* Correction log message for SPN

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* trying to get SPN wokring

* removing extra debug statements

* Expand '~' in tmppath to home directory

* trying to get SPN working

* trying to get SPN working

* Adding POSTFields to curl post request, if set explicitly

* Remove debug logs

* Adding SPN Validation to nightly

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* trying to get SPN working

* incremetal

* incremetal

* incremetal

* incremetal

* incremetal

* Adding unicode file name test

* Adding SAS token test in nightly and .label test in feature test

* Test name corrected

* Making refresh token a seperate thread

* Making refresh token thread base for MSI and SPN auth

* Adding ubn20.04 to pipeline

* Build script to stop if cpplite build fails

* Converting '\' to '/' in getattr to convert it to path seperator

* Squashed 'cpplite/' changes from a3a9c21..dfbf757

dfbf757 Add performance test code
f1444b4 Fix inconsistent RFC1123 date format in different system locales

git-subtree-dir: cpplite
git-subtree-split: dfbf757f6d0b900f0c6889cee06b258fa6557e25

* Performance optimization trial

* Making default list size to be 5K as server never returns more then this

* No need to invalidate cache if its a new directory being created

* Update CA options for curl client

* Ignore system files for exact match only

* Making max result a constant for ease of change

* Enable preserving last_change time for chmod

* Cache failure also in blob property so avoid extra REST calls

* Count only for valid cached properties

* Enable attrib caceh in block blob

* Check perf with disabling Attr_caching

* GetAttr reversion as block blob failed with the change

* Removing adls end point for get property

* Reverting back to dfs endpoint for data lake account

* modestring to permission string conversion unified

* Converting upload file to dfs endpoint for upload

* Testing with higher level of concurrency

* Remove unwanted code

* Disable adls endpoint upload

* Use new cache only for ADLS

* Resetting the max_concurrency limits

* Reverting back unused changes

* Remove new cache from block blob accounts

* Remove exists check for truncate

* Dont init attr cache wrapper for adls

* Dont init attr cache wrapper for adls

* Adding exists check

* Merge correction with master

* Supressing new adls caching

* Adding new caching common for block and adls

* Correcting adls check

* Correcting infinte delete call

* Remove un-used things from blob property

* ADLS property can not be cached on listing

* Make attr cache enable on list

* On deletion of directory invalidate cache recursively

* Correct data validation test

* Resetting curl timeout to original

* Removing dead code

* Correcting timers for file after upload

* Testing list api with blob endpoint

* Adding file permissions to be retreived seperatly

* Ignore the acl to validate the performance

* Get acl for blob during get properties

* Performance tuning

* Retrying blob endpoint for list

* Add metadata support for dfs endpoint

* Performance tuning test with metadata in adls

* Get metadata seperatly for adls

* Get metadata only for file

* Add directory listing time test

* Correcting dir listing test case

* Check perf without metadata

* Optimize directory empty flow

* Remove local checking of directory empty

* Put back the empty directory check on cache

* Making symlink support configurable, by default its enable

* No need to check ctime while opening the file

* Vector replication memory issue fix

* Passing vectors by value for list apis

* Convert return type to integer and return errno

* Reverting back commented fields

* Reverting field deletion from the item list

* Readding missing fields

* Correcting cmd line option for no-symlinks

* If attr cache is enable, provide file properties from there instead of calling list again

* Optimizing list all operation for memory saving

* Rearranging code

* Try : replace list all with list in getatttr and readdir

* Correcting getattr implementation to handle empty list

* Put caching logic in List api

* Correcting cache on list with configurable option

* Reducing logs in getattr

* Clear the intermediate vector in list operation

* Enhancing attr cache for the huge list of files

* Resolving compilation failure

* Controlling attr-cache size to 12mil

* Adding cache-on-list in nightly

* return ENOENT only when list returned back empty list

* Squashed 'cpplite/' changes from dfbf757..2aa4e31

2aa4e31 Replace old RFC1123 impl which cannot be built until GCC 5
bdc6435 Fix build error on Windows
35dfba8 remove comparison in build_adls
c8f2a63 modified cmakelists

git-subtree-dir: cpplite
git-subtree-split: 2aa4e3155777ccddcd4a8562456d50059f34492c

* Symlink was broken in last commit, fixing that

* Clear metadata details when file is created

* Ignore azs_flush with null path. Github issue #470

* Parse metadata in upload file api

* Making cache-on-list a default option

* Changing the flag orders

* Try removing the cache item lock to conserve memory

* 1. azs_flush expects a null pointer in file name so correcting code to replace slashes accordingly.
2. getattr need not create and lock the file which are not even cached.
3. gc-cache need to only check the last modified time as we do not maintain other timers

* Add exponential retry policy to blob client

* fix for small github issues

* Add request id in logs

* Increasing size of attr-cached

* Adding rename directory test case

* Reducing the test case size for rename dir

* Adding rename dir to feature test script

* Correcting rename dir test case

* Correcting python test script

* PyTest correctoin

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
Co-authored-by: NaraVen <narven@microsoft.com>
Co-authored-by: Ubuntu <AzureUser@ubuntu1604identity.ef4nn4lo4nbedgoq0aeagsr1pd.dx.internal.cloudapp.net>
2020-09-19 21:34:15 -07:00
sihegde 4eb7608637
Update README.md (#473)
I am proposing this change as the content didn't had any information on authType 'SPN' that we can use for Service Principal Authentication. The connection.cfg has details where it is mentioned that SPN should be used as authType. However, since README.md had no information provided on it, I have added those changes.
2020-09-18 14:30:05 +05:30
Nara 31d6c90072
fixed curl initialization (#465)
* fixed curl initialization

* fixed kernel version bug

* fixed kernel version bug
2020-09-07 23:58:33 -07:00
Nara b0daf06c61
Update README.md 2020-08-27 17:31:02 -07:00
Nara 7090defc0b
Update README.md 2020-08-27 17:18:46 -07:00
Vikas Bhansali 730374fcea
CPPLite Upgrade and ADLS Support (#431)
- CPPLite upgraded to latest
- Adding support for ADLS account
- Symlink support added
- chmod command is supported for ADLS accounts
- Unicode filename bug fixed
- Block blob directory last modified time showing 1970 fixed
- last modified / access / change time support for ADLS account 
- last modified / access / change time for mount directory corrected

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
Co-authored-by: NaraVen <narven@microsoft.com>
2020-07-14 08:45:47 +05:30
Vikas Bhansali 40ff6cdf54
Adding dynamic logging and nightly pipeline (#401)
* Create ccpp.yml

* Adding dynamic logging

* Adding dynamic logging

* Addig git action to auto-build

* Update ccpp.yml

Correcting action for CI

* Update ccpp.yml

* Renaming ci file

* Ignoring blobcp binary from git status

* Update blobfuse_ci.yml

Adding Test to CI

* Update blobfuse_ci.yml

Correcting CI file for auto test blobfuse

* Update blobfuse_ci.yml

Storage container name correction

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Reverting back Nara's changes on get_property

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Adding ubuntu 16.04 to CI pipeline

* Adding OS based container name

* Removing fail fast from piepline

* Adding test for read/write file

* Delete directory is failing, ignore the failure

* Adjusting timeouts

* Resubmit

* Removing sudo from basic commands

* Resolving syntax error

* Adding more file tests

* Adding code to print logs at the end

* Create azure-nightly-pipeline.yaml

* Set up CI with Azure Pipelines

[skip ci]

* Update azure-nightly-pipeline.yaml

* Testing first pipeline

* Testing first pipeline 1

* Testing first pipeline 2

* Testing first pipeline 2

* Adding Feature Test

* Correcting syntax

* Correcting syntax continue on error

* Correcting permission issue

* Correcting job name

* Adding secret key support

* Adding local variables

* Adding local variables 1

* Adding container name

* Correct cache path

* Removing allow other user option

* Adding debug log level

* correcting cache path

* Disabling github pipeline

* Correcting cache directory

* Setting timeouts

* Adding list of last commits

* Moving copy file

* Create ccpp.yml

* Adding dynamic logging

* Adding dynamic logging

* Addig git action to auto-build

* Update ccpp.yml

Correcting action for CI

* Update ccpp.yml

* Renaming ci file

* Ignoring blobcp binary from git status

* Update blobfuse_ci.yml

Adding Test to CI

* Update blobfuse_ci.yml

Correcting CI file for auto test blobfuse

* Update blobfuse_ci.yml

Storage container name correction

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Update blobfuse_ci.yml

* Adding ubuntu 16.04 to CI pipeline

* Adding OS based container name

* Removing fail fast from piepline

* Adding test for read/write file

* Delete directory is failing, ignore the failure

* Adjusting timeouts

* Resubmit

* Removing sudo from basic commands

* Resolving syntax error

* Adding more file tests

* Adding code to print logs at the end

* Create azure-nightly-pipeline.yaml

* Set up CI with Azure Pipelines

[skip ci]

* Update azure-nightly-pipeline.yaml

* Testing first pipeline

* Testing first pipeline 1

* Testing first pipeline 2

* Testing first pipeline 2

* Adding Feature Test

* Correcting syntax

* Correcting syntax continue on error

* Correcting permission issue

* Correcting job name

* Adding secret key support

* Adding local variables

* Adding local variables 1

* Adding container name

* Correct cache path

* Removing allow other user option

* Adding debug log level

* correcting cache path

* Disabling github pipeline

* Correcting cache directory

* Setting timeouts

* Adding list of last commits

* Moving copy file

* Disabling github CI pipeline and enabling devops nightly pipeline

* Adding Ubn-20 in nightly

* Commenting Ubn-20 as its not supported by azure pipeline

* Correcting doubel sudo

* Updated Reame for logging improvements

* Adding logging details

* Correcting logging details

* Correcting logging details

* Correcting logging details

* Correcting logging details

* Adding logging files to package

* Resetting the version to upstream master

* Run this piepline only on schedule

* Correcting timeout in oauthtokentest

* Removing unwanted changes from pipelines

* Reverting last changes

* Adding comments for the refresh config function

Co-authored-by: Vikas Bhansali <vibhansa@microsoft.ccom>
2020-05-20 11:56:09 +05:30
Nara 2538d4ed37
Bug/file not found bad header (#398)
* fixed filenotfounderror

* mdoified readme

* fixed the bug where an invalid authtype assumes MSI and repeatedly tries to get an authtoken

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* modified Yaml to include tests

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* yaml fix

* test dir in yaml fix

* fixing build

* fixing build

* yaml -> adding permissions to user ci user to execute tests binary

* yaml -> adding permissions to user ci user to execute tests binary

* yaml -> troubleshooting test run failure

* yaml -> fixing test running during build

* tet case time to match utc if the machine is not set to UTC
2020-05-13 13:13:47 -07:00
adreed-msft 7c9f2e9f74
Support using a MSI client secret alongside a client ID and logs HTTP (#354)
* Support using a MSI client secret alongside a client ID

* of course it uses a different parameter name.

* Support Ubuntu 16

* Redact security information from HTTP syslogging
2020-02-24 13:40:36 -08:00
adreed-msft c7e9a3d999 Support Service Principal Name Authentication in blobfuse (#337)
* Support SPN based authentication
2020-01-16 12:58:25 -08:00
Amanda Nguyen 09a7f54fc8
Updating error message when an incorrect configuration file is given and updating versions (#339) 2019-12-12 12:44:20 -08:00
adreed-msft 1a980ad2b1 Support Managed Identity Authentication in blobfuse (#336)
Support for Managed Identity and update to cpplite sdk
2019-12-11 13:10:59 -08:00
Amanda Nguyen 4e10117656
Adding Dependency for FUSE, updating README, remove debug statements (#304)
Adding Dependency for FUSE, updating README, remove debug statements
2019-08-14 18:17:09 -07:00
Sercan Guler [MSFT] b5eaa34128
Update README.md 2018-12-20 13:50:44 -08:00
Sercan Guler [MSFT] 20b1f812b4
Update README.md 2018-10-31 23:05:23 -07:00
Sercan Guler [MSFT] 923985c062
Blobfuse is now stable 2018-08-14 15:31:59 -07:00
Sercan Guler [MSFT] 78b2099725
Update README.md 2018-07-10 13:54:35 -07:00
Sercan Guler [MSFT] 9bae7c8029
Update README.md 2018-07-10 13:51:55 -07:00
Sercan Guler [MSFT] f67345aeff
Update README.md
Minor mods
2018-03-21 17:20:28 -07:00
seguler 05f36f1d83 minor fixes 2018-03-21 20:35:26 +00:00
seguler 7a548f31fe Adding log-level param 2018-03-21 18:16:23 +00:00
seguler cae0f1291a Updating readme.md 2018-03-21 15:44:41 +00:00
asorrin-msft abde246f29
Adding syslog security warning to README 2018-03-18 12:51:54 -07:00
seguler 4e0012cea1 typos 2018-01-27 22:50:27 +00:00
seguler efa94338b6 Comment cleanup 2018-01-27 22:47:53 +00:00
seguler b43360219c GC on cached files periodically 2017-12-28 00:25:13 +00:00
Sercan Guler [MSFT] ec31e0a625
Update README.md
Updating installation instructions with the apt-yum packages
2017-11-20 21:40:27 -08:00
seguler b6abf82c42 Minor fixes, typo corrections 2017-11-01 04:54:23 +00:00
Adam Sorrin 81cbbf770f Initial commit 2017-10-31 15:40:04 -07:00