Skip to content

Instantly share code, notes, and snippets.

@sombrafam
sombrafam / localrc
Created February 11, 2014 18:05
localrc
# Sample ``localrc`` for user-configurable variables in ``stack.sh``
# NOTE: Copy this file to the root ``devstack`` directory for it to
# work properly.
# ``localrc`` is a user-maintained setings file that is sourced from ``stackrc``.
# This gives it the ability to override any variables set in ``stackrc``.
# Also, most of the settings in ``stack.sh`` are written to only be set if no
# value has already been set; this lets ``localrc`` effectively override the
# default values.
2014-02-11 11:43:09 + local line
2014-02-11 11:43:09 ++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^ec2_dmz_host[ \t]*=/ p; }' /etc/nova/nova.conf
2014-02-11 11:43:09 + line=
2014-02-11 11:43:09 + '[' -n '' ']'
2014-02-11 11:43:09 + sed -i -e '/^\[DEFAULT\]/ a\
2014-02-11 11:43:09 ec2_dmz_host = 10.15.0.1
2014-02-11 11:43:09 ' /etc/nova/nova.conf
2014-02-11 11:43:09 + iniset_rpc_backend nova /etc/nova/nova.conf DEFAULT
2014-02-11 11:43:09 + local package=nova
2014-02-11 11:43:09 + local file=/etc/nova/nova.conf
@sombrafam
sombrafam / c-vol log
Created February 20, 2014 14:39
api error
DEBUG cinder.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'_member_'], u'_context_request_id': u'req-406e813d-8145-4ed2-ae09-52fc802337c0', u'_context_quota_class': None, u'_context_project_name': u'VolumesActionsTest-1872194581', u'_context_service_catalog': [{u'endpoints_links': [], u'endpoints': [{u'adminURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'region': u'RegionOne', u'publicURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'internalURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'id': u'18931a3b0b1f4d5c8d4a06fc9b48f3c6'}], u'type': u'compute', u'name': u'nova'}], u'_context_tenant': u'29b26dfbbe0b430ebcf1719196508632', u'args': {u'image_meta': {u'status': u'queued', u'name': u'Image--2055919949', u'deleted': False, u'container_format': u'bare', u'created_at': u'2014-02-14T13:10:21.000000', u'disk_format': u'raw', u'updated_at': u'2014-02-14T13:10:21.000000', u'id': u'749b6242-18e0-47d3-bcf1-6fd6c6d965e5', u'owne
@sombrafam
sombrafam / c-vol log
Created February 20, 2014 14:40
api error
DEBUG cinder.openstack.common.rpc.amqp [-] received {u'_context_roles': [u'_member_'], u'_context_request_id': u'req-406e813d-8145-4ed2-ae09-52fc802337c0', u'_context_quota_class': None, u'_context_project_name': u'VolumesActionsTest-1872194581', u'_context_service_catalog': [{u'endpoints_links': [], u'endpoints': [{u'adminURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'region': u'RegionOne', u'publicURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'internalURL': u'http://192.168.1.56:8774/v2/29b26dfbbe0b430ebcf1719196508632', u'id': u'18931a3b0b1f4d5c8d4a06fc9b48f3c6'}], u'type': u'compute', u'name': u'nova'}], u'_context_tenant': u'29b26dfbbe0b430ebcf1719196508632', u'args': {u'image_meta': {u'status': u'queued', u'name': u'Image--2055919949', u'deleted': False, u'container_format': u'bare', u'created_at': u'2014-02-14T13:10:21.000000', u'disk_format': u'raw', u'updated_at': u'2014-02-14T13:10:21.000000', u'id': u'749b6242-18e0-47d3-bcf1-6fd6c6d965e5', u'owne
@sombrafam
sombrafam / cert-iscsi.txt
Created March 3, 2014 14:22
HNAS iSCSI Certification Results
========================================================
03/03/14/07:08:01:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/03/14/07:08:01:Output is being logged to: /tmp/tmp.CaW4AyGbOL
========================================================
03/03/14/07:08:01:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================
@sombrafam
sombrafam / cert-iscsi.txt
Created March 3, 2014 14:23
HNAS iSCSI and NFS Certification Results
========================================================
03/03/14/07:08:01:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/03/14/07:08:01:Output is being logged to: /tmp/tmp.CaW4AyGbOL
========================================================
03/03/14/07:08:01:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================
========================================================
03/03/14/07:08:01:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/03/14/07:08:01:Output is being logged to: /tmp/tmp.CaW4AyGbOL
========================================================
03/03/14/07:08:01:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================
========================================================
03/03/14/08:16:24:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/03/14/08:16:24:Output is being logged to: /tmp/tmp.01TwlEXuvZ
========================================================
03/03/14/08:16:24:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================
ubuntu@ubuntu:~/devstack$ cd /opt/stack/cinder && /usr/local/bin/cinder-volume --config-file /etc/cinder/cinder.conf
Traceback (most recent call last):
File "/usr/local/bin/cinder-volume", line 4, in <module>
from pkg_resources import require; require('cinder==2014.1.dev296.g6b15c40')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
========================================================
03/07/14/12:23:53:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/07/14/12:23:53:Output is being logged to: /tmp/tmp.aDQORrP98k
========================================================
03/07/14/12:23:53:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================