我在virtualbox上安裝了一個rex ray,配置使用官網(wǎng)生成的,然而在啟動時它一直報同樣的錯誤:
error: service startup failed: libstorage: error logging in
啟動命令:rexray start
附上配置,使用這個網(wǎng)址:http://rexrayconfig.codedelle...
libstorage:
service: virtualbox
virtualbox:
endpoint: http://192.168.56.100:18083
volumePath: /usrdata/Volumes
controllerName: SATA
谷歌了半天,好像沒有人像我這樣直接死在開啟服務(wù)上,附上debug信息
INFO[0000] configured default CSI module CSI_ENDPOINT=/run/docker/plugins/rexray.sock time=1514969505608
INFO[0000] DockerLegacyMode enabled=false time=1514969505608
DEBU[0000] trapped signals time=1514969505609
DEBU[0000] loading config buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1514969505609 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] cannot find global or user file buildType=client+agent+controller configFileName=rexray globalConfigFileExists=false globalConfigFilePath=/etc/rexray/rexray.yml ignoreExists=false time=1514969505609 userConfigFileExists=false userConfigFilePath=/root/.rexray/rexray.yml
DEBU[0000] loading config buildType=client+agent+controller configFileName=config globalConfigFileExists=true globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1514969505609 userConfigFileExists=false userConfigFilePath=/root/.rexray/config.yml
DEBU[0000] disabled config file exist check buildType=client+agent+controller configFileName=config globalConfigFileExists=true globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1514969505609 userConfigFileExists=false userConfigFilePath=/root/.rexray/config.yml
DEBU[0000] validating global config buildType=client+agent+controller configFileName=config globalConfigFileExists=true globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1514969505609 userConfigFileExists=false userConfigFilePath=/root/.rexray/config.yml
DEBU[0000] created new config buildType=client+agent+controller configFileName=config globalConfigFileExists=true globalConfigFilePath=/etc/rexray/config.yml ignoreExists=true time=1514969505610 userConfigFileExists=false userConfigFilePath=/root/.rexray/config.yml
DEBU[0000] initializing configuration
DEBU[0000] loading yaml for Global
DEBU[0000] loading yaml for CSI
DEBU[0000] loading global config file path=/etc/rexray/config.yml
DEBU[0000] usage template path path=/root/.rexray/usage.template time=1514969505613
DEBU[0000] loaded usage template source=UsageTemplate time=1514969505613
DEBU[0000] updating log level level=debug time=1514969505615
INFO[0000] updated log level logLevel=debug
DEBU[0000] os.args time=1514969505620 val=[rexray -l debug start]
INFO[0000] created pid file path=/var/run/rexray/rexray.pid pid=3303 time=1514969505621
DEBU[0000] host is empty; initiliazing default services time=1514969505634
INFO[0000] libStorage auto service mode enabled driver=virtualbox time=1514969505639
DEBU[0000] starting embedded libStorage server time=1514969505639
DEBU[0000] created scoped scope new=libstorage.server parentScopes=rexray,
INFO[0000] configured logging libstorage.logging.httpRequests=false libstorage.logging.httpResponses=false libstorage.logging.level=debug server=white-friend-mu time=1514969505692
DEBU[0000] parsed server auth property libstorage.server.auth.disabled=false server=white-friend-mu time=1514969505710
DEBU[0000] parsed server auth property libstorage.server.auth.key= server=white-friend-mu time=1514969505721
DEBU[0000] parsed server auth property libstorage.server.auth.alg=HS256 server=white-friend-mu time=1514969505728
DEBU[0000] parsed server auth property libstorage.server.auth.allow=[] server=white-friend-mu time=1514969505739
DEBU[0000] parsed server auth property libstorage.server.auth.deny=[] server=white-friend-mu time=1514969505748
INFO[0000] configured global auth libstorage.server.auth.alg=HS256 libstorage.server.auth.allow=[] libstorage.server.auth.deny=[] libstorage.server.auth.disabled=false libstorage.server.auth.key= server=white-friend-mu time=1514969505751
INFO[0000] initializing server server=white-friend-mu time=1514969505751
INFO[0000] initializing server services server=white-friend-mu time=1514969505751
DEBU[0000] configured result schema validation enabled=false server=white-friend-mu time=1514969505755
DEBU[0000] got services map count=1 server=white-friend-mu time=1514969505758
DEBU[0000] processing service config server=white-friend-mu service=virtualbox time=1514969505758
DEBU[0000] getting scoped config for service scope=libstorage.server.services.virtualbox server=white-friend-mu service=virtualbox time=1514969505758
DEBU[0000] created scoped scope new=libstorage.server.services.virtualbox parentScopes=libstorage.server,rexray,
DEBU[0000] got driver name driverName=virtualbox server=white-friend-mu service=virtualbox time=1514969505764
INFO[0000] initializing driver: map[moduleName:virtualbox userName: controllerName:SATA provider:virtualbox endpoint:http://192.168.56.100:18083 tls:false volumePath:/usrdata/Volumes machineNameOrId:] server=white-friend-mu service=virtualbox storageDriver=virtualbox time=1514969505808
INFO[0000] service shutdown complete time=1514969505846
INFO[0000] removed pid file path=/var/run/rexray/rexray.pid time=1514969505847
error: service startup failed: libstorage: error logging in
另外,我在官網(wǎng)上注意到這段話:
...order to leverage the virtualbox driver, the libStorage client or must be located on each VM that you wish to be able to consume external volumes. The driver leverages the vboxwebserv HTTP SOAP API which is a process that must be started from the VirtualBox host (ie OS X) using vboxwebsrv -H 0.0.0.0 -v or additionally with -b for running in the background. This allows the VMs running libStorage to remotely make calls to the underlying VirtualBox application.
似乎就是要用vboxwebserv
這個命令開啟SOAP API,然而我還是沒有找到相應的命令,最貼近的那個是個鏡像……用在phpVirtualBox上(感覺不應該跟我有關(guān)系?。?/p>
求各路大哥幫個忙解決下,謝謝。
北大青鳥APTECH成立于1999年。依托北京大學優(yōu)質(zhì)雄厚的教育資源和背景,秉承“教育改變生活”的發(fā)展理念,致力于培養(yǎng)中國IT技能型緊缺人才,是大數(shù)據(jù)專業(yè)的國家
北大青鳥中博軟件學院創(chuàng)立于2003年,作為華東區(qū)著名互聯(lián)網(wǎng)學院和江蘇省首批服務(wù)外包人才培訓基地,中博成功培育了近30000名軟件工程師走向高薪崗位,合作企業(yè)超4
中公教育集團創(chuàng)建于1999年,經(jīng)過二十年潛心發(fā)展,已由一家北大畢業(yè)生自主創(chuàng)業(yè)的信息技術(shù)與教育服務(wù)機構(gòu),發(fā)展為教育服務(wù)業(yè)的綜合性企業(yè)集團,成為集合面授教學培訓、網(wǎng)
達內(nèi)教育集團成立于2002年,是一家由留學海歸創(chuàng)辦的高端職業(yè)教育培訓機構(gòu),是中國一站式人才培養(yǎng)平臺、一站式人才輸送平臺。2014年4月3日在美國成功上市,融資1
曾工作于聯(lián)想擔任系統(tǒng)開發(fā)工程師,曾在博彥科技股份有限公司擔任項目經(jīng)理從事移動互聯(lián)網(wǎng)管理及研發(fā)工作,曾創(chuàng)辦藍懿科技有限責任公司從事總經(jīng)理職務(wù)負責iOS教學及管理工作。
浪潮集團項目經(jīng)理。精通Java與.NET 技術(shù), 熟練的跨平臺面向?qū)ο箝_發(fā)經(jīng)驗,技術(shù)功底深厚。 授課風格 授課風格清新自然、條理清晰、主次分明、重點難點突出、引人入勝。
精通HTML5和CSS3;Javascript及主流js庫,具有快速界面開發(fā)的能力,對瀏覽器兼容性、前端性能優(yōu)化等有深入理解。精通網(wǎng)頁制作和網(wǎng)頁游戲開發(fā)。
具有10 年的Java 企業(yè)應用開發(fā)經(jīng)驗。曾經(jīng)歷任德國Software AG 技術(shù)顧問,美國Dachieve 系統(tǒng)架構(gòu)師,美國AngelEngineers Inc. 系統(tǒng)架構(gòu)師。