thecodeteam / heat Goto Github PK
View Code? Open in Web Editor NEWAll OpenStack Heat related projects
License: Apache License 2.0
All OpenStack Heat related projects
License: Apache License 2.0
When use this template everything fine except I am not able to create or list volumes
ubuntu@swarm-master:~$ rexray volume list
Oops, an error occured!
invalid format
To correct the error please review:
List volumes
buntu@swarm-master:~$ cat /etc/rexray/config.yml
rexray:
storageDrivers:
- openstack
volume:
mount:
prempt: true
openstack:
authUrl: http://192.168.2.21:5000/v2.0
username: admin
password: mypassword
tenantName: admin
regionName: RegionOne
REX-Ray
-------
Binary: /usr/bin/rexray
SemVer: 0.6.3
OsArch: Linux-x86_64
Branch: v0.6.3
Commit: 69b1f5c2d86a2103c792bec23b5855babada1c0a
Formed: Wed, 07 Dec 2016 23:22:14 UTC
libStorage
----------
SemVer: 0.3.5
OsArch: Linux-x86_64
Branch: v0.6.3
Commit: 456dd68123dd6b49da0275d9bbabd6c800583f61
Formed: Wed, 07 Dec 2016 23:21:36 UTC
INFO[0000] created pid file pid=24948 time=1481715443686
DEBU[0000] libStorage auto service mode disabled; service name empty time=1481715443689
DEBU[0000] starting embedded libStorage server time=1481715443689
DEBU[0000] created scoped scope new=libstorage.server parentScopes=rexray,
_ _ _ _____ _
| (_) | / ____| |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \
| | | |_) |___) | || (_) | | | (_| | (_| | __/
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___|
__/ |
|___/
################################################################################
## ##
## libStorage starting - 2016/12/14 11:37:23.689 ##
## ##
## server: buttercup-arm-tn ##
## token: 42ed28f6-ea2a-4c15-5d75-4d6f7d8a0c6f ##
## ##
## semver: 0.3.5 ##
## osarch: Linux-x86_64 ##
## branch: v0.6.3 ##
## commit: 456dd68123dd6b49da0275d9bbabd6c800583f61 ##
## formed: Wed, 07 Dec 2016 23:21:36 UTC ##
## ##
## etc: /etc/libstorage ##
## lib: /var/lib/libstorage ##
## log: /var/log/libstorage ##
## run: /var/run/libstorage ##
## ##
################################################################################
INFO[0000] configured logging libstorage.logging.httpRequests=false libstorage.logging.httpResponses=false libstorage.logging.level=debug server=buttercup-arm-tn time=1481715443705
INFO[0000] initializing server server=buttercup-arm-tn time=1481715443705
INFO[0000] initializing default endpoint autoEndpointMode=unix server=buttercup-arm-tn time=1481715443707
INFO[0000] initializing auto unix endpoint endpoint=libstorage.server.endpoints.localhost server=buttercup-arm-tn time=1481715443710
DEBU[0000] endpoint info address=unix:///var/run/libstorage/271165311.sock endpoint=libstorage.server.endpoints.localhost server=buttercup-arm-tn time=1481715443710
DEBU[0000] created scoped scope new=libstorage.server.endpoints.localhost parentScopes=libstorage.server,rexray,
INFO[0000] configured endpoint address=unix:///var/run/libstorage/271165311.sock endpoint=localhost server=buttercup-arm-tn time=1481715443714
INFO[0000] server created server=buttercup-arm-tn time=1481715443714
INFO[0000] initialized endpoints server=buttercup-arm-tn time=1481715443714
INFO[0000] initializing server services server=buttercup-arm-tn time=1481715443714
DEBU[0000] configured result schema validation enabled=false server=buttercup-arm-tn time=1481715443715
ERRO[0000] default module(s) failed to initialize error.configKey=libstorage.server.services error.obj=<nil> time=1481715443717
ERRO[0000] error starting rex-ray error.obj=<nil> error.configKey=libstorage.server.services time=1481715443717
DEBU[0000] completed cli execution time=1481715443717
INFO[0000] exiting process time=1481715443717
DEBU[0000] completed onExit at end of program time=1481715443717
curl -sSL https://dl.bintray.com/emccode/rexray/install | sh -s -- stable 0.3.3
root@swarm-master:~# rexray volume list
- name: mysqltestdata
volumeid: e424a60f-3fc5-4faf-830e-9dc1f5b9bdea
availabilityzone: nova
status: available
volumetype: ""
iops: 0
size: "1"
networkname: ""
attachments: []
- name: demovol
volumeid: 0bc986d2-63a1-4db4-8777-1beb492b8797
availabilityzone: nova
status: available
volumetype: ""
iops: 0
size: "1"
networkname: ""
attachments: []
Error response from daemon: create postgrsdata: VolumeDriver.Create: {"Error":"error creating volume"}
root@swarm-master:~#
root@swarm-master:~# rexray service start
● rexray.service - rexray
Loaded: loaded (/etc/systemd/system/rexray.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2016-12-14 11:45:25 UTC; 13min ago
Main PID: 25186 (rexray)
Tasks: 6
Memory: 7.5M
CPU: 39ms
CGroup: /system.slice/rexray.service
└─25186 /usr/bin/rexray start -f
Dec 14 11:51:32 swarm-master systemd[1]: Started rexray.
Dec 14 11:52:24 swarm-master rexray[25186]: time="2016-12-14T11:52:24Z" level=error msg="/VolumeDriver.Get: error getting volume" error="No volumes returned"
Dec 14 11:52:24 swarm-master rexray[25186]: time="2016-12-14T11:52:24Z" level=error msg="No volumes returned"
Dec 14 11:52:25 swarm-master rexray[25186]: time="2016-12-14T11:52:25Z" level=error msg="/VolumeDriver.Create: error creating volume" error="error creating volume"
Dec 14 11:52:25 swarm-master rexray[25186]: time="2016-12-14T11:52:25Z" level=error msg="error creating volume" availabilityZone= iops=0 moduleName=default-docker provider=Openstack runAsync=false size=5 snapsho
Dec 14 11:57:04 swarm-master rexray[25186]: time="2016-12-14T11:57:04Z" level=error msg="/VolumeDriver.Get: error getting volume" error="No volumes returned"
Dec 14 11:57:04 swarm-master rexray[25186]: time="2016-12-14T11:57:04Z" level=error msg="No volumes returned"
Dec 14 11:57:04 swarm-master rexray[25186]: time="2016-12-14T11:57:04Z" level=error msg="/VolumeDriver.Create: error creating volume" error="error creating volume"
Dec 14 11:57:04 swarm-master rexray[25186]: time="2016-12-14T11:57:04Z" level=error msg="error creating volume" availabilityZone= iops=0 moduleName=default-docker provider=Openstack runAsync=false size=5 snapsho
Dec 14 11:59:10 swarm-master systemd[1]: Started rexra
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.