Description of problem: Create volume from cinder-api-client with cinder type none def create_volumes(self,index): vol = cinder.volumes.create("1", display_name=index) print "creating:%s" % vol.__dict__ Try to delete the volumes from horizon . Error message : TypeError at /admin/volumes/ 'NoneType' object is not iterable Request Method: POST Request URL: https://puma31.scl.lab.tlv.redhat.com/dashboard/admin/volumes/ Django Version: 1.6.5 Exception Type: TypeError Exception Value: 'NoneType' object is not iterable Exception Location: /usr/lib/python2.7/site-packages/horizon/tables/base.py in get_object_by_id, line 1191 Python Executable: /usr/bin/python Python Version: 2.7.5 Python Path: ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages', '/usr/share/openstack-dashboard/openstack_dashboard'] Server time: Tue, 24 Jun 2014 05:48:49 +0000 Traceback Switch to copy-and-paste view /usr/lib/python2.7/site-packages/django/core/handlers/base.py in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/decorators.py in dec return view_func(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/decorators.py in dec return view_func(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/decorators.py in dec return view_func(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/decorators.py in dec return view_func(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/decorators.py in dec return view_func(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/django/views/generic/base.py in view return self.dispatch(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/django/views/generic/base.py in dispatch return handler(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/views.py in post return self.get(request, *args, **kwargs) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/views.py in get handled = self.construct_tables() ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/views.py in construct_tables handled = self.handle_table(table) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/views.py in handle_table handled = self._tables[name].maybe_handle() ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/base.py in maybe_handle return self.take_action(action_name, obj_id) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/base.py in take_action response = action.multiple(self, self.request, obj_ids) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/actions.py in multiple return self.handle(data_table, request, object_ids) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/actions.py in handle exceptions.handle(request, ignore=ignore) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/actions.py in handle self.action(request, datum_id) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/actions.py in action return self.delete(request, obj_id) ... ▶ Local vars /usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/volumes/tables.py in delete obj = self.table.get_object_by_id(obj_id) ... ▶ Local vars /usr/lib/python2.7/site-packages/horizon/tables/base.py in get_object_by_id for datum in self.data: ... ▶ Local vars Request information GET No GET data POST Variable Value action u'volumes__delete' csrfmiddlewaretoken u'YXrGQnRKxAwiNlKEltvsV27pvv0XrFUP' object_ids u'188698b9-1259-4ded-b9fe-68d8125a66c4' volumes__filter__q u'' FILES No FILES data COOKIES Variable Value s_vi '' s_nr '1401342120609' rh_omni_tc '70160000000H4AoAAK' rh_elqCustomerGUID '7798c44d-b747-4289-8665-00f42058973b' s_vnum '1403934120609%26vn%3D45' horizon.tabs '%7B%22undefined%22%3A%22%23update_project__update_quotas%22%7D' sessionid '.eJytl1tz00YUx2nIBQxJKFAuLdD0BqYtzu5qLxKllwBtKVDopGjG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UOBAgFn4rZX9STTQtmom6a6V4DqR1Ek_q-9ZGTdrGZ9X5gsn48qhH9R1O3hQAZn7SvM5mPaAbe3CB7ZTe0p4jPjUj3yKIAnqGjLP0lTSmtPQz0oVZaMBL2wkTXbFmhe3ZOTKyZe1rFuV6cwvJ_Dtl5MjmJxg4UTCiFIuNcU44IJrJCPmaTfvRIHy55aT-Z7MS3DLLwtKk8yTcmJxgRoXrAxyuG4c7tHbnM46m1uu1R9A5mhv33MfsIGAbJuVHHuYQIohQoJGNAoEhUILwURgIbyG0ana4663StTkhmuWPXtpxXq1WFwZMjM3AMBvOzeOanKCBSLbaCj1NLXjsBtuA0WI9BW0XYcrLGblxhE9TVmtWjvZSMZ2Rh1Nd9Ris6MsMVoTY5XxZ40YruofVCG2Zq23QW6Fzx70jsgEEAkQJYQAjTHnKrBVHiIsAyZxpLFLlbfibgrmtAMjftOyuGVn75HbOEvTPmbBBDWY25X5yoG5dohnj3iE1YeFA-jMPWA0yhmSCECoobIzF0DcxwEhFHoRDWxb86zy-Pj-op8onRb2XNDk_15zeCh1uDTK-jo3d3bM13ae_6ZZ0BvogbCzRV6ZbxuV9TCf21NTfTyZnBbsMcl8F66oyTnKbIUr-vdhMrL27krFC10kA916-cfcC1sr_y5fWr64XpebPPMpgJ3mtxUWsmXu39w23_-1bX4IV4ajzKE2P1bmQTtuTYrDvPL2U3yqFiD2sqFtbGPzsAwXXcTmUWUeWzPxwqsrfi7r486TcAMypBnVIlAoAtyzE4LPPMG4oD4mRETmabhc6JSnhfklflCKsvMfUHzk-g:1WzJZT:rw8fTQ5SApH0vViZ-l6qX_g4zlU' s_fid '3AC0DF37D5603E44-2D8C190D7DBFEF01' SSESS475ef4e7532e7b0aa18d3af05f60e9dd '9U8JtLwkhPBCi4kj7U9hDrpii7SWi5RjAs55ihEzycc' csrftoken 'YXrGQnRKxAwiNlKEltvsV27pvv0XrFUP' chrome_user_remember '%7B%22remembered%22%3Atrue%7D' META Variable Value SSL_SERVER_I_DN_OU 'packstack' SSL_SERVER_S_DN_Email 'admin.lab.tlv.redhat.com' SERVER_SOFTWARE 'Apache/2.4.6 (Red Hat)' SCRIPT_NAME u'/dashboard' SSL_SERVER_A_KEY 'rsaEncryption' REQUEST_METHOD 'POST' SERVER_PROTOCOL 'HTTP/1.1' SSL_SERVER_S_DN 'emailAddress=admin.lab.tlv.redhat.com,CN=puma31.scl.lab.tlv.redhat.com,OU=packstack,O=openstack,ST=State,C=--' SSL_SERVER_V_START 'Jun 19 15:38:54 2014 GMT' SSL_SESSION_ID '383c599ef8f5745002f4fd60cd20973c1836ba712db890fb768c0f99751c630e' CONTENT_LENGTH '48095' SSL_SECURE_RENEG 'true' HTTP_REFERER 'https://puma31.scl.lab.tlv.redhat.com/dashboard/admin/volumes/' SERVER_ADDR '10.35.160.71' DOCUMENT_ROOT '/var/www/' SERVER_ADMIN '[no address given]' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' SSL_SERVER_I_DN_Email 'admin.lab.tlv.redhat.com' wsgi.version (1, 0) wsgi.multiprocess True mod_wsgi.listener_host '' mod_wsgi.script_reloading '1' HTTP_COOKIE 'SSESS475ef4e7532e7b0aa18d3af05f60e9dd=9U8JtLwkhPBCi4kj7U9hDrpii7SWi5RjAs55ihEzycc; s_fid=3AC0DF37D5603E44-2D8C190D7DBFEF01; rh_omni_tc=70160000000H4AoAAK; s_nr=1401342120609; s_vnum=1403934120609%26vn%3D45; s_vi=[CS]v1|29C36457051D28FE-400001268000E2DD[CE]; rh_elqCustomerGUID=7798c44d-b747-4289-8665-00f42058973b; chrome_user_remember=%7B%22remembered%22%3Atrue%7D; csrftoken=YXrGQnRKxAwiNlKEltvsV27pvv0XrFUP; sessionid=".eJytl1tz00YUx2nIBQxJKFAuLdD0BqYtzu5qLxKllwBtKVDopGjGLxnP3hSpsSWvJZnyoJn2pd-lX6kP_SzdlWUmZRI7DDzZklbnnP9PZ885-8dCZd5ph2tlmstsqFWvyPZ0Gm5g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p4jPjUj3yKIAnqGjLP0lTSmtPQz0oVZaMBL2wkTXbFmhe3ZOTKyZe1rFuV6cwvJ_Dtl5MjmJxg4UTCiFIuNcU44IJrJCPmaTfvRIHy55aT-Z7MS3DLLwtKk8yTcmJxgRoXrAxyuG4c7tHbnM46m1uu1R9A5mhv33MfsIGAbJuVHHuYQIohQoJGNAoEhUILwURgIbyG0ana4663StTkhmuWPXtpxXq1WFwZMjM3AMBvOzeOanKCBSLbaCj1NLXjsBtuA0WI9BW0XYcrLGblxhE9TVmtWjvZSMZ2Rh1Nd9Ris6MsMVoTY5XxZ40YruofVCG2Zq23QW6Fzx70jsgEEAkQJYQAjTHnKrBVHiIsAyZxpLFLlbfibgrmtAMjftOyuGVn75HbOEvTPmbBBDWY25X5yoG5dohnj3iE1YeFA-jMPWA0yhmSCECoobIzF0DcxwEhFHoRDWxb86zy-Pj-op8onRb2XNDk_15zeCh1uDTK-jo3d3bM13ae_6ZZ0BvogbCzRV6ZbxuV9TCf21NTfTyZnBbsMcl8F66oyTnKbIUr-vdhMrL27krFC10kA916-cfcC1sr_y5fWr64XpebPPMpgJ3mtxUWsmXu39w23_-1bX4IV4ajzKE2P1bmQTtuTYrDvPL2U3yqFiD2sqFtbGPzsAwXXcTmUWUeWzPxwqsrfi7r486TcAMypBnVIlAoAtyzE4LPPMG4oD4mRETmabhc6JSnhfklflCKsvMfUHzk-g:1WzJZT:rw8fTQ5SApH0vViZ-l6qX_g4zlU"; horizon.tabs=%7B%22undefined%22%3A%22%23update_project__update_quotas%22%7D' CONTEXT_PREFIX '' SSL_SERVER_S_DN_ST 'State' PATH_INFO u'/admin/volumes/' mod_wsgi.handler_script '' SSL_CIPHER 'ECDHE-RSA-AES256-SHA' SSL_TLS_SNI 'puma31.scl.lab.tlv.redhat.com' SSL_CLIENT_VERIFY 'NONE' HTTP_USER_AGENT 'Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0' HTTP_CONNECTION 'keep-alive' REMOTE_ADDR '10.35.3.87' wsgi.url_scheme 'https' PATH_TRANSLATED '/var/www/admin/volumes/' SSL_SERVER_M_SERIAL '10' wsgi.multithread True mod_wsgi.version (3, 4) REQUEST_SCHEME 'https' wsgi.file_wrapper '' CSRF_COOKIE u'YXrGQnRKxAwiNlKEltvsV27pvv0XrFUP' HTTP_ACCEPT_ENCODING 'gzip, deflate' SSL_VERSION_INTERFACE 'mod_ssl/2.4.6' SERVER_SIGNATURE '' SSL_SERVER_I_DN_ST 'State' SSL_CIPHER_ALGKEYSIZE '256' mod_wsgi.queue_start '1403588828392760' SSL_SERVER_I_DN_C '--' SSL_COMPRESS_METHOD 'NULL' SSL_SERVER_I_DN_L 'City' SSL_SERVER_I_DN_O 'openstack' SERVER_PORT '443' SSL_VERSION_LIBRARY 'OpenSSL/1.0.1e-fips' SSL_SERVER_A_SIG 'sha256WithRSAEncryption' HTTP_HOST 'puma31.scl.lab.tlv.redhat.com' SSL_SERVER_M_VERSION '3' REQUEST_URI '/dashboard/admin/volumes/' wsgi.run_once False SSL_SERVER_I_DN_CN 'puma31.scl.lab.tlv.redhat.com' wsgi.errors <mod_wsgi.Log object at 0x7fbba6dd2fb0> HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.5' mod_wsgi.application_group 'puma31.scl.lab.tlv.redhat.com|/dashboard' SSL_SERVER_I_DN 'emailAddress=admin.lab.tlv.redhat.com,CN=puma31.scl.lab.tlv.redhat.com,OU=packstack,O=openstack,L=City,ST=State,C=--' SSL_CIPHER_EXPORT 'false' CONTEXT_DOCUMENT_ROOT '/var/www/' mod_wsgi.enable_sendfile '0' QUERY_STRING '' SERVER_NAME 'puma31.scl.lab.tlv.redhat.com' REMOTE_PORT '51559' mod_wsgi.request_handler 'wsgi-script' mod_wsgi.callable_object 'application' mod_wsgi.input_chunked '0' mod_wsgi.process_group 'horizon-ssl' SSL_SERVER_S_DN_OU 'packstack' SCRIPT_FILENAME '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' SSL_SESSION_RESUMED 'Resumed' SSL_SERVER_S_DN_O 'openstack' wsgi.input <mod_wsgi.Input object at 0x7fbba6dd2570> SSL_SERVER_S_DN_C '--' SSL_SERVER_S_DN_CN 'puma31.scl.lab.tlv.redhat.com' GATEWAY_INTERFACE 'CGI/1.1' SSL_PROTOCOL 'TLSv1.2' mod_wsgi.listener_port '443' SSL_SERVER_V_END 'Jun 19 15:38:54 2015 GMT' CONTENT_TYPE 'application/x-www-form-urlencoded' SSL_CIPHER_USEKEYSIZE '256' Settings Using settings module openstack_dashboard.settings Setting Value COMPRESS_URL '/static/' POLICY_FILES_PATH '/etc/openstack-dashboard' COMPRESS_OUTPUT_DIR 'dashboard' COMPRESS_TEMPLATE_FILTER_CONTEXT {'STATIC_URL': '/static/'} USE_L10N True COMPRESS_DATA_URI_MAX_SIZE 1024 CSRF_COOKIE_SECURE False LANGUAGE_CODE 'en' ROOT_URLCONF 'openstack_dashboard.urls' MANAGERS () COMPRESS_CSS_HASHING_METHOD 'hash' SESSION_EXPIRE_AT_BROWSER_CLOSE True DEFAULT_CHARSET 'utf-8' IGNORABLE_404_URLS () SESSION_SERIALIZER 'django.contrib.sessions.serializers.PickleSerializer' STATIC_ROOT '/usr/share/openstack-dashboard/static' COMPRESS_CLOSURE_COMPILER_ARGUMENTS '' USE_THOUSAND_SEPARATOR False COMPRESS_OFFLINE_MANIFEST 'manifest.json' ALLOWED_HOSTS ['10.35.160.71', 'puma31.scl.lab.tlv.redhat.com', 'localhost'] MESSAGE_STORAGE 'django.contrib.messages.storage.cookie.CookieStorage' EMAIL_SUBJECT_PREFIX '[Django] ' SEND_BROKEN_LINK_EMAILS False STATICFILES_FINDERS ('compressor.finders.CompressorFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') SESSION_CACHE_ALIAS 'default' COMPRESS_CSSTIDY_ARGUMENTS '--template=highest' SESSION_COOKIE_DOMAIN None SESSION_COOKIE_NAME 'sessionid' ADMIN_FOR () TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') DATABASES {} SITE_BRANDING 'OpenStack Dashboard' COMPRESS_YUI_BINARY 'java -jar yuicompressor.jar' FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') DEFAULT_CONTENT_TYPE 'text/html' COMPRESS_CSS_COMPRESSOR 'compressor.css.CssCompressor' APPEND_SLASH True FIRST_DAY_OF_WEEK 0 DATABASE_ROUTERS [] OPENSTACK_NEUTRON_NETWORK {'enable_firewall': False, 'enable_lb': True, 'enable_quotas': True, 'enable_security_group': True, 'enable_vpn': False} YEAR_MONTH_FORMAT 'F Y' COMPRESS_OFFLINE_TIMEOUT 31536000 STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' CACHES {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}} SERVER_EMAIL 'root@localhost' SESSION_COOKIE_PATH '/' HORIZON_IMAGES_ALLOW_UPLOAD True COMPRESS_PARSER 'compressor.parser.HtmlParser' COMPRESS_OFFLINE_CONTEXT {'HORIZON_CONFIG': {'ajax_queue_limit': 10, 'auto_fade_alerts': {'delay': 3000, 'fade_duration': 1500, 'types': ['alert-success', 'alert-info']}, 'dashboards': ('project', 'admin', 'settings', 'redhat_access_plugin_openstack', 'theme'), 'default_dashboard': 'project', 'exceptions': {'not_found': (<class 'keystoneclient.openstack.common.apiclient.exceptions.NotFound'>, <class 'cinderclient.exceptions.NotFound'>, <class 'novaclient.exceptions.NotFound'>, <class 'glanceclient.exc.NotFound'>, <class 'neutronclient.common.exceptions.NetworkNotFoundClient'>, <class 'neutronclient.common.exceptions.PortNotFoundClient'>, <class 'heatclient.exc.HTTPNotFound'>, <class 'troveclient.exceptions.NotFound'>), 'recoverable': (<class 'keystoneclient.openstack.common.apiclient.exceptions.ClientException'>, <class 'keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure'>, <class 'cinderclient.exceptions.ClientException'>, <class 'cinderclient.exceptions.ConnectionError'>, <class 'novaclient.exceptions.ClientException'>, <class 'glanceclient.exc.ClientException'>, <class 'neutronclient.common.exceptions.NeutronClientException'>, <class 'neutronclient.common.exceptions.NetworkInUseClient'>, <class 'neutronclient.common.exceptions.PortInUseClient'>, <class 'neutronclient.common.exceptions.AlreadyAttachedClient'>, <class 'neutronclient.common.exceptions.StateInvalidClient'>, <class 'swiftclient.exceptions.ClientException'>, <class 'heatclient.exc.HTTPException'>, <class 'troveclient.exceptions.ClientException'>), 'unauthorized': (<class 'keystoneclient.openstack.common.apiclient.exceptions.Unauthorized'>, <class 'keystoneclient.openstack.common.apiclient.exceptions.Forbidden'>, <class 'cinderclient.exceptions.Unauthorized'>, <class 'cinderclient.exceptions.Forbidden'>, <class 'novaclient.exceptions.Unauthorized'>, <class 'novaclient.exceptions.Forbidden'>, <class 'glanceclient.exc.Unauthorized'>, <class 'neutronclient.common.exceptions.Unauthorized'>, <class 'neutronclient.common.exceptions.Forbidden'>, <class 'heatclient.exc.HTTPUnauthorized'>, <class 'heatclient.exc.HTTPForbidden'>, <class 'troveclient.exceptions.Unauthorized'>)}, 'help_url': 'https://access.redhat.com/site/documentation//en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/index.html', 'panel_customization': [], 'user_home': 'openstack_dashboard.views.get_user_home'}, 'STATIC_URL': '/static/'} COMPRESS_CACHE_BACKEND 'default' MIDDLEWARE_CLASSES ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'horizon.middleware.HorizonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') USE_I18N True THOUSAND_SEPARATOR ',' SECRET_KEY u'********************' LANGUAGE_COOKIE_NAME 'horizon_language' DEFAULT_INDEX_TABLESPACE '' BIN_DIR '/usr/bin' TRANSACTIONS_MANAGED False LOGGING_CONFIG 'django.utils.log.dictConfig' SIGNING_BACKEND 'django.core.signing.TimestampSigner' TEMPLATE_LOADERS ('django.template.loaders.app_directories.Loader', 'horizon.loaders.TemplateLoader') WSGI_APPLICATION None TEMPLATE_DEBUG True X_FRAME_OPTIONS 'SAMEORIGIN' CSRF_COOKIE_NAME 'csrftoken' POLICY_FILES {'compute': 'nova_policy.json', 'identity': 'keystone_policy.json', 'image': 'glance_policy.json', 'volume': 'cinder_policy.json'} FORCE_SCRIPT_NAME None USE_X_FORWARDED_HOST False COMPRESS_CSSTIDY_BINARY 'csstidy' SESSION_COOKIE_SECURE False COMPRESS_DEBUG_TOGGLE 'None' WEBROOT '/dashboard' COMPRESS_VERBOSE False CSRF_COOKIE_DOMAIN None FILE_CHARSET 'utf-8' DEBUG True SESSION_FILE_PATH None COMPRESS_JS_FILTERS ['compressor.filters.jsmin.JSMinFilter'] DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' INSTALLED_APPS ['openstack_dashboard.dashboards.project', 'openstack_dashboard.dashboards.admin', 'openstack_dashboard.dashboards.settings', 'openstack_dashboard.dashboards.redhat_access_plugin_openstack', 'openstack_dashboard.dashboards.theme', 'openstack_dashboard', 'django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'compressor', 'horizon', 'openstack_auth'] LANGUAGES_BIDI ('he', 'ar', 'fa', 'ur') COMMENTS_ALLOW_PROFANITIES False COMPRESS_YUI_CSS_ARGUMENTS '' STATICFILES_DIRS ('/usr/share/openstack-dashboard/openstack_dashboard/static',) PREPEND_WWW False SECURE_PROXY_SSL_HEADER None LOCAL_PATH '/usr/share/openstack-dashboard/openstack_dashboard/local' SESSION_COOKIE_HTTPONLY True DEBUG_PROPAGATE_EXCEPTIONS False MONTH_DAY_FORMAT 'F j' LOGIN_URL '/dashboard/auth/login/' POLICY_CHECK_FUNCTION '' OPENSTACK_KEYSTONE_URL u'********************' SECURITY_GROUP_RULES {'all_icmp': {'from_port': '-1', 'ip_protocol': 'icmp', 'name': 'ALL ICMP', 'to_port': '-1'}, 'all_tcp': {'from_port': '1', 'ip_protocol': 'tcp', 'name': 'ALL TCP', 'to_port': '65535'}, 'all_udp': {'from_port': '1', 'ip_protocol': 'udp', 'name': 'ALL UDP', 'to_port': '65535'}, 'dns': {'from_port': '53', 'ip_protocol': 'tcp', 'name': 'DNS', 'to_port': '53'}, 'http': {'from_port': '80', 'ip_protocol': 'tcp', 'name': 'HTTP', 'to_port': '80'}, 'https': {'from_port': '443', 'ip_protocol': 'tcp', 'name': 'HTTPS', 'to_port': '443'}, 'imap': {'from_port': '143', 'ip_protocol': 'tcp', 'name': 'IMAP', 'to_port': '143'}, 'imaps': {'from_port': '993', 'ip_protocol': 'tcp', 'name': 'IMAPS', 'to_port': '993'}, 'ldap': {'from_port': '389', 'ip_protocol': 'tcp', 'name': 'LDAP', 'to_port': '389'}, 'ms_sql': {'from_port': '1443', 'ip_protocol': 'tcp', 'name': 'MS SQL', 'to_port': '1443'}, 'mysql': {'from_port': '3306', 'ip_protocol': 'tcp', 'name': 'MYSQL', 'to_port': '3306'}, 'pop3': {'from_port': '110', 'ip_protocol': 'tcp', 'name': 'POP3', 'to_port': '110'}, 'pop3s': {'from_port': '995', 'ip_protocol': 'tcp', 'name': 'POP3S', 'to_port': '995'}, 'rdp': {'from_port': '3389', 'ip_protocol': 'tcp', 'name': 'RDP', 'to_port': '3389'}, 'smtp': {'from_port': '25', 'ip_protocol': 'tcp', 'name': 'SMTP', 'to_port': '25'}, 'smtps': {'from_port': '465', 'ip_protocol': 'tcp', 'name': 'SMTPS', 'to_port': '465'}, 'ssh': {'from_port': '22', 'ip_protocol': 'tcp', 'name': 'SSH', 'to_port': '22'}} TIME_FORMAT 'P' COMPRESS_STORAGE 'compressor.storage.CompressorFileStorage' HORIZON_CONFIG {'ajax_queue_limit': 10, 'auto_fade_alerts': {'delay': 3000, 'fade_duration': 1500, 'types': ['alert-success', 'alert-info']}, 'dashboards': ('project', 'admin', 'settings', 'redhat_access_plugin_openstack', 'theme'), 'default_dashboard': 'project', 'exceptions': {'not_found': (<class 'keystoneclient.openstack.common.apiclient.exceptions.NotFound'>, <class 'cinderclient.exceptions.NotFound'>, <class 'novaclient.exceptions.NotFound'>, <class 'glanceclient.exc.NotFound'>, <class 'neutronclient.common.exceptions.NetworkNotFoundClient'>, <class 'neutronclient.common.exceptions.PortNotFoundClient'>, <class 'heatclient.exc.HTTPNotFound'>, <class 'troveclient.exceptions.NotFound'>), 'recoverable': (<class 'keystoneclient.openstack.common.apiclient.exceptions.ClientException'>, <class 'keystoneclient.openstack.common.apiclient.exceptions.AuthorizationFailure'>, <class 'cinderclient.exceptions.ClientException'>, <class 'cinderclient.exceptions.ConnectionError'>, <class 'novaclient.exceptions.ClientException'>, <class 'glanceclient.exc.ClientException'>, <class 'neutronclient.common.exceptions.NeutronClientException'>, <class 'neutronclient.common.exceptions.NetworkInUseClient'>, <class 'neutronclient.common.exceptions.PortInUseClient'>, <class 'neutronclient.common.exceptions.AlreadyAttachedClient'>, <class 'neutronclient.common.exceptions.StateInvalidClient'>, <class 'swiftclient.exceptions.ClientException'>, <class 'heatclient.exc.HTTPException'>, <class 'troveclient.exceptions.ClientException'>), 'unauthorized': (<class 'keystoneclient.openstack.common.apiclient.exceptions.Unauthorized'>, <class 'keystoneclient.openstack.common.apiclient.exceptions.Forbidden'>, <class 'cinderclient.exceptions.Unauthorized'>, <class 'cinderclient.exceptions.Forbidden'>, <class 'novaclient.exceptions.Unauthorized'>, <class 'novaclient.exceptions.Forbidden'>, <class 'glanceclient.exc.Unauthorized'>, <class 'neutronclient.common.exceptions.Unauthorized'>, <class 'neutronclient.common.exceptions.Forbidden'>, <class 'heatclient.exc.HTTPUnauthorized'>, <class 'heatclient.exc.HTTPForbidden'>, <class 'troveclient.exceptions.Unauthorized'>)}, 'help_url': 'https://access.redhat.com/site/documentation//en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/index.html', 'panel_customization': [], 'user_home': 'openstack_dashboard.views.get_user_home'} AUTH_USER_MODEL 'auth.User' DATE_INPUT_FORMATS ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') COMPRESS_CSS_FILTERS ('compressor.filters.css_default.CssAbsoluteFilter',) AUTHENTICATION_BACKENDS ('openstack_auth.backend.KeystoneBackend',) EMAIL_HOST_PASSWORD u'********************' COMPRESS_REBUILD_TIMEOUT 2592000 PASSWORD_RESET_TIMEOUT_DAYS u'********************' CACHE_MIDDLEWARE_ALIAS 'default' ROOT_PATH '/usr/share/openstack-dashboard/openstack_dashboard' SESSION_SAVE_EVERY_REQUEST False NUMBER_GROUPING 0 SESSION_ENGINE 'django.contrib.sessions.backends.signed_cookies' CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure' CSRF_COOKIE_PATH '/' COMPRESS_CACHE_KEY_FUNCTION u'********************' LOGIN_REDIRECT_URL '/dashboard' DECIMAL_SEPARATOR '.' COMPRESS_PRECOMPILERS (('text/less', 'lesscpy {infile}'),) COMPRESS_MTIME_DELAY 10 LOCALE_PATHS () TEMPLATE_STRING_IF_INVALID '' LOGOUT_URL '/dashboard/auth/logout/' EMAIL_USE_TLS False TEMPLATE_DIRS ('/usr/share/openstack-dashboard/openstack_dashboard/templates',) FIXTURE_DIRS () EMAIL_HOST 'localhost' DATE_FORMAT 'N j, Y' SESSION_COOKIE_MAX_SIZE 4093 MEDIA_ROOT '/usr/share/openstack-dashboard/media' DEFAULT_EXCEPTION_REPORTER_FILTER 'horizon.exceptions.HorizonReporterFilter' ADMINS () SESSION_TIMEOUT 1800 FORMAT_MODULE_PATH None DEFAULT_FROM_EMAIL 'webmaster@localhost' COMPRESS_ROOT '/usr/share/openstack-dashboard/static' MEDIA_URL '/media/' DATETIME_FORMAT 'N j, Y, P' COMPRESS_YUI_JS_ARGUMENTS '' OPENSTACK_KEYSTONE_BACKEND u'********************' API_RESULT_PAGE_SIZE u'********************' OPENSTACK_KEYSTONE_DEFAULT_ROLE u'********************' COMPRESS_JS_COMPRESSOR 'compressor.js.JsCompressor' DISALLOWED_USER_AGENTS () ALLOWED_INCLUDE_ROOTS () COMPRESS_MINT_DELAY 30 LOGGING {'disable_existing_loggers': False, 'formatters': {'verbose': {'format': '%(asctime)s %(process)d %(levelname)s %(name)s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'level': 'INFO'}, 'file': {'class': 'logging.FileHandler', 'filename': '/var/log/horizon/horizon.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'ceilometerclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'cinderclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django.db.backends': {'handlers': ['null'], 'propagate': False}, 'glanceclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'heatclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'horizon': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'keystoneclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'neutronclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'nose.plugins.manager': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'novaclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'openstack_auth': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'openstack_dashboard': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'requests': {'handlers': ['null'], 'propagate': False}, 'swiftclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'troveclient': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}}, 'version': 1} SHORT_DATE_FORMAT 'm/d/Y' TEST_RUNNER 'django_nose.NoseTestSuiteRunner' COMPRESS_ENABLED True OPENSTACK_HYPERVISOR_FEATURES {'can_set_mount_point': False, 'can_set_password': False} CACHE_MIDDLEWARE_KEY_PREFIX u'********************' COMPRESS_OFFLINE True TIME_ZONE 'UTC' FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 EMAIL_BACKEND 'django.core.mail.backends.console.EmailBackend' DEFAULT_TABLESPACE '' TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.contrib.messages.context_processors.messages', 'horizon.context_processors.horizon', 'openstack_dashboard.context_processors.openstack') OPENSTACK_IMAGE_BACKEND {'image_formats': [('', ''), ('aki', <django.utils.functional.__proxy__ object at 0x7fbba4aee390>), ('ami', <django.utils.functional.__proxy__ object at 0x7fbba4aee3d0>), ('ari', <django.utils.functional.__proxy__ object at 0x7fbba4aee410>), ('iso', <django.utils.functional.__proxy__ object at 0x7fbba4aee450>), ('qcow2', <django.utils.functional.__proxy__ object at 0x7fbba4aee490>), ('raw', <django.utils.functional.__proxy__ object at 0x7fbba4aeeb90>), ('vdi', <django.utils.functional.__proxy__ object at 0x7fbba4aeec10>), ('vhd', <django.utils.functional.__proxy__ object at 0x7fbba4aeec50>), ('vmdk', <django.utils.functional.__proxy__ object at 0x7fbba4aeec90>)]} SESSION_COOKIE_AGE 1209600 SETTINGS_MODULE 'openstack_dashboard.settings' USE_ETAGS False LANGUAGES (('de', 'German'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('fr', 'French'), ('hi', 'Hindi'), ('ja', 'Japanese'), ('ko', 'Korean (Korea)'), ('nl', 'Dutch (Netherlands)'), ('pl', 'Polish'), ('pt-br', 'Portuguese (Brazil)'), ('sr', 'Serbian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Chinese (Taiwan)')) COMPRESS_CLOSURE_COMPILER_BINARY 'java -jar compiler.jar' FILE_UPLOAD_TEMP_DIR '/tmp' INTERNAL_IPS () STATIC_URL '/static/' EMAIL_PORT 25 USE_TZ True SHORT_DATETIME_FORMAT 'm/d/Y P' PASSWORD_HASHERS u'********************' ABSOLUTE_URL_OVERRIDES {} CACHE_MIDDLEWARE_SECONDS 600 CSRF_COOKIE_HTTPONLY False DATETIME_INPUT_FORMATS ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') API_RESULT_LIMIT u'********************' EMAIL_HOST_USER '' PROFANITIES_LIST u'********************' You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page. Version-Release number of selected component (if applicable): How reproducible: create volumes from cinder-api client with None cinder type try to delete from horizon Steps to Reproduce: 1. 2. 3. Actual results: Expected results: All volumes should be deleted Additional info:
I wasn't able to reproduce, trying to reuse the incomplete code snippet. 1. Create volume with code snippet 2. Log in as admin 3. Navigate to admin -> volumes and try to delete the volume 3. "Error: You are not allowed to delete volume: test none thing" (no error 500) Could you provide the complete code you used so that I can try in the same way? What tenant/user did you create the volume with, was it admin too or different? Were there other volumes in existence at the time, and/or actions performed on them in parallel via e.g. the CLI? Thank you.
Created attachment 911677 [details] code to reproduce - extracted
Thank you for the script, though providing the minimum amount of steps needed for reproducing would be helpful in the future :-) Could you answer the other questions in #c2? -> What tenant/user did you create the volume with, was it admin too or different? Were there other volumes in existence at the time, and/or actions performed on them in parallel via e.g. the CLI? Also what is the version of python-django-horizon?
I'm going to close as INSUFFICIENT_DATA due to lack of answer to the NEEDINFO, lack of clear steps to reproduce and my current inability to reproduce the bug. For future reference, there is a "Switch to copy-and-paste view" link when you get a Django error message in DEBUG mode in the browser, please use it to copy the traceback so that it is more readable. You're very welcome to reopen the bug with more information on how to reproduce it consistently. I think there is a real bug somewhere in here but it's probably not related to the lack of Type on the volume. I wonder if maybe there were other volume interactions happening in parallel that somehow confused the dashboard.
Thanks for your time , i will try to reporduce it. Benny