mjbagg's profile - activity

2016-05-26 23:16:08 -0600 received badge  Popular Question (source)
2016-05-26 23:16:08 -0600 received badge  Notable Question (source)
2015-08-29 19:07:26 -0600 answered a question failed when try to create a volume from a image using command cinder create --image-id 123 --display-name boot_vol1 3

exact error:

cinder.api.middleware.fault [...] Caught error: [Errno 13] Permission denied

I ended up not only creating the directory unmesh suggests, but giving it full ownership and permissions.

cinder.conf
...
# Directory to use for lock files. Default to a temp directory
# (string value)
#lock_path=<None>
lock_path=/var/lock/cinder

#directory used for temporary storage during image conversion
image_conversion_dir=/var/lock/cinder
...

#chown cinder:cinder /var/lock/cinder
#chmod 777 /var/lock/cinder
# ls -l /var/lock/
drwxrwxrwx 2 cinder cinder  40 Aug 29 11:05 cinder
2015-08-29 18:46:10 -0600 answered a question ovs-vsctl show displays incorrect vxlan remote_ip

ok, found that the vxlan remote_ip endpoints can be deleted from the neutron db.

I had something like this:

 Port "vxlan-0b006817"
            Interface "vxlan-0b006817"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="11.0.103.23", out_key=flow, remote_ip="11.0.104.23"}

11.0.103.23 should be mapped to 11.0.103.x...instead of the 11.0.104.x On the controller, open mariadb, use the neutron db, then delete the offending endpoints from the ml2_vxlan_endpoints table.

like so:

MariaDB [neutron]> select * from ml2_vxlan_endpoints;
+-------------+----------+
| ip_address  | udp_port |
+-------------+----------+
| 11.0.103.23 |     4789 |
| 11.0.103.24 |     4789 |
| 11.0.104.24 |     4789 |
| 11.0.104.25 |     4789 |
| 11.0.104.26 |     4789 |
| 11.0.107.23 |     4789 |
+-------------+----------+
6 rows in set (0.00 sec)

MariaDB [neutron]> delete from ml2_vxlan_endpoints where ip_address = "11.0.104.24" limit 1;
Query OK, 1 row affected (0.00 sec)

MariaDB [neutron]> delete from ml2_vxlan_endpoints where ip_address = "11.0.104.25" limit 1;
Query OK, 1 row affected (0.00 sec)

MariaDB [neutron]> delete from ml2_vxlan_endpoints where ip_address = "11.0.104.26" limit 1;
Query OK, 1 row affected (0.00 sec)

MariaDB [neutron]> select * from ml2_vxlan_endpoints;
+-------------+----------+
| ip_address  | udp_port |
+-------------+----------+
| 11.0.103.23 |     4789 |
| 11.0.103.24 |     4789 |
| 11.0.107.23 |     4789 |
+-------------+----------+

I wanted to remove the x.x.104.x IPs...and now they are gone.

2015-08-29 18:46:10 -0600 asked a question ovs-vsctl show displays incorrect vxlan remote_ip

I've changed ml2_conf.ini local_ip, but don't see where to add/change remote_ip.