Ask Your Question

adhi's profile - activity

2019-01-24 07:05:32 -0500 received badge  Famous Question (source)
2018-11-07 02:07:24 -0500 received badge  Notable Question (source)
2018-10-16 09:38:58 -0500 received badge  Popular Question (source)
2018-10-11 01:11:23 -0500 commented question Libvirt Error when add ceph as nova backend

I also had turn off the firewall service for compute node & ceph node

2018-10-11 01:11:23 -0500 received badge  Commentator
2018-10-11 01:08:52 -0500 asked a question Libvirt Error when add ceph as nova backend

Hi, Im running my openstack environment with rocky release, and I want to integrate ceph as nova-compute backend, so I followed instruction here : http://superuser.openstack.org/articl...

and this is my nova.conf at my compute node

[DEFAULT]
...
compute_driver=libvirt.LibvirtDriver

[libvirt]
images_type = rbd
images_rbd_pool = vms
images_rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_user = nova
rbd_secret_uuid = a93824e0-2d45-4196-8918-c8f7d7f35c5d
....

and this is log when I restarted the nova compute service :

2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host [req-f4e2715a-c925-4c12-b8e6-aa550fc588b1 - - - - -] Exception handling connection event: AttributeError: 'NoneType' object has no attribute 'rfind'
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host Traceback (most recent call last):
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py", line 148, in _dispatch_conn_event
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     handler()
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/host.py", line 414, in handler
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     return self._conn_event_handler(*args, **kwargs)
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 470, in _handle_conn_event
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     self._set_host_enabled(enabled, reason)
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3780, in _set_host_enabled
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     mount.get_manager().host_up(self._host)
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/mount.py", line 134, in host_up
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     self.state = _HostMountState(host, self.generation)
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/volume/mount.py", line 229, in __init__
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     mountpoint = os.path.dirname(disk.source_path)
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host   File "/usr/lib64/python2.7/posixpath.py", line 129, in dirname
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host     i = p.rfind('/') + 1
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host AttributeError: 'NoneType' object has no attribute 'rfind'
2018-10-11 01:59:57.123 5275 ERROR nova.virt.libvirt.host 
2018-10-11 01:59:57.231 5275 WARNING nova.compute.monitors [req-df2559f3-5a01-499a-9ac0-3dd9dc255f77 - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).
2018-10-11 02:04:57.279 5275 ERROR nova.compute.manager [req-df2559f3-5a01-499a-9ac0-3dd9dc255f77 - - - - -] Error updating resources for node cp2.os-srg.adhi.: TimedOut: [errno 110] error connecting to the cluster
2018-10-11 02:04:57.279 5275 ERROR nova.compute.manager Traceback (most recent call last):
2018-10-11 02:04:57.279 5275 ERROR nova ...
(more)
2017-11-17 07:18:16 -0500 received badge  Nice Answer (source)
2017-09-05 13:56:49 -0500 received badge  Teacher (source)
2017-09-05 02:24:38 -0500 answered a question XenServer - ImportError: No module named os_xenapi.client

try using

pip install xenapi os-xenapi

if pip doesn't exist on your system, installed first via

yum install python-pip

upgrade pip

pip install pip --upgrade
2016-09-15 02:42:50 -0500 received badge  Popular Question (source)
2016-09-07 14:33:43 -0500 received badge  Famous Question (source)
2016-03-16 22:58:24 -0500 commented answer Nova compute Remote error: OperationalError

does it also affect in kilo release ? because those error appear on Kilo

2016-03-14 00:50:48 -0500 commented question Security Groups Can't Apply in Kilo with Neutron & XenServer

Here you go http://pastebin.com/p2kGzZ3m

2016-03-13 23:12:42 -0500 asked a question Security Groups Can't Apply in Kilo with Neutron & XenServer

Hi all,

I had Openstack Kilo installed on my lab, for Compute Hypervisor I use XenServer 6.5, and networking Using Neutron OVS. For Controller, Network, and Compute node I'm using Ubuntu 14.04.

My problem was Security Groups rules doesn't applied to the instance that created. For example, there is no rule allowed for SSH port 22 in security group that I defined to the instance, but instance with floating IP able to login by ssh from external network.

I've already add this option on my nova.conf

firewall_driver=nova.virt.xenapi.firewall.Dom0IptablesFirewallDriver

and also defined firewall_driver on my ml2_conf.ini at Controller, Network, and Compute node

[securitygroup]
enable_security_group = True
enable_ipset = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

can somebody help me with this problem ?

2016-03-13 23:08:36 -0500 commented answer Nova compute Remote error: OperationalError

It's running and sync

root@kilcomp3:~# chronyc sources
210 Number of sources = 1
MS Name/IP address         Stratum Poll Reach LastRx Last sample
^* kilcon            3   6   377   125    +20us[  +39us] +/-   50ms

root@kilcomp3:~# date
Mon Mar 14 11:02:21 WIB 2016
2016-03-13 23:01:25 -0500 received badge  Notable Question (source)
2016-02-13 00:48:39 -0500 received badge  Popular Question (source)
2016-02-12 03:40:27 -0500 asked a question Nova compute Remote error: OperationalError

Hi, anyone can help me with this error on my openstack Kilo nova-compute ?

 2016-02-12 16:31:02.638 1499 ERROR nova.openstack.common.periodic_task [req-670f8955-ec22-4a75-b2e3-fbd5688758d0 - - - - -] Error during ComputeManager._poll_bandwidth_usage: Remote error: OperationalError (OperationalError) (1292, "Incorrect datetime value: '2016-02-01T00:00:00Z' for column 'start_period' at row 1") 'INSERT INTO bw_usage_cache (created_at, updated_at, deleted_at, deleted, uuid, mac, start_period, last_refreshed, bw_in, bw_out, last_ctr_in, last_ctr_out) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)' (datetime.datetime(2016, 2, 12, 9, 31, 2, 632714), None, None, 0, 'b5fa1e47-5998-44d4-a527-973e66cec5d3', 'fa:16:3e:af:b0:5b', u'2016-02-01T00:00:00Z', u'2016-02-12T09:31:02Z', 0, 0, 500006, 81034)
[u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line 422, in _object_dispatch\n    return getattr(target, method)(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 956, in wrapper\n    return fn(obj, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 208, in wrapper\n    return fn(self, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/objects/bandwidth_usage.py", line 63, in create\n    update_cells=update_cells)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 1676, in bw_usage_update\n    bw_out, last_ctr_in, last_ctr_out, last_refreshed=last_refreshed)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 233, in wrapper\n    return f(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 271, in wrapped\n    return f(*args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 5167, in bw_usage_update\n    bwusage.save(session=session)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 82, in save\n    super(NovaBase, self).save(session=session)\n', u'  File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/models.py", line 48, in save\n    session.flush()\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1919, in flush\n    self._flush(objects)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2037, in _flush\n    transaction.rollback(_capture_exception=True)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__\n    compat.reraise(exc_type, exc_value, exc_tb)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 2001, in _flush\n    flush_context.execute()\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute\n    rec.execute(self)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/unitofwork.py", line 526, in execute\n    uow\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 65, in save_obj\n    mapper, table, insert)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py", line 602, in _emit_insert_statements\n    execute(statement, params)\n', u'  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py ...
(more)
2016-01-16 20:45:58 -0500 received badge  Famous Question (source)
2015-12-07 04:03:24 -0500 asked a question failed create instance xenserver download_vhd() takes exactly 9 non-keyword arguments (8 given)

Hi, I trying to setup my liberty openstack environment with the xenserver 6.5 as hypervisor, when I trying to create the instance its failed and the nova-compute show the error like this :

2015-12-07 16:54:24.164 7839 INFO nova.compute.manager [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Starting instance...
2015-12-07 16:54:24.244 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Attempting claim: memory 521 MB, disk 1 GB
2015-12-07 16:54:24.245 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Total memory: 8132 MB, used: 512.00 MB
2015-12-07 16:54:24.246 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] memory limit: 12198.00 MB, free: 11686.00 MB
2015-12-07 16:54:24.246 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Total disk: 1375 GB, used: 0.00 GB
2015-12-07 16:54:24.247 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] disk limit: 1375.00 GB, free: 1375.00 GB
2015-12-07 16:54:24.297 7839 INFO nova.compute.claims [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Claim successful
2015-12-07 16:54:24.962 7839 ERROR nova.utils [req-3dfc784d-1f75-4d91-bfbb-7ac210182177 88ade29c6a5a41eaa53c6d749015ce02 0d8274eb6c2e45a69a1711619a98e79e - - -] [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Failed to spawn, rolling back
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad] Traceback (most recent call last):
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 578, in _spawn
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     name_label)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 141, in inner
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     rv = f(*args, **kwargs)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 420, in create_disks_step
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     block_device_info)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 359, in _get_vdis_for_instance
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     instance, name_label, image_meta.id, image_type)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1323, in create_image
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     image_type)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py", line 1283, in _create_cached_image
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     sr_ref)
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]   File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 254, in inner
2015-12-07 16:54:24.962 7839 ERROR nova.utils [instance: 08fa1a5d-8e24-4312-a51a-c9b48d218dad]     return f(*args, **kwargs)
2015-12-07 16:54:24.962 7839 ERROR ...
(more)
2015-12-07 03:58:01 -0500 commented answer ceilometer can't get datat from neutron metering agent

great, thanks @teyenliu

2015-11-28 23:59:23 -0500 received badge  Notable Question (source)
2015-11-18 09:30:27 -0500 received badge  Popular Question (source)
2015-11-16 03:05:52 -0500 answered a question error for VPNaaS at Juno

solve by my self https://ask.openstack.org/en/question/84594/vpnaas-liberty-error-while-create-ipsec-site-connections/ (https://ask.openstack.org/en/question...) .

at liberty release VPN service will be down/up status after we creating IPsec Site Connection

2015-11-16 03:02:33 -0500 answered a question VPNaaS Liberty error while create IPsec site connections

Solve by my self, uninstalling neutron-vpn-agent & strongswan, then installed the openswan first & neutron-vpn-agent again witout strongswan

2015-11-16 03:00:32 -0500 commented answer ceilometer can't get datat from neutron metering agent

Hi, what notification_driver value have to set ?

2015-11-14 04:11:03 -0500 asked a question VPNaaS Liberty error while create IPsec site connections

Hi all,

I've been following the docs http://docs.openstack.org/liberty/install-guide-ubuntu/ (http://docs.openstack.org/liberty/ins...) with ubuntu 14.04 to setup my openstack environment, and its work.

Then I want to activated the VPNaaS service with neutron, I installed the neutron-vpn-agent which is automatically included the strongswan for ipsec service.

for test I created internal VPN connection between tenant at same controller, so the public IP attached on the virtual router on the same subnet.

here is my neutron_vpnaas.conf

[service_providers]
service_provider=VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

vpn_agent.ini configuration

[DEFAULT]
interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
external_network_bridge =
verbose = True
[vpnagent]
vpn_device_driver=neutron_vpnaas.services.vpn.device_drivers.strongswan_ipsec.StrongSwanDriver
[ipsec]
[strongswan]
[libreswan]

my neutron agent-list

# neutron agent-list
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host               | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+
| 37d80623-baa2-43d4-9eb9-d1ade178f82e | L3 agent           | libcon             | :-)   | True           | neutron-vpn-agent         |
| 73b7845b-b5fb-40a3-b9b2-16acf80da3b1 | DHCP agent         | libcon             | :-)   | True           | neutron-dhcp-agent        |
| 8298def8-20d0-4d3f-9b47-9df91eea6277 | Linux bridge agent | libcon             | :-)   | True           | neutron-linuxbridge-agent |
| a36c8e47-f6d2-45de-b417-c5258b444fd4 | Linux bridge agent | libcomp1 | :-)   | True           | neutron-linuxbridge-agent |
| b280c2d9-f191-4198-bbe0-7680d5a74675 | Metadata agent     | libcon             | :-)   | True           | neutron-metadata-agent    |
| c16fa2f9-4ae2-42af-97d5-1e3810a1e7d3 | Linux bridge agent | libcomp2 | :-)   | True           | neutron-linuxbridge-agent |
+--------------------------------------+--------------------+--------------------+-------+----------------+---------------------------+

my neutron service-provider-list

# neutron service-provider-list
+--------------+----------+---------+
| service_type | name     | default |
+--------------+----------+---------+
| VPN          | openswan | True    |
+--------------+----------+---------+

it always says pending-create when created IPsec site connections

# neutron ipsec-site-connection-list
+--------------------------------------+---------------+--------------+---------------+------------+-----------+----------------+
| id                                   | name          | peer_address | peer_cidrs    | route_mode | auth_mode | status         |
+--------------------------------------+---------------+--------------+---------------+------------+-----------+----------------+
| 1f7bda0b-1d24-4b41-983b-54c7bcbb6ba5 | test-to admin | 192.168.53.83  | "10.5.5.0/24" | static     | psk       | PENDING_CREATE |
| 60e5c035-7adc-4d65-9214-95b40fe1d342 | test-to-adhi  | 192.168.53.82  | "10.6.6.0/24" | static     | psk       | PENDING_CREATE |
+--------------------------------------+---------------+--------------+---------------+------------+-----------+----------------+

and the /var/log/neutron/vpn-agent.log said error :

Stderr: 2015-11-14 17:03:26.878 34019 INFO neutron.common.config [-] Logging enabled!
2015-11-14 17:03:26.879 34019 INFO neutron.common.config [-] /usr/bin/neutron-vpn-netns-wrapper version 7.0.0
2015-11-14 10:03:26.887 34019 INFO neutron_vpnaas.services.vpn.common.netns_wrapper [-] /var/lib/neutron/ipsec/cf2aaf11-4cc0-4dc0-9fdd-7f2fbc1d0a26/etc has been bind-mounted in /etc
2015-11-14 10:03:26.903 34019 INFO neutron_vpnaas.services.vpn.common.netns_wrapper [-] /var/lib/neutron/ipsec/cf2aaf11-4cc0-4dc0-9fdd-7f2fbc1d0a26/var/run has been bind-mounted in /var/run

2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec [-] Failed to enable vpn process on router cf2aaf11-4cc0-4dc0-9fdd-7f2fbc1d0a26
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec Traceback (most recent call last):
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec   File "/usr/lib/python2.7/dist-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 260, in enable
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec     self.start()
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec   File "/usr/lib/python2.7/dist-packages/neutron_vpnaas/services/vpn/device_drivers/strongswan_ipsec.py", line 156, in start
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec     self._execute([self.binary, 'up', ipsec_site_conn['id']])
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec   File "/usr/lib/python2.7/dist-packages/neutron_vpnaas/services/vpn/device_drivers/strongswan_ipsec.py", line 97, in _execute
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec     extra_ok_codes=extra_ok_codes)
2015-11-14 17:03:26.949 33498 ERROR neutron_vpnaas.services.vpn.device_drivers.ipsec   File "/usr/lib/python2.7 ...
(more)
2015-11-09 14:57:57 -0500 received badge  Famous Question (source)
2015-06-01 17:56:32 -0500 commented question error for VPNaaS at Juno

Still nope :(

2015-05-06 04:58:31 -0500 received badge  Famous Question (source)
2015-04-08 01:57:00 -0500 received badge  Notable Question (source)
2015-04-07 05:46:02 -0500 received badge  Popular Question (source)
2015-03-26 03:01:30 -0500 asked a question error for VPNaaS at Juno

Try to add VPNaaS at my openstack Juno playground, but find error while restarting the "neutron-vpn-agent". Here's the error appears on vpn_agent.log

2015-03-26 14:55:36.059 55595 INFO neutron.openstack.common.service [req-c453fb3f-4949-4d72-b127-0b76e0b942f6 None] Caught SIGTERM, exiting
2015-03-26 14:55:36.462 56271 INFO neutron.common.config [-] Logging enabled!
2015-03-26 14:55:36.466 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ec535818-aece-44d8-a4d5-fdac8a4bfe41 ] Connecting to AMQP server on juno1:5672
2015-03-26 14:55:36.474 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ec535818-aece-44d8-a4d5-fdac8a4bfe41 ] Connected to AMQP server on juno1:5672
2015-03-26 14:55:36.477 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ec535818-aece-44d8-a4d5-fdac8a4bfe41 ] Connecting to AMQP server on juno1:5672
2015-03-26 14:55:36.483 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ec535818-aece-44d8-a4d5-fdac8a4bfe41 ] Connected to AMQP server on juno1:5672
2015-03-26 14:55:36.500 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ac2084e0-8819-4833-b083-8094639075d1 ] Connecting to AMQP server on juno1:5672
2015-03-26 14:55:36.509 56271 INFO oslo.messaging._drivers.impl_rabbit [req-ac2084e0-8819-4833-b083-8094639075d1 ] Connected to AMQP server on juno1:5672
2015-03-26 14:55:36.524 56271 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on juno1:5672
2015-03-26 14:55:36.531 56271 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on juno1:5672
2015-03-26 14:55:36.535 56271 INFO neutron.agent.l3_agent [-] L3 agent started
2015-03-26 14:55:38.141 56271 ERROR neutron.agent.linux.utils [-] 
Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-7bc9d46c-2ed4-4801-8e25-49a46d31db47', 'ipsec', 'whack', '--ctlbase', '/var/lib/neutron/ipsec/7bc9d46c-2ed4-4801-8e25-49a46d31db47/var/run/pluto', '--status']
Exit code: 1
Stdout: ''
Stderr: 'whack: Pluto is not running (no "/var/lib/neutron/ipsec/7bc9d46c-2ed4-4801-8e25-49a46d31db47/var/run/pluto.ctl")\n'

And here is the syslog while I restart the "openswan" and "neutron-vpn-agent" service

Mar 26 14:55:13 juno2 ipsec_setup: Stopping Openswan IPsec...
Mar 26 14:55:15 juno2 kernel: [101294.626363] NET: Unregistered protocol family 15
Mar 26 14:55:15 juno2 ipsec_setup: ...Openswan IPsec stopped
Mar 26 14:55:15 juno2 ipsec_setup: Starting Openswan IPsec 2.6.38...
Mar 26 14:55:15 juno2 ipsec_setup: Using KLIPS/legacy stack
Mar 26 14:55:16 juno2 kernel: [101294.761598] AVX2 instructions are not detected.
Mar 26 14:55:16 juno2 kernel: [101294.788682] AVX2 or AES-NI instructions are not detected.
Mar 26 14:55:16 juno2 ipsec_setup: No KLIPS support found while requested, desperately falling back to netkey
Mar 26 14:55:16 juno2 ipsec_setup: NETKEY support found. Use protostack=netkey in /etc/ipsec.conf to avoid attempts to use KLIPS. Attempting to continue with NETKEY
Mar 26 14:55:16 juno2 ipsec_setup: Using NETKEY(XFRM) stack
Mar 26 14:55:16 juno2 kernel: [101294.817946] NET: Registered protocol family 15
Mar 26 14:55:16 juno2 kernel: [101294.931757] Initializing XFRM netlink socket
Mar 26 14:55:16 juno2 kernel: [101295.010451] AVX2 instructions are not detected.
Mar 26 14:55:16 juno2 kernel: [101295.044249] AVX2 or AES-NI instructions are not detected.
Mar 26 14:55:16 juno2 ipsec_setup: ...Openswan IPsec started
Mar 26 14 ...
(more)
2014-12-10 01:41:13 -0500 answered a question How to install and configure openstack in centos

or may be you can look at the documentation section of openstack.

http://docs.openstack.org/juno/install-guide/install/yum/content/ (http://docs.openstack.org/juno/instal...)

2014-12-10 01:41:13 -0500 commented answer How to set up neutron vpn service (VPNaaS)?

Same situation, neutron vpn-service create stuck on pending create at IceHouse, any solution for this :(

2014-07-16 06:35:48 -0500 received badge  Taxonomist
2014-04-22 01:44:30 -0500 received badge  Popular Question (source)
2014-04-22 01:44:30 -0500 received badge  Notable Question (source)
2014-02-17 05:02:46 -0500 asked a question Xenserver live-migration error

Hi all,

I've got an error in nova compute log while doing live-migration of instance using xenserver as hypervisor, here the error on nova-compute.log

 2014-02-17 17:38:39.749 5635 TRACE nova.virt.xenapi.vmops
2014-02-17 17:38:40.019 5635 ERROR nova.openstack.common.rpc.amqp [req-ab8ea257-819f-4c9f-8062-f1cc0e701241 a0134b488f9445cf9262b204b209350a 682becf218714a2aa64a10768a2cacc3] Exception during message handling
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     **args)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 90, in wrapped
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     payload)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 73, in wrapped
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4063, in live_migration
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     block_migration, migrate_data)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 529, in live_migration
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     recover_method, block_migration, migrate_data)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1907, in live_migrate
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     block_migration)
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1892, in live_migrate
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp     raise exception.MigrationError(_('Migrate Send failed'))
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp MigrationError: Migrate Send failed
2014-02-17 17:38:40.019 5635 TRACE nova.openstack.common.rpc.amqp

What I have todo :

  • Create a nova aggregate-create, setting up the aggregate, add compute nodes to aggregate.
  • Add sr_matching_filter=default-sr:true into the nova.conf on every compute node
  • doing live-migration using --block-migrate

My Aggregate-details

+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+
| Id | Name      | Availability Zone | Hosts                                        | Metadata                                                                                       |
+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+
| 2  | test-pool | nova              | [u'compute-03', u'compute-04'] | {u'operational_state': u'created', u'hypervisor_pool': u'true', u'availability_zone': u'nova'} |
+----+-----------+-------------------+----------------------------------------------+------------------------------------------------------------------------------------------------+

I've succes ... (more)

2014-01-16 09:39:07 -0500 received badge  Enthusiast
2013-12-22 22:43:13 -0500 received badge  Famous Question (source)
2013-12-17 02:58:31 -0500 commented answer How to Config nova-network for FlatDHCP with xenserver

Hi @smaffulli, I am very grateful if you would give me a link for question similar to my problem (flatDHC, nova-network, xenserver) because so many question on this site,

2013-12-17 02:51:25 -0500 received badge  Notable Question (source)
2013-12-16 03:38:30 -0500 commented answer How to Config nova-network for FlatDHCP with xenserver

Great, thanks @smaffulli I'll try to search more

2013-12-16 03:35:37 -0500 received badge  Popular Question (source)