Ask Your Question

benbenzhuforever's profile - activity

2016-02-08 09:16:25 -0500 received badge  Popular Question (source)
2013-05-21 02:10:03 -0500 answered a question Quantum Server Randomly Shut Down in Grizzly

the log i got from my test team is -> ... [05/19/2013 09:05:54 CEST]quantumCRITICAL : [Errno 5] Input/output error Traceback (most recent call last): File "/usr/bin/quantum-server", line 27, in <module> server() File "/usr/lib/python2.6/site-packages/quantum/server/__init__.py", line 41, in main quantum_service.wait() File "/usr/lib/python2.6/site-packages/quantum/service.py", line 72, in wait self.wsgi_app.wait() File "/usr/lib/python2.6/site-packages/quantum/wsgi.py", line 97, in wait self.pool.waitall() File "/usr/lib/python2.6/site-packages/eventlet/greenpool.py", line 117, in waitall self.no_coros_running.wait() File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait return hubs.get_hub().switch() File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch return self.greenlet.switch() File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 216, in run self.fire_timers(self.clock()) File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 340, in fire_timers self.squelch_timer_exception(timer, sys.exc_info()) File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 264, in squelch_timer_exception traceback.print_exception(*exc_info) File "/usr/lib64/python2.6/traceback.py", line 124, in print_exception _print(file, 'Traceback (most recent call last):') File "/usr/lib64/python2.6/traceback.py", line 13, in _print file.write(str+terminator) IOError: [Errno 5] Input/output error ...

2013-05-21 02:09:27 -0500 answered a question Quantum Server Randomly Shut Down in Grizzly

the log i got from my test team is -> ... [05/19/2013 09:05:54 CEST]quantumCRITICAL : [Errno 5] Input/output error Traceback (most recent call last): File "/usr/bin/quantum-server", line 27, in <module> server() File "/usr/lib/python2.6/site-packages/quantum/server/__init__.py", line 41, in main quantum_service.wait() File "/usr/lib/python2.6/site-packages/quantum/service.py", line 72, in wait self.wsgi_app.wait() File "/usr/lib/python2.6/site-packages/quantum/wsgi.py", line 97, in wait self.pool.waitall() File "/usr/lib/python2.6/site-packages/eventlet/greenpool.py", line 117, in waitall self.no_coros_running.wait() File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait return hubs.get_hub().switch() File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch return self.greenlet.switch() File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 216, in run self.fire_timers(self.clock()) File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 340, in fire_timers self.squelch_timer_exception(timer, sys.exc_info()) File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 264, in squelch_timer_exception traceback.print_exception(*exc_info) File "/usr/lib64/python2.6/traceback.py", line 124, in print_exception _print(file, 'Traceback (most recent call last):') File "/usr/lib64/python2.6/traceback.py", line 13, in _print file.write(str+terminator) IOError: [Errno 5] Input/output error ...

2013-05-20 05:52:06 -0500 asked a question Quantum Server Randomly Shut Down in Grizzly

recently we upgraded to Grizzly for Quantum and noticed that the Quantum service randomly disappeared sometimes, which is running as a backend service by using command "quantum-server --conf_dir ... --conf_file... &". We did not have this issue for folsom version.

2013-05-07 08:33:56 -0500 asked a question How to enable HTTPs in Grizzly Quantum

We just setup Quantum Grizzly and want to enable HTTPs access for it. But up to now, i have not searched out any configuration information to make this happen....

Can you help me to point to the right place?

2013-04-22 12:23:19 -0500 answered a question user is not in tenant via Microsoft Active Directory when using keystone user-get

Today, I just setup Keystone Grizzly and want to migration my Folsom implementation to Grizzly version. My backend Identity service is OpenLDAP(stores User, Tenant, Role information). After configuring the keystone.conf file for Grizzly and issue the command get -> http://146.89.7.107:35357/v3/users , I am returned back with a list of user with info ->

######## { "users": [ { "password": "secrete", "id": "nsoadmin-cn-1", "links": { "self": "http://localhost:5000/v3/users/nsoadmin-cn-1" }, "name": "nsoadmin-1" }, { "password": "secrete", "id": "nsoadmin-cn-2", "links": { "self": "http://localhost:5000/v3/users/nsoadmin-cn-2" }, "name": "nsoadmin-2" }, .... ########

However, from the official doc, it should be returned with information such like ->

######## [ { "default_project_id": "--default-project-id--", "description": "a user", "domain_id": "1789d1", "email": "...", "enabled": true, "id": "--user-id--", "links": { "self": "http://identity:35357/v3/users/--user-id--" }, "name": "admin" }, { "default_project_id": "--default-project-id--", "description": "another user", "domain_id": "1789d1", "email": "...", "enabled": true, "id": "--user-id--", "links": { "self": "http://identity:35357/v3/users/--user-id--" }, "name": "someone" } ] ########

,which is with more information such like ,domain and project.

Also, when I issue the command wanting to get a scoped token -> ######## curl -X POST -d '{"auth":{"tenantName": "admin-tenant", "passwordCredentials":{"username": "nsoadmin-1", "password": "secrete"}}}' -H "Content-type: application/json" http://146.89.7.95:5000/v2.0/tokens | python -m json.tool ########

I faced with the error message-> "message": "An unexpected error prevented the server from fulfilling your request. 'domain_id'", "title": "Internal Server Error"

Can anyone give me an insight here?

2012-12-28 14:56:01 -0500 answered a question keystone cannot use the command curl

I came across this issue same with you yesterday when i edited the attribute "driver = keystone.token.backends.kvs.Token" with the new value "driver = keystone.token.backends.sql.Token". However, when i changed back to "....kvs...", the error disappeared. I do not know why for that right now. I assumed if i changed to ''...sql...' then the token info will be stored in DB.

2012-11-26 01:57:13 -0500 asked a question Authentication and Authorization for Quantum

We know that for the latest Quantum Folsom version, the Keystone is enabled by default as the Authentication and Authorization service for Quantum. I am right now investigating other alternatives for Authentication and Authorization if we do not use Keystone.

We also know that we can use both the Quantum CLI tool and HTTP REST API to do the same things with Quantum(Quantum CLI tool in fact a wrapper to call HTTP REST API). Therefore, if I disable the Keystone from the Quantum configuration file but still want to equip Quantum with user Authentication and Authorization, I know that I can act as the ADMIN role with Quantum CLI tool to use Quantum on behalf of all other users with some existing authentication alternatives such as PAM. By using PAM, we can control the access of the ADMIN user with use of Quantum CLI tool. However, if we want to use the HTTP REST API directly, I have no idea right now of how to do the Authentication for each user from the REST call.

For Authorization, I have not gotten the chance to have an investigation of what other alternatives can be used for Quantum, either using Quantum CLI tool or using HTTP REST API directly, if we will not use Keystone.

Hope i can get some insights for the topic above here. Thank you in advance.

2012-11-24 14:49:15 -0500 answered a question CLI Tool and Rest API for Quantum

Salvatore Orlando, really appreciated for your detailed and deep information. It definitely provides great insight and direction for my next step.

2012-11-24 14:45:31 -0500 answered a question CLI Tool and Rest API for Quantum

Thanks Salvatore Orlando, that solved my question.

2012-11-23 09:40:19 -0500 asked a question CLI Tool and Rest API for Quantum

I am new to Quantum and as my current understanding, it seems that Quantum provides both the command line tool used on directly on the Quantum Server and also the set of Rest API that can be invoked remotely. So i want to know whether they both provide the same functional set from the end user perspective, such as create network, interface, port and etc... Therefore, i can use anyone of them to interact with Quantum service from the programming perspective.

Thanks

2012-11-22 14:14:12 -0500 asked a question Pro and Cron for OpenStack Keystone

Right now, i am investigating the Keystone technology. I need to first come up with a analysis report for the Pros and Crons whether we will use this component. Not sure someone here has some detailed information/comparison with other techniques/idea for this topic. Your information will be really helpful for the decision making.

Thank You in advance.

2012-11-13 11:46:52 -0500 answered a question Is there a guide how to install Quantum on RedHat

Dan,

Really appreciated for your information. Right now my host is equipped with "Red Hat Enterprise Linux Server release 6.3 (Santiago)", so i am not sure i can use the package installation with the packages from link -> https://apps.fedoraproject.org/packages/s/openstack (https://apps.fedoraproject.org/packag...) . So i prefer to use the way of installing from source. However, i have not seen the latest Quantum admin guide delivers with such information of installing from source for the latest Folsom version.

2012-11-13 07:47:59 -0500 asked a question Is there a guide how to install Quantum on RedHat

Is there currently a guide about how to install the latest Folsom version of Quantum on the RedHat OS and all the prerequisite package required by it?

Thanks