[Openstack] Access Denied error in launching instance through devstack

Andreas Scheuring scheuran at linux.vnet.ibm.com
Tue Nov 11 14:49:23 UTC 2014


Yes, to restart the services you can all the rejoin-stack.sh script. You
can navigate within the screens with commands. (E.g. ctl + a  " for the
screen overview). Go to the service you want to restart and just stop it
with ctl + c and start it again using the last command from the history
(arrow up). 

Not sure about your error. Can you provide more information in form of
logfiles (nova and neutron logs)? If enabled, they are located
under /opt/stack/logs/screen/screen-*. 

You can enable detailed screen logging with the following parameters in
your local.conf

VERBOSE=True
SCREEN_LOGDIR=$DEST/logs/screen


-- 
Andreas 
(irc: scheuran)


On Tue, 2014-11-11 at 18:40 +0530, Srinivasreddy R wrote:
> 
> hi,
> i am trying to install openstack through devstack for  multinode
> [controller , compute] setup . 
> facing error while launching the instance . using ubuntu14.04 . pls
> help me how to debug .
> and i want to restart the services do i need to run the script
> rejoin-stack.sh
>  
>  
> 
> below is the instance overview .
>  
> Instance Overview
> Info
> 
> ______________________________________________________________________
> Name
>         instance32
> ID
>         834a3a8a-5bf5-4d77-b00f-396dd2ca9324
> Status
>         Error
> Availability Zone
>         nova
> Created
>         Nov. 11, 2014, 8:37 p.m.
> Uptime
>         23 minutes
> Fault
> 
> ______________________________________________________________________
> Message
>         <HTML><HEAD> <TITLE>Access Denied</TITLE> <STYLE
>         type="text/css"> body{margin:10% 0 0
>         18%;font-family:arial}blockquote{margin-left:0}.cont{width:80%} .summ{background-color:#EC8025;color:#fff;border-radius:5px 5px 0 0;font-size:18px;padding:3px 3px 3p
> Code
>         500
> Details
>         File "/opt/stack/nova/nova/compute/manager.py", line 290, in
>         decorated_function return function(self, context, *args,
>         **kwargs) File "/opt/stack/nova/nova/compute/manager.py", line
>         2069, in run_instance do_run_instance() File
>         "/opt/stack/nova/nova/openstack/common/lockutils.py", line
>         249, in inner return f(*args, **kwargs) File
>         "/opt/stack/nova/nova/compute/manager.py", line 2068, in
>         do_run_instance legacy_bdm_in_spec) File
>         "/opt/stack/nova/nova/compute/manager.py", line 1201, in
>         _run_instance notify("error", fault=e) # notify that build
>         failed File
>         "/opt/stack/nova/nova/openstack/common/excutils.py", line 68,
>         in __exit__ six.reraise(self.type_, self.value, self.tb) File
>         "/opt/stack/nova/nova/compute/manager.py", line 1185, in
>         _run_instance instance, image_meta, legacy_bdm_in_spec) File
>         "/opt/stack/nova/nova/compute/manager.py", line 1349, in
>         _build_instance filter_properties, bdms, legacy_bdm_in_spec)
>         File "/opt/stack/nova/nova/compute/manager.py", line 1395, in
>         _reschedule_or_error self._log_original_error(exc_info,
>         instance_uuid) File
>         "/opt/stack/nova/nova/openstack/common/excutils.py", line 68,
>         in __exit__ six.reraise(self.type_, self.value, self.tb) File
>         "/opt/stack/nova/nova/compute/manager.py", line 1390, in
>         _reschedule_or_error bdms, requested_networks) File
>         "/opt/stack/nova/nova/compute/manager.py", line 2116, in
>         _shutdown_instance self._try_deallocate_network(context,
>         instance, requested_networks) File
>         "/opt/stack/nova/nova/compute/manager.py", line 2080, in
>         _try_deallocate_network
>         self._set_instance_error_state(context, instance['uuid']) File
>         "/opt/stack/nova/nova/openstack/common/excutils.py", line 68,
>         in __exit__ six.reraise(self.type_, self.value, self.tb) File
>         "/opt/stack/nova/nova/compute/manager.py", line 2075, in
>         _try_deallocate_network self._deallocate_network(context,
>         instance, requested_networks) File
>         "/opt/stack/nova/nova/compute/manager.py", line 1769, in
>         _deallocate_network context, instance,
>         requested_networks=requested_networks) File
>         "/opt/stack/nova/nova/network/neutronv2/api.py", line 410, in
>         deallocate_for_instance data =
>         neutron.list_ports(**search_opts) File
>         "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 98, in with_params ret = self.function(instance, *args, **kwargs) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 316, in list_ports **_params) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1338, in list for r in self._pagination(collection, path, **params): File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1351, in _pagination res = self.get(path, params=params) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1324, in get headers=headers, params=params) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1301, in retry_request headers=headers, params=params) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1255, in do_request self._handle_fault_response(status_code, replybody) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 1220, in _handle_fault_response exception_handler_v20(status_code, des_error_body) File "/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line 79, in exception_handler_v20 message=message) 
> Created
>         Nov. 11, 2014, 8:37 p.m.
> Specs
> 
> ______________________________________________________________________
> Flavor
>         m1.nano
> RAM
>         64MB
> VCPUs
>         1 VCPU
> Disk
>         0GB
> IP Addresses
> 
> ______________________________________________________________________
> Security Groups
> 
> ______________________________________________________________________
> Meta
> 
> ______________________________________________________________________
> Key Name
>         None
> Image Name
>         cirros-0.3.1-x86_64-uec
> Volumes Attached
> 
> ______________________________________________________________________
> Volume
>         No volumes attached.
>  
> 
>  
> 
> thanks,
> 
> srinivas.
> 
>  
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list