Ask Your Question

San's profile - activity

2018-05-29 07:11:52 -0500 received badge  Popular Question (source)
2018-05-29 07:11:52 -0500 received badge  Famous Question (source)
2018-05-29 07:11:52 -0500 received badge  Notable Question (source)
2018-04-16 22:18:33 -0500 received badge  Famous Question (source)
2017-04-25 07:38:43 -0500 received badge  Famous Question (source)
2017-02-22 13:31:15 -0500 received badge  Notable Question (source)
2017-02-22 13:31:15 -0500 received badge  Popular Question (source)
2017-02-18 19:10:47 -0500 received badge  Notable Question (source)
2016-12-05 16:09:15 -0500 answered a question Newton openstack ansible installer fails TypeError: 'NoneType' object has no attribute '__getitem__'

After removing conf.d and env.d folders from /etc/openstack_deploy, I was able to do some progress.

2016-12-05 14:12:47 -0500 asked a question Newton openstack ansible installer fails TypeError: 'NoneType' object has no attribute '__getitem__'

I am setting up multinode newton in my lab. I am getting following exception -

Variable files: "-e @/etc/openstack_deploy/user_ceilometer_overrides.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml -e @/etc/openstack_deploy/user_zzz_disable_security_hardening.yml " Using /etc/ansible/ansible.cfg as config file ERROR! The file /opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with chmod -x /opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py. Inventory script (/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py) had an execution error: Traceback (most recent call last): File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 1304, in <module> output = main(**all_args) File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 1229, in main environment.get('container_skel') File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 1091, in _check_config_settings _check_same_ip_to_multiple_host(config) File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 1002, in _check_same_ip_to_multiple_host ip = _value['ip'] TypeError: 'NoneType' object has no attribute '__getitem__'

/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py:18: Expected key=value host variable assignment, got: argparse openstack_user_config.yml looks ok and was working fine with Liberty release.

Can anyone help me to resolve this issue?

2016-11-17 00:32:25 -0500 received badge  Notable Question (source)
2016-11-14 03:50:22 -0500 commented answer octavia multinode - DriverError: An error happened in the driver

Attached logs and conf details - octavia.conf - http://paste.openstack.org/show/589083/ neutron-server.log - http://paste.openstack.org/show/589077/

2016-11-14 03:49:27 -0500 answered a question octavia multinode - DriverError: An error happened in the driver

Attached logs and conf details - octavia.conf - http://paste.openstack.org/show/589083/ neutron-server.log - http://paste.openstack.org/show/589077/

2016-11-11 22:55:24 -0500 received badge  Popular Question (source)
2016-11-11 08:21:33 -0500 asked a question octavia multinode - DriverError: An error happened in the driver

I am setting up multinode openstack liberty deployed using ansible 12.0.14. I have setup the octavia on independent container. I am getting "DriverError: An error happened in the driver" while creating loadbalancer. Can someone help me to surpass this error.

Log snippet on exception :-

2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin [req-e07019e6-1899-4eb8-a57f-c693c0608e03 9964c69050ef4d5ca0a5fdf8cd27b71e 4ad9f056c8794397954e7943e01e36b3 - - -] There was an error in the driver 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin Traceback (most recent call last): 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 471, in _call_driver_operation 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin driver_method(context, db_entity) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/drivers/octavia/driver.py", line 94, in func_wrapper 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin args[0].failed_completion(args[1], args[2]) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__ 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin six.reraise(self.type_, self.value, self.tb) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/drivers/octavia/driver.py", line 85, in func_wrapper 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin r = func(args, *kwargs) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/drivers/octavia/driver.py", line 173, in create 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin self.driver.req.post(self._url(lb), args) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/drivers/octavia/driver.py", line 123, in post 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/neutron_lbaas/drivers/octavia/driver.py", line 120, in request 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin return r.json() 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/requests/models.py", line 805, in json 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin return complexjson.loads(self.text, *kwargs) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/simplejson/__init__.py", line 516, in loads 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin return _default_decoder.decode(s) 2016-11-11 02:35:07.070 12911 ERROR neutron_lbaas.services.loadbalancer.plugin File "/openstack/venvs/neutron-12.0.14/lib/python2.7/site-packages/simplejson ... (more)

2016-11-03 11:47:56 -0500 received badge  Popular Question (source)
2016-10-08 11:12:34 -0500 commented question LBaaSv2 neutron agents missing (Liberty)

I am facing the same issue on Liberty. Anyone have a solution for this ?

2016-09-20 06:16:35 -0500 asked a question openstack ansible fails to install additional neutron pip packages

I am trying to install infoblox_client and networking-infoblox python module into neutron-server container of openstack setup using openstack-ansible. This is failing to install these packages into neutron-server vitualenv.

user_variables.yml file :

neutron_pip_packages:

  • configobj

  • cliff

  • keystonemiddleware
  • PyMySQL
  • neutron
  • neutron_lbaas
  • pycrypto
  • python-glanceclient
  • python-keystoneclient
  • python-memcached
  • python-neutronclient
  • python-novaclient
  • repoze.lru
  • infoblox_client
  • networking-infoblox
2016-08-23 05:34:52 -0500 received badge  Famous Question (source)
2016-07-19 04:20:33 -0500 received badge  Editor (source)
2016-07-19 04:19:44 -0500 asked a question cinder-volume service not starting up

I am setting up openstack deployment using ansible scripts 12.0.9. I am not able to bring my storage node up. Deployment completed. cinder-volume service is not starting and no logs.

root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# service cinder-volume start cinder-volume start/running, process 13728 root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# service cinder-volume status cinder-volume stop/waiting root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin#

I ran cinder-volume binrary manually and getting following exception

root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# ./cinder-volume Traceback (most recent call last): File "./cinder-volume", line 7, in <module> from cinder.cmd.volume import main File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/cinder/cmd/volume.py", line 36, in <module> from oslo_log import log as logging File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_log/log.py", line 50, in <module> from oslo_log import formatters File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_log/formatters.py", line 25, in <module> from oslo_serialization import jsonutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 60, in <module> from oslo_utils import timeutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_utils/timeutils.py", line 25, in <module> from debtcollector import removals File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/debtcollector/__init__.py", line 15, in <module> import pbr.version File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pbr/version.py", line 25, in <module> import pkg_resources File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 37, in <module> import email.parser File "/usr/lib/python2.7/email/parser.py", line 12, in <module> from email.feedparser import FeedParser File "/usr/lib/python2.7/email/feedparser.py", line 27, in <module> from email import message File "/usr/lib/python2.7/email/message.py", line 16, in <module> import email.charset File "/usr/lib/python2.7/email/charset.py", line 13, in <module> import email.base64mime File "/usr/lib/python2.7/email/base64mime.py", line 40, in <module> from email.utils import fix_eols File "/usr/lib/python2.7/email/utils.py", line 27, in <module> import random File "/usr/lib/python2.7/random.py", line 49, in <module> import hashlib as _hashlib ImportError: No module named hashlib

Can someone help me to resolve this issue ?

2016-07-06 04:06:02 -0500 received badge  Popular Question (source)
2016-07-06 04:06:02 -0500 received badge  Notable Question (source)
2016-06-13 05:42:45 -0500 asked a question Liberty Trove task manager throwing exception

I am trying to setup liberty trove on vm's. Trove task manager is throwing following exception -

016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task [-] Error during Manager.publish_exists_event
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task Traceback (most recent call last):
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py", line 220, in run_periodic_tasks
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     task(self, context)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/taskmanager/manager.py", line 405, in publish_exists_event
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     self.admin_context)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 178, in publish_exist_events
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     notifications = transformer()
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 271, in __call__
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     client=self.nova_client)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/root/trove/trove/extensions/mgmt/instances/models.py", line 40, in load_mgmt_instances
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     mgmt_servers = client.servers.list(search_opts={'all_tenants': 1})
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 758, in list
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     "servers")
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 242, in _list
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self.api.client.get(url)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 458, in get
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     return self._cs_request(url, 'GET', **kwargs)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 414, in _cs_request
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     self.authenticate()
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 590, in authenticate
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     auth_url = self._v1_auth(auth_url)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 626, in _v1_auth
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self._time_request(url, 'GET', headers=headers)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 409, in _time_request
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task     resp, body = self.request(url, method, **kwargs)
2016-06-13 03:48:45.444 8598 ERROR oslo_service.periodic_task   File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 403, in request
2016-06-13 03 ...
(more)
2016-06-03 00:14:03 -0500 commented question Ceilometer - cpu meters not collecting data

I have same issue. Are you able to resolve this?

2014-12-23 11:58:35 -0500 received badge  Student (source)
2014-12-17 05:56:25 -0500 received badge  Famous Question (source)
2014-11-30 10:21:04 -0500 marked best answer Unable to enable dhcp for network id error

I have configured 3 node openstack icehouse on Ubunto 14.04, one controller node, one network node and one compute node. I am getting "Unable to enable dhcp error" by dhcp agent. Can some help me to resolve this issue.

---------- config details -------------------

/etc/neutron/dhcp_agent.ini :

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
use_namespaces = True
verbose=True

Not able to create VM failing with error.

{"message": "Unexpected vif_type=binding_failed", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 296, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                             |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2075, in run_instance                                                                                 |
|                                      |     do_run_instance()                                                                                                                                                           |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py\", line 249, in inner                                                                              |
|                                      |     return f(*args, **kwargs)                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2074, in do_run_instance                                                                              |
|                                      |     legacy_bdm_in_spec)                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1207, in _run_instance                                                                                |
|                                      |     notify(\"error\", fault=e)  # notify that build failed                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                             |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1191, in _run_instance                                                                                |
|                                      |     instance, image_meta, legacy_bdm_in_spec)                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1355, in _build_instance                                                                              |
|                                      |     filter_properties, bdms, legacy_bdm_in_spec)                                                                                                                                |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1401, in _reschedule_or_error                                                                         |
|                                      |     self._log_original_error(exc_info, instance_uuid)                                                                                                                           |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                             |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1396, in _reschedule_or_error                                                                         |
|                                      |     bdms, requested_networks)                                                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2125, in _shutdown_instance                                                                           |
|                                      |     requested_networks)                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                             |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                                |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2115, in _shutdown_instance                                                                           |
|                                      |     block_device_info)                                                                                                                                                          |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py\", line 953, in destroy                                                                                   |
|                                      |     destroy_disks)                                                                                                                                                              |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py\", line 989, in cleanup                                                                                   |
|                                      |     self.unplug_vifs(instance, network_info)                                                                                                                                    |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py\", line 860, in unplug_vifs                                                                               |
|                                      |     self.vif_driver.unplug(instance, vif)                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py\", line 798, in unplug                                                                                       |
|                                      |     _(\"Unexpected vif_type=%s\") % vif_type)                                                                                                                                   |
|                                      | ", "created": "2014-05-20T09:49:40Z"}                                

root@controller:~# neutron agent-list
+--------------------------------------+--------------------+---------+-------+----------------+
| id                                   | agent_type         | host    | alive | admin_state_up |
+--------------------------------------+--------------------+---------+-------+----------------+
| 172d4b7f-7d1b-4767-aa59-a3e1d145e1b1 | DHCP agent         | network | :-)   | True           |
| 1e4835e4-2c6e-402a-ab2c-91240e163e90 | Open vSwitch agent | network | :-)   | True           |
| 43dc80f7-aa78-438b-bbd1-0bd2c6466a9d | Metadata agent     | network | :-)   | True           |
| 6fc23e43-2ef7-405d-9af6-cbc7efd0348e | L3 agent           | network | :-)   | True           |
+--------------------------------------+--------------------+---------+-------+----------------+

log entry in /var/log/neutron/dhcp-agent.log

Stderr: '' execute /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:74
2014-05-20 04:14:34.655 2194 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 31dbe4d-0269-42ae-a08e-3112b0401acd.
2014-05-20 04:14:34.655 2194 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-05-20 04:14:34 ...
(more)
2014-09-11 11:06:57 -0500 received badge  Famous Question (source)
2014-09-11 11:06:57 -0500 received badge  Notable Question (source)
2014-08-31 07:44:35 -0500 received badge  Famous Question (source)
2014-08-12 06:09:23 -0500 received badge  Notable Question (source)
2014-07-22 09:25:33 -0500 commented answer Do we have horizon plugin for ceilometer?

Thanks for the help

2014-07-22 09:12:33 -0500 received badge  Popular Question (source)
2014-07-01 06:11:30 -0500 received badge  Famous Question (source)
2014-07-01 02:43:30 -0500 received badge  Notable Question (source)
2014-06-13 09:04:02 -0500 received badge  Popular Question (source)
2014-06-04 11:53:21 -0500 received badge  Popular Question (source)
2014-06-02 06:38:21 -0500 asked a question How to make gre0 interface up
I am using icehouse neutron network node on ubuntu 14.04, using gre tunneling. I am not able to ping the VM ip from network node. I looked into network troubleshooting guide. One of the output shows gre0 and many interfaces are down. I am not sure why this interface is down? My knowledge on networking is basic. Can anyone has seen similar issue and share the steps to resolve.

The output of the ip a command:

root@network:~# ip a | grep stat
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000
5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
6: gre0: <NOARP> mtu 1476 qdisc noop state DOWN group default
7: gretap0: <BROADCAST,MULTICAST> mtu 1476 qdisc noop state DOWN group default qlen 1000
8: tun0@NONE: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1476 qdisc noqueue state UNKNOWN group default
9: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
10: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
13: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
16: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
root@network:~#
2014-05-30 11:16:03 -0500 received badge  Notable Question (source)
2014-05-28 04:31:47 -0500 asked a question swift proxy-server fails to start after configuring ceilometer

I was setting up 3 node openstack icehouse on ubuntu 14.04. swift was working fine till I added following lines into "/etc/swift/proxy-server.conf"

[filter:ceilometer]
use = egg:ceilometer#swift

[pipeline:main]
pipeline = healthcheck cache authtoken keystoneauth ceilometer proxy-server

Trace log : -

root@controller:/etc/cinder# swift-init proxy restart
Signal proxy-server  pid: 12109  signal: 15
No proxy-server running
Starting proxy-server...(/etc/swift/proxy-server.conf)
Traceback (most recent call last):
  File "/usr/bin/swift-proxy-server", line 23, in <module>
    sys.exit(run_wsgi(conf_file, 'proxy-server', default_port=8080, **options))
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 389, in run_wsgi
    loadapp(conf_path, global_conf=global_conf)
  File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 323, in loadapp
    return ctx.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke
    app = filter(app)
  File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift_middleware.py", line 187, in ceilometer_filter
    return CeilometerMiddleware(app, conf)
  File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift_middleware.py", line 80, in __init__
    service.prepare_service([])
  File "/usr/lib/python2.7/dist-packages/ceilometer/service.py", line 150, in prepare_service
    log.setup('ceilometer')
  File "/usr/lib/python2.7/dist-packages/ceilometer/openstack/common/log.py", line 440, in setup
    _setup_logging_from_conf(product_name, version)
  File "/usr/lib/python2.7/dist-packages/ceilometer/openstack/common/log.py", line 504, in _setup_logging_from_conf
    filelog = logging.handlers.WatchedFileHandler(logpath)
  File "/usr/lib/python2.7/logging/handlers.py", line 391, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/var/log/ceilometer/swift-proxy-server.log'

I ran this command to add swift to ceilometer group but no luck. usermod -g ceilometer -G swift swift

Can any one help to resolve this?

2014-05-28 01:29:51 -0500 commented question Error communicating with http://controller:8777 [Errno 111] Connection refused

Did you resolve this? I am also having same issues.

2014-05-28 01:26:13 -0500 received badge  Enthusiast
2014-05-26 10:00:58 -0500 received badge  Popular Question (source)
2014-05-23 05:48:32 -0500 received badge  Famous Question (source)
2014-05-22 06:30:59 -0500 asked a question VM instance not getting IP configured but allocated

I have configured 3 node openstack icehouse on Ubunto 14.04, one controller node, one network node and one compute node. VM spwaning gets IP allocated observed from the GUI. Dhcp agent is not throwing any errors. I tried different forums and didn't had any luck to resolve this. Even if I assign the IP manually to VM and not able to ping from any node. GRE based tunneling with single network. No vlan implemented.

Any help to resolve this?

Compute Node "ovs-vsctl show" command output. root@compute1:/var/log/nova# ovs-vsctl show a46caeb6-c737-4ad5-8f7a-0c687e11e90b Bridge br-tun Port br-tun Interface br-tun type: internal Port "gre-c0a80c01" Interface "gre-c0a80c01" type: gre options: {in_key=flow, local_ip="192.168.12.2", out_key=flow, remote_ip="192.168.12.1"} Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Bridge br-int Port "qvoc077069b-bd" Interface "qvoc077069b-bd" Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} ovs_version: "2.0.1" root@compute1:/var/log/nova#

I am able to ping the gateway 192.168.3.1 root@network:/var/log/neutron# ip netns exec qdhcp-31dbd35d-0269-42ae-a08e-3112b0401acd ping -c 1 192.168.3.1 PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data. 64 bytes from 192.168.3.1: icmp_seq=1 ttl=64 time=0.475 ms

--- 192.168.3.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.475/0.475/0.475/0.000 ms root@network:/var/log/neutron#

VM IP got allocated 192.168.3.16 but not configured on the VM. Manually configured but not pingable.

root@network:/var/log/neutron# ip netns exec qdhcp-31dbd35d-0269-42ae-a08e-3112b0401acd ping -c 1 192.168.3.16 PING 192.168.3.16 (192.168.3.16) 56(84) bytes of data. ^C --- 192.168.3.16 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms

2014-05-21 06:07:40 -0500 answered a question Unable to enable dhcp for network id error

Thank you all. The issue got resolved after changing the file /var/lib/neutron/dhcp/<net-id> owner and group to neutron from root.