Ask Your Question

Sinatra's profile - activity

2018-06-24 19:20:02 -0500 asked a question Network node for Queens

Hi all,

I am new to openstack and I am deploying a 4-node architecture including controller, compute, block storage and network. however, I could not find any documentation that explains how to deploy a separate network node in Queens release. can anyone help me with this?

2018-06-24 19:20:01 -0500 asked a question Glance error 500

I am using queen release, keystone and glance services are running. any command related to glance like "openstack image create" or "openstack image list" is faced with "Internal Server Error (HTTP 500)". log files show nothing but: `

service_catalog = self.get_access(session).service_catalog
File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
self.auth_ref = self.get_auth_ref(session)
File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 199, in get_auth_ref
self._plugin = self._do_create_plugin(session)
File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 194, in _do_create_plugin
raise exceptions.DiscoveryFailure('Could not determine a suitable URL '
DiscoveryFailure: Could not determine a suitable URL for the plugin

2018-06-04 12:18:26.081 3221 INFO eventlet.wsgi.server [-] 10.10.10.51 - - [04/Jun/2018 12:18:26] "GET /v2/images 
HTTP/1.1" 500 139 0.015353

which comes from glance-api.log

here are the configuration files:

glance-api.conf

[database]
connection = mysql+pymysql://glance:password@controller/glance
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357 
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = password
[paste_deploy]
flavor = keystone

glance-registery.conf

[database]
connection = mysql+pymysql://glance:password@controller/glance
[keystone_authtoken]
auth_uri = http://controller:5000 
auth_url = http://controller:35357  
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = password
[paste_deploy]
flavor = keystone

all glance tables are existed in database also.

2018-06-24 19:20:00 -0500 asked a question cinder volume creation and deletion problem

Hi all I am new in openstack and I have recently run a 4 node openstack included controller, compute, network and cinder nodes. first time i used cinder create command with demo credentials, the volume creation was successful but after that, whether from horizon or command line, when I try to create a new volume, it's stuck in creating status. the only way to get rid of creating status is "cinder reset-state <volume_id>" command which changes the volume status to "available", even though the problem appears again when i try to delete the volume (it's stuck in deleting) and this time cinder reset-state command does not help. this time the only way to get rid of deleting status is rebooting the cinder node. anyway i am collecting all log files from all 4 nodes in a syslog server and the only message that appears in syslog server is from controller node cinder-scheduler:

2018-05-28 10:31:29.089 1213 WARNING cinder.context [-] Arguments dropped when creating context: {'user': None, 'tenant': None, 'user_identity': u'- - - - -'}

I am using Icehouse version and my cinder configuration in cinder node is:

[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rpc_backend = rabbit
rabbit_hosts = controller
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = xxx
glance_host = controller
[keystone_authtoken]
auth_uri = http://controller:5000
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = xxx
[database]
connection = mysql://cinder:xxx@controller/cinder

and here is my cinder configuration on controller node:

[DEFAULT]
control_exchange = cinder
notification_driver = cinder.openstack.common.notifier.rpc_notifier
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
rpc_backend = rabbit
rabbit_host = controller
rabbit_port = 5672
rabbit_userid = guest
rabbit_password = xxx
[database]
connection = mysql://cinder:xxx@controller/cinder
[keystone_authtoken] 
auth_uri = http://controller:5000
auth_host = controller 
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = cinder
admin_password = xxx
2018-06-07 06:42:37 -0500 received badge  Enthusiast
2018-05-26 07:07:43 -0500 received badge  Autobiographer