Created
April 25, 2017 20:13
-
-
Save codenrhoden/b3fd850589e348db54c90f8290be92dd to your computer and use it in GitHub Desktop.
openstack.test with openrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trhoden@instance-1:~$ source devstack/openrc demo | |
WARNING: setting legacy OS_TENANT_NAME to support cli tools. | |
trhoden@instance-1:~$ env | grep OS_ | |
OS_PROJECT_DOMAIN_ID=default | |
OS_REGION_NAME=RegionOne | |
OS_USER_DOMAIN_ID=default | |
OS_PROJECT_NAME=demo | |
OS_IDENTITY_API_VERSION=3 | |
OS_PASSWORD=rexray | |
OS_AUTH_URL=http://10.138.0.2/identity_admin | |
OS_USERNAME=demo | |
OS_TENANT_NAME=demo | |
OS_VOLUME_API_VERSION=2 | |
trhoden@instance-1:~$ openstack volume create --size 1 rexray | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| attachments | [] | | |
| availability_zone | nova | | |
| bootable | false | | |
| consistencygroup_id | None | | |
| created_at | 2017-04-25T20:11:51.556269 | | |
| description | None | | |
| encrypted | False | | |
| id | a7cde68e-61c4-44bf-8170-a7a0723fb30c | | |
| multiattach | False | | |
| name | rexray | | |
| properties | | | |
| replication_status | None | | |
| size | 1 | | |
| snapshot_id | None | | |
| source_volid | None | | |
| status | creating | | |
| type | lvmdriver-1 | | |
| updated_at | None | | |
| user_id | 1e2fb0ae11ef455cb4819312f10ddf65 | | |
+---------------------+--------------------------------------+ | |
trhoden@instance-1:~$ ./openstack.test -test.v | |
INFO[0000] registered custom context key externalID=Libstorage-Tx internalID=1 keyBitmask=2 | |
INFO[0000] registered custom context key externalID=Libstorage-Instanceid internalID=2 keyBitmask=2 | |
INFO[0000] registered custom context key externalID=Libstorage-Localdevices internalID=3 keyBitmask=2 | |
INFO[0000] registered custom context key externalID=Authorization internalID=4 keyBitmask=2 | |
=== RUN TestInstanceID | |
--- FAIL: TestInstanceID (0.18s) | |
openstack_test.go:97: msg="error authenticating" availabilityZone= password=****** trustId= provider=openstack region=RegionOne userId= domainId= domainName= tokenId= tenantName=demo inner="invalid character '<' looking for beginning of value" identityEndpoint=http://10.138.0.2/identity_admin userName=demo tenantId= | |
=== RUN TestServices | |
_ _ _ _____ _ | |
| (_) | / ____| | | |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___ | |
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \ | |
| | | |_) |___) | || (_) | | | (_| | (_| | __/ | |
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___| | |
__/ | | |
|___/ | |
################################################################################ | |
## ## | |
## libStorage starting - 2017/04/25 20:12:32.643 ## | |
## ## | |
## server: pale-hair-vu ## | |
## token: 3711aed6-47a4-4645-4971-1848ed00008a ## | |
## ## | |
## semver: 0.5.2+58 ## | |
## osarch: Linux-x86_64 ## | |
## branch: openstack ## | |
## commit: d24ccafdfc7302320c3601e156eb316f18e0e08d ## | |
## formed: Tue, 25 Apr 2017 19:09:23 UTC ## | |
## ## | |
## etc: /home/trhoden/.libstorage/etc ## | |
## tls: /home/trhoden/.libstorage/etc/tls ## | |
## lib: /home/trhoden/.libstorage/var/lib ## | |
## log: /home/trhoden/.libstorage/var/log ## | |
## run: /home/trhoden/.libstorage/var/run ## | |
## lsx: /home/trhoden/.libstorage/var/lib/lsx-linux ## | |
## ## | |
################################################################################ | |
--- FAIL: TestServices (0.38s) | |
tests.go:412: msg="error authenticating" password=****** tenantId= tenantName=demo domainName= region=RegionOne userName=demo userId= inner="invalid character '<' looking for beginning of value" provider=openstack availabilityZone= domainId= trustId= identityEndpoint=http://10.138.0.2/identity_admin tokenId= | |
=== RUN TestVolumeCreateRemove | |
_ _ _ _____ _ | |
| (_) | / ____| | | |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___ | |
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \ | |
| | | |_) |___) | || (_) | | | (_| | (_| | __/ | |
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___| | |
__/ | | |
|___/ | |
################################################################################ | |
## ## | |
## libStorage starting - 2017/04/25 20:12:33.018 ## | |
## ## | |
## server: spectrum-ant-tc ## | |
## token: 0da4b0c3-abcb-4daf-6ad6-9dd42c588d64 ## | |
## ## | |
## semver: 0.5.2+58 ## | |
## osarch: Linux-x86_64 ## | |
## branch: openstack ## | |
## commit: d24ccafdfc7302320c3601e156eb316f18e0e08d ## | |
## formed: Tue, 25 Apr 2017 19:09:23 UTC ## | |
## ## | |
## etc: /home/trhoden/.libstorage/etc ## | |
## tls: /home/trhoden/.libstorage/etc/tls ## | |
## lib: /home/trhoden/.libstorage/var/lib ## | |
## log: /home/trhoden/.libstorage/var/log ## | |
## run: /home/trhoden/.libstorage/var/run ## | |
## lsx: /home/trhoden/.libstorage/var/lib/lsx-linux ## | |
## ## | |
################################################################################ | |
--- FAIL: TestVolumeCreateRemove (0.44s) | |
tests.go:412: msg="error authenticating" userName=demo password=****** tenantId= tenantName=demo trustId= region=RegionOne identityEndpoint=http://10.138.0.2/identity_admin userId= inner="invalid character '<' looking for beginning of value" tokenId= provider=openstack availabilityZone= domainId= domainName= | |
=== RUN TestVolumes | |
_ _ _ _____ _ | |
| (_) | / ____| | | |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___ | |
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \ | |
| | | |_) |___) | || (_) | | | (_| | (_| | __/ | |
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___| | |
__/ | | |
|___/ | |
################################################################################ | |
## ## | |
## libStorage starting - 2017/04/25 20:12:33.454 ## | |
## ## | |
## server: flash-fang-py ## | |
## token: 58d19d8a-758c-4466-6504-4807c84090ff ## | |
## ## | |
## semver: 0.5.2+58 ## | |
## osarch: Linux-x86_64 ## | |
## branch: openstack ## | |
## commit: d24ccafdfc7302320c3601e156eb316f18e0e08d ## | |
## formed: Tue, 25 Apr 2017 19:09:23 UTC ## | |
## ## | |
## etc: /home/trhoden/.libstorage/etc ## | |
## tls: /home/trhoden/.libstorage/etc/tls ## | |
## lib: /home/trhoden/.libstorage/var/lib ## | |
## log: /home/trhoden/.libstorage/var/log ## | |
## run: /home/trhoden/.libstorage/var/run ## | |
## lsx: /home/trhoden/.libstorage/var/lib/lsx-linux ## | |
## ## | |
################################################################################ | |
--- FAIL: TestVolumes (0.44s) | |
tests.go:412: msg="error authenticating" inner="invalid character '<' looking for beginning of value" tenantName=demo trustId= password=****** identityEndpoint=http://10.138.0.2/identity_admin userId= tokenId= domainId= availabilityZone= userName=demo tenantId= domainName= provider=openstack region=RegionOne | |
=== RUN TestVolumeAttach | |
_ _ _ _____ _ | |
| (_) | / ____| | | |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___ | |
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \ | |
| | | |_) |___) | || (_) | | | (_| | (_| | __/ | |
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___| | |
__/ | | |
|___/ | |
################################################################################ | |
## ## | |
## libStorage starting - 2017/04/25 20:12:33.898 ## | |
## ## | |
## server: just-cloak-fr ## | |
## token: 901a67ee-b2a2-4536-4071-0183e2e5599b ## | |
## ## | |
## semver: 0.5.2+58 ## | |
## osarch: Linux-x86_64 ## | |
## branch: openstack ## | |
## commit: d24ccafdfc7302320c3601e156eb316f18e0e08d ## | |
## formed: Tue, 25 Apr 2017 19:09:23 UTC ## | |
## ## | |
## etc: /home/trhoden/.libstorage/etc ## | |
## tls: /home/trhoden/.libstorage/etc/tls ## | |
## lib: /home/trhoden/.libstorage/var/lib ## | |
## log: /home/trhoden/.libstorage/var/log ## | |
## run: /home/trhoden/.libstorage/var/run ## | |
## lsx: /home/trhoden/.libstorage/var/lib/lsx-linux ## | |
## ## | |
################################################################################ | |
--- FAIL: TestVolumeAttach (0.37s) | |
tests.go:412: msg="error authenticating" region=RegionOne availabilityZone= tenantId= provider=openstack userId= password=****** identityEndpoint=http://10.138.0.2/identity_admin userName=demo tokenId= domainName= trustId= inner="invalid character '<' looking for beginning of value" tenantName=demo domainId= | |
=== RUN TestSnapshots | |
_ _ _ _____ _ | |
| (_) | / ____| | | |
| |_| |__| (___ | |_ ___ _ __ __ _ __ _ ___ | |
| | | '_ \\___ \| __/ _ \| '__/ _' |/ _' |/ _ \ | |
| | | |_) |___) | || (_) | | | (_| | (_| | __/ | |
|_|_|_.__/_____/ \__\___/|_| \__,_|\__, |\___| | |
__/ | | |
|___/ | |
################################################################################ | |
## ## | |
## libStorage starting - 2017/04/25 20:12:34.263 ## | |
## ## | |
## server: scythe-flame-bl ## | |
## token: 0ac4df2a-f15c-4d5d-57d3-329fdda076e8 ## | |
## ## | |
## semver: 0.5.2+58 ## | |
## osarch: Linux-x86_64 ## | |
## branch: openstack ## | |
## commit: d24ccafdfc7302320c3601e156eb316f18e0e08d ## | |
## formed: Tue, 25 Apr 2017 19:09:23 UTC ## | |
## ## | |
## etc: /home/trhoden/.libstorage/etc ## | |
## tls: /home/trhoden/.libstorage/etc/tls ## | |
## lib: /home/trhoden/.libstorage/var/lib ## | |
## log: /home/trhoden/.libstorage/var/log ## | |
## run: /home/trhoden/.libstorage/var/run ## | |
## lsx: /home/trhoden/.libstorage/var/lib/lsx-linux ## | |
## ## | |
################################################################################ | |
--- FAIL: TestSnapshots (0.51s) | |
tests.go:412: msg="error authenticating" inner="invalid character '<' looking for beginning of value" region=RegionOne userId= password=****** tenantName=demo domainId= tenantId= trustId= availabilityZone= provider=openstack identityEndpoint=http://10.138.0.2/identity_admin userName=demo tokenId= domainName= | |
FAIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment