Ask Your Question

dushyant's profile - activity

2015-11-13 11:59:12 -0500 received badge  Nice Question (source)
2014-05-07 13:39:39 -0500 received badge  Popular Question (source)
2013-12-29 13:33:59 -0500 received badge  Famous Question (source)
2013-12-10 06:40:17 -0500 received badge  Famous Question (source)
2013-11-12 14:31:51 -0500 received badge  Notable Question (source)
2013-11-10 12:43:47 -0500 received badge  Popular Question (source)
2013-11-09 01:33:24 -0500 commented question New VM instance stuck in spawning state

I had done that already...actually immediately after I saw the error. I see only DEBUG and INFO messages. "21:42:59.293 1185 DEBUG nova.compute.manager [-] [instance: 4aeefbdf-4688-4abd-959e-2fca7f3106f5] Updated the info_cache for instance _heal_instance_info_cache /opt/stack/nova/nova/compute/manager.py:4340" and "2013-11-08 21:43:53.815 1185 INFO nova.compute.manager [-] [instance: 4aeefbdf-4688-4abd-959e-2fca7f3106f5] During sync_power_state the instance has a pending task. Skip." I had set debug = True in nova.conf.

2013-11-09 00:55:49 -0500 commented question New VM instance stuck in spawning state

I don't have any errors/exceptions. I found two warnings though: "WARNING nova.compute.manager [-] Found 3 in the database and 2 on the hypervisor." and "WARNING nova.virt.libvirt.vif [req-65080806-a8ba-467f-b09f-88a5a5498a67 admin TenantOne] Deprecated: The LibvirtHybridOVSBridgeDriver VIF driver is now deprecated and will be removed in the next release. Please use the LibvirtGenericVIFDriver VIF driver, together with a network plugin that reports the 'vif_type' attribute"

2013-11-08 21:15:12 -0500 asked a question New VM instance stuck in spawning state

I used devstack for installing openstack. My newly spawned VM on the controller node is stuck in spawning state on the horizon dashboard. After looking at the running processes I found the culprit:

root     25004  0.0  0.0 295012  1960 ?        Ssl  18:56   0:00 /usr/bin/qemu-nbd -c /dev/nbd5 /opt/stack/data/nova/instances/4aeefbdf-4688-4abd-959e-2fca7f3106f5/disk
root     25016  0.0  0.0  22176   684 pts/16   D+   18:56   0:00 /bin/mount /dev/nbd5 /tmp/openstack-vfs-localfsKn9pTC

ctrl1:/opt/stack/data/nova/instances/4aeefbdf-4688-4abd-959e-2fca7f3106f5$ ls -l
total 8668
-rw-rw---- 1 bruce libvirtd       0 Nov  8 18:56 console.log
-rw-r--r-- 1 bruce libvirtd  262656 Nov  8 18:56 disk
-rw-rw-r-- 1 bruce libvirtd 4955792 Nov  8 18:56 kernel
-rw-rw-r-- 1 bruce libvirtd 3714968 Nov  8 18:56 ramdisk

The mount process is in uninterruptible sleep state. I see this issue after a couple of days of usage and end up rebooting and re-stacking. Does anyone know what might be going on here?

2013-10-21 13:23:58 -0500 received badge  Nice Question (source)
2013-09-19 19:37:20 -0500 received badge  Notable Question (source)
2013-08-23 05:54:20 -0500 received badge  Popular Question (source)
2013-08-22 05:05:59 -0500 received badge  Student (source)
2013-08-21 16:06:03 -0500 asked a question How can I restart a service by sending JSON request?

I wish to restart the q-svc service by sending a JSON request. Can someone please explain to me how can I do in openstack or provide links to pages which describe this process.

2013-08-12 04:37:58 -0500 received badge  Famous Question (source)
2013-08-10 20:27:08 -0500 asked a question Error installing neutron on Ubuntu 13.04

I am trying to install devstack on 64 bit Ubuntu 13.04. Here is my localrc file on the controller node in a multi-node setup:

DATABASE_PASSWORD=password
ADMIN_PASSWORD=password
MYSQL_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
RABBIT_PASSWORD=password

Q_PLUGIN=ml2

# Compute Service
NOVA_BRANCH=stable/grizzly
# Volume Service
CINDER_BRANCH=stable/grizzly
# Image Service
GLANCE_BRANCH=stable/grizzly
# Web UI (Dashboard)
HORIZON_BRANCH=stable/grizzly
# Auth Services
KEYSTONE_BRANCH=stable/grizzly
# Quantum (Network) service
QUANTUM_BRANCH=stable/grizzly
SWIFT_BRANCH=stable/grizzly

#Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs

disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

SCHEDULER=nova.scheduler.simple.SimpleScheduler

HOST_IP=172.17.14.170
PUBLIC_INTERFACE=eth1
FLAT_INTERFACE=eth1
MULTI_HOST=1

When I run ./stack.sh I get the following error:

2013-08-10 18:20:55 Traceback (most recent call last):
2013-08-10 18:20:55   File "/usr/local/bin/neutron-db-manage", line 10, in <module>
2013-08-10 18:20:55     sys.exit(main())
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/cli.py", line 140, in main
2013-08-10 18:20:55     CONF.command.func(config, CONF.command.name)
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/cli.py", line 77, in do_upgrade_downgrade
2013-08-10 18:20:55     do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/cli.py", line 56, in do_alembic_command
2013-08-10 18:20:55     getattr(alembic_command, cmd)(config, *args, **kwargs)
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/command.py", line 124, in upgrade
2013-08-10 18:20:55     script.run_env()
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/script.py", line 193, in run_env
2013-08-10 18:20:55     util.load_python_file(self.dir, 'env.py')
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/util.py", line 177, in load_python_file
2013-08-10 18:20:55     module = load_module(module_id, path)
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/compat.py", line 39, in load_module
2013-08-10 18:20:55     return imp.load_source(module_id, path, fp)
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 102, in <module>
2013-08-10 18:20:55     run_migrations_online()
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/env.py", line 86, in run_migrations_online
2013-08-10 18:20:55     options=build_options())
2013-08-10 18:20:55   File "<string>", line 7, in run_migrations
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/environment.py", line 652, in run_migrations
2013-08-10 18:20:55     self.get_context().run_migrations(**kw)
2013-08-10 18:20:55   File "/usr/local/lib/python2.7/dist-packages/alembic/migration.py", line 224, in run_migrations
2013-08-10 18:20:55     change(**kw)
2013-08-10 18:20:55   File "/opt/stack/neutron/neutron/db/migration/alembic_migrations/versions/52c5e4a18807_lbaas_pool_scheduler.py", line 45, in upgrade
2013-08-10 18:20:55     sa.PrimaryKeyConstraint('pool_id')
2013-08-10 18:20:55   File "<string>", line 7, in create_table
2013-08-10 18:20:55   File "/usr/local ...
(more)
2013-08-10 01:11:50 -0500 received badge  Notable Question (source)
2013-08-09 17:56:08 -0500 received badge  Popular Question (source)
2013-08-09 17:18:41 -0500 commented question Error installing devstack grizzly

@smaffulli: I updated my question. Do let me know if you need more information.

2013-08-09 17:17:02 -0500 received badge  Editor (source)
2013-08-09 16:15:40 -0500 asked a question Error installing devstack grizzly
Obtaining file:///opt/stack/nova  

  Running setup.py egg_info for package from file:///opt/stack/nova  

    error in setup command: Error parsing /opt/stack/nova/setup.cfg: KeyError: 'name'  

    Complete output from command python setup.py egg_info:  

    error in setup command: Error parsing /opt/stack/nova/setup.cfg: KeyError: 'name'  

----------------------------------------  

Cleaning up... 

Command python setup.py egg_info failed with error code 1 in /opt/stack/nova

Exception information:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip-1.4-py2.7.egg/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip-1.4-py2.7.egg/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/local/lib/python2.7/dist-packages/pip-1.4-py2.7.egg/pip/req.py", line 1047, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/local/lib/python2.7/dist-packages/pip-1.4-py2.7.egg/pip/req.py", line 257, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/lib/python2.7/dist-packages/pip-1.4-py2.7.egg/pip/util.py", line 670, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /opt/stack/nova

Above is the error log I get after running ./stack.sh on 64 bit Ubuntu 13.04. Here is my localrc:

ENABLED_SERVICES=n-cpu,n-cond,rabbit,quantum,q-agt

DATABASE_PASSWORD=arastra
ADMIN_PASSWORD=arastra
MYSQL_PASSWORD=arastra
SERVICE_PASSWORD=arastra
SERVICE_TOKEN=arastra
RABBIT_PASSWORD=arastra

Q_PLUGIN=ml2

# Compute Service
NOVA_BRANCH=stable/grizzly
# Volume Service
CINDER_BRANCH=stable/grizzly
# Image Service
GLANCE_BRANCH=stable/grizzly
# Web UI (Dashboard)
HORIZON_BRANCH=stable/grizzly
# Auth Services
KEYSTONE_BRANCH=stable/grizzly
# Quantum (Network) service
QUANTUM_BRANCH=stable/grizzly
SWIFT_BRANCH=stable/grizzly

#Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=/opt/stack/logs

What is going wrong and how do I correct it?

2013-08-07 01:20:18 -0500 received badge  Famous Question (source)
2013-08-01 08:25:08 -0500 received badge  Notable Question (source)
2013-07-29 11:35:46 -0500 received badge  Scholar (source)
2013-07-29 11:35:44 -0500 received badge  Supporter (source)
2013-07-29 11:34:28 -0500 received badge  Popular Question (source)
2013-07-26 15:32:49 -0500 asked a question Error while installing devstack on Ubuntu 12.04

I followed the instructions listed here: http://devstack.org/guides/single-vm.html

and ran ./stack.sh but it gives the following error:

+ cd /opt/stack/horizon
+ python setup.py egg_info
python: can't open file 'setup.py': [Errno 2] No such file or directory
+ sudo HTTP_PROXY= HTTPS_PROXY= NO_PROXY= python setup.py develop
python: can't open file 'setup.py': [Errno 2] No such file or directory
++ failed
++ local r=2
+++ jobs -p
++ kill
++ set +o xtrace