Ask Your Question

Subiendo's profile - activity

2017-05-29 05:21:33 -0600 received badge  Famous Question (source)
2017-05-29 05:21:33 -0600 received badge  Notable Question (source)
2017-03-15 05:27:03 -0600 received badge  Famous Question (source)
2017-02-06 05:33:03 -0600 received badge  Commentator
2017-02-06 05:33:03 -0600 commented answer Cinder Error - Volume Not Attaching to Instance

is not installed via this order yum install openstack-cinder targetcli python-oslo-policy ? I also have my cinder-volume on controller node status as "down" and I dont know why...

2017-02-02 11:51:19 -0600 received badge  Popular Question (source)
2017-02-02 05:42:13 -0600 commented answer Cinder Error - Volume Not Attaching to Instance

I thought tgt was not supported for Centos7?

2017-02-01 06:59:50 -0600 asked a question Cinder Error - Volume Not Attaching to Instance

Hi guys,

Im trying to attach a volume to an instance and im not getting the volume when fdisk -l

Dont know how to follow this step at openstack

In the [lvm] section, configure the LVM back end with the LVM driver, cinder-volumes volume group, iSCSI protocol, and appropriate iSCSI service:

[lvm] ... volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver volume_group = cinder-volumes iscsi_protocol = iscsi iscsi_helper = lioadm

I dont find the [lvm] section and no [lvm] section is in the file.

Here is the cinder.conf file on the storage node => filedropper.com/cinder_1

Here's the log which displays the error.

2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher [req-8ca989fe-3b12-4cf0-bd14-9a26923ec9e4 7ead70b5918b4e3c97ca8cce96d41978 9b77bb7a532d4b40a06323640a811b67 - - -] Exception during message handling: Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf tgtadm --lld iscsi --op show --mode target
Exit code: 96
Stdout: u''
Stderr: u'/usr/bin/cinder-rootwrap: Executable not found: tgtadm (filter match = tgtadm)\n'
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1442, in initialize_connection
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     volume, connector)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/drivers/lvm.py", line 760, in create_export
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     volume_path)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/targets/iscsi.py", line 210, in create_export
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     **portals_config)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/targets/tgt.py", line 140, in create_iscsi_target
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     run_as_root=True)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/utils.py", line 148, in execute
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     return processutils.execute(*cmd, **kwargs)
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 389, in execute
2017-02-01 13:41:29.752 3064 ERROR oslo_messaging.rpc.dispatcher     cmd ...
(more)
2017-02-01 06:50:04 -0600 received badge  Notable Question (source)
2017-01-24 10:12:03 -0600 received badge  Popular Question (source)
2017-01-23 08:46:41 -0600 asked a question Cannot Ping Instance with IP ADDRESS set

Hello Guys,

After creating my VM I cannot ping my VM my eth0 interface gets 192.168.100.130 but from controller node it says DESTINATION HOST Unreachable.

SOLUTION:

It was because a wrong configuration on the /etc/neutron/plugins/ml2/linuxbridge_agent.ini (wrong interface)

Kind regards,

2017-01-17 07:21:00 -0600 commented question Openstack Mitaka ERROR when creating a VM

solution added

2017-01-17 07:20:52 -0600 commented answer Openstack Mitaka ERROR when creating a VM

solution added

2017-01-17 07:20:46 -0600 commented answer Openstack Mitaka ERROR when creating a VM

solution added

2017-01-17 06:42:44 -0600 received badge  Famous Question (source)
2017-01-17 05:38:20 -0600 commented answer Openstack Mitaka ERROR when creating a VM

im a bit confused if the interfaces according to the files are correctly set. My enp5s0 interfaces are the public ones while enp9s0 are the internal ones

2017-01-17 05:30:11 -0600 commented answer Openstack Mitaka ERROR when creating a VM

updated with controller, compute interfaces and both files

2017-01-16 06:29:01 -0600 commented question Openstack Mitaka ERROR when creating a VM

where is the neutron-server.log located? if you mean at controllers node /var/log/neutron/server.log => UPDATED the post with the log

2017-01-16 06:07:42 -0600 commented answer Openstack Mitaka ERROR when creating a VM

updated neutron agent-list everything is up and OK

2017-01-16 06:07:28 -0600 received badge  Editor (source)
2017-01-16 00:21:22 -0600 received badge  Notable Question (source)
2017-01-14 04:56:00 -0600 commented question Openstack Mitaka ERROR when creating a VM

Added to the post the /var/log/neutron/server.log which is the only one which is modified when creating a VM

2017-01-14 04:40:56 -0600 received badge  Notable Question (source)
2017-01-14 00:23:59 -0600 received badge  Popular Question (source)
2017-01-13 13:53:49 -0600 asked a question Openstack Mitaka ERROR when creating a VM

Hi all,

As the tutorial says im using step by step the comands written there:

openstack flavor list

openstack flavor list
+----+-----------+-------+------+-----------+-------+-----------+
| ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-----------+-------+------+-----------+-------+-----------+
| 0  | m1.nano   |    64 |    1 |         0 |     1 | True      |
| 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |
| 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |
| 3  | m1.medium |  4096 |   40 |         0 |     2 | True      |
| 4  | m1.large  |  8192 |   80 |         0 |     4 | True      |
| 5  | m1.xlarge | 16384 |  160 |         0 |     8 | True      |
+----+-----------+-------+------+-----------+-------+-----------+

openstack keypair list
+-------+-------------------------------------------------+
| Name  | Fingerprint                                     |
+-------+-------------------------------------------------+
| mykey | a1:0e:20:a8:19:dd:d2:82:bb:47:d7:a8:82:48:e1:3f |
+-------+-------------------------------------------------+

openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| 2a32118a-6f19-4647-a599-427a43552e98 | cirros | active |
+--------------------------------------+--------+--------+

openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID                                   | Name     | Subnets                              |
+--------------------------------------+----------+--------------------------------------+
| 5b74b975-c78c-44cf-8558-1a14047bf1ce | provider | 48a277b9-aa31-43f9-991d-83755b45b022 |
+--------------------------------------+----------+--------------------------------------+

openstack security group list
+--------------------------------------+---------+------------------------+----------------------------------+
| ID                                   | Name    | Description            | Project                          |
+--------------------------------------+---------+------------------------+----------------------------------+
| f2427bca-3a4f-4e95-8d51-9d2977f7c447 | default | Default security group | 9b77bb7a532d4b40a06323640a811b67 |
+--------------------------------------+---------+------------------------+----------------------------------+

openstack server create --flavor m1.tiny --image cirros --security-group default --key-name mykey p3
+--------------------------------------+-----------------------------------------------+
| Field                                | Value                                         |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                        |
| OS-EXT-AZ:availability_zone          |                                               |
| OS-EXT-SRV-ATTR:host                 | None                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                          |
| OS-EXT-SRV-ATTR:instance_name        | instance-0000000b                             |
| OS-EXT-STS:power_state               | 0                                             |
| OS-EXT-STS:task_state                | None                                          |
| OS-EXT-STS:vm_state                  | building                                      |
| OS-SRV-USG:launched_at               | None                                          |
| OS-SRV-USG:terminated_at             | None                                          |
| accessIPv4                           |                                               |
| accessIPv6                           |                                               |
| addresses                            |                                               |
| adminPass                            | 6GzSwFvhQQp2                                  |
| config_drive                         |                                               |
| created                              | 2017-01-13T22:47:31Z                          |
| flavor                               | m1.tiny (1)                                   |
| hostId                               |                                               |
| id                                   | 2b2dbda3-b126-4494-9bf9-84dd966c4ab5          |
| image                                | cirros (2a32118a-6f19-4647-a599-427a43552e98) |
| key_name                             | mykey                                         |
| name                                 | p3                                            |
| os-extended-volumes:volumes_attached | []                                            |
| progress                             | 0                                             |
| project_id                           | 9b77bb7a532d4b40a06323640a811b67              |
| properties                           |                                               |
| security_groups                      | [{u'name': u'default'}]                       |
| status                               | BUILD                                         |
| updated                              | 2017-01-13T22:47:32Z                          |
| user_id                              | 7ead70b5918b4e3c97ca8cce96d41978              |
+--------------------------------------+-----------------------------------------------+

openstack server list
+--------------------------------------+--------------------+--------+----------+
| ID                                   | Name               | Status | Networks |
+--------------------------------------+--------------------+--------+----------+
| 2b2dbda3-b126-4494-9bf9-84dd966c4ab5 | p3                 | ERROR  |          |
+--------------------------------------+--------------------+--------+----------+


neutron agent-list
+------------+------------+------------+-------------------+-------+----------------+---------------+
| id         | agent_type | host       | availability_zone | alive | admin_state_up | binary        |
+------------+------------+------------+-------------------+-------+----------------+---------------+
| 23eee6fe-  | Linux      | controller |                   | :-)   | True           | neutron-      |
| cc72-4533  | bridge     |            |                   |       |                | linuxbridge-  |
| -971e-a72e | agent      |            |                   |       |                | agent         |
| def0dc46   |            |            |                   |       |                |               |
| 34274b2e-0 | Metadata   | controller |                   | :-)   | True           | neutron-      |
| 795-4143-9 | agent      |            |                   |       |                | metadata-     |
| 816-543349 |            |            |                   |       |                | agent         |
| 90748f     |            |            |                   |       |                |               |
| 9fc7162a-  | DHCP agent | controller | nova              | :-)   | True           | neutron-dhcp- |
| fa83-4b0a- |            |            |                   |       |                | agent         |
| ae76-617b2 |            |            |                   |       |                |               |
| 73ff9e2    |            |            |                   |       |                |               |
| e3e8b1ca-9 | Linux      | compute1   |                   | :-)   | True           | neutron-      |
| 99c-4691-a | bridge     |            |                   |       |                | linuxbridge-  |
| d11-b28f00 | agent      |            |                   |       |                | agent         |
| a90749     |            |            |                   |       |                |               |
+------------+------------+------------+-------------------+-------+----------------+---------------+

controller ifconfig

brq5b74b975-c7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet PUBLIC_IP 

enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 IPV6 

enp9s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet INTERNAL_IP

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1434358  bytes 406370715 (387.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1434358  bytes 406370715 (387.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tapc54d34cc-eb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 92:15:ba:93:88:fe  txqueuelen 1000  (Ethernet)
        RX packets 8  bytes 648 (648.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 364558  bytes 31374381 (29.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:1f:43:14  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors ...
(more)
2016-12-02 09:10:55 -0600 received badge  Popular Question (source)
2016-12-02 03:19:46 -0600 received badge  Enthusiast
2016-11-26 05:44:22 -0600 asked a question Cannot Ping Private Ip

Good Afternoon,

When Im creating a VM with this command:

openstack server create --flavor m1.small --image cirros --security-group default --key-name mykey prueba2

This is my response:

    +--------------------------------------+-----------------------------------------------+
| Field                                | Value                                         |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                        |
| OS-EXT-AZ:availability_zone          |                                               |
| OS-EXT-SRV-ATTR:host                 | None                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                          |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000029                             |
| OS-EXT-STS:power_state               | NOSTATE                                       |
| OS-EXT-STS:task_state                | None                                          |
| OS-EXT-STS:vm_state                  | building                                      |
| OS-SRV-USG:launched_at               | None                                          |
| OS-SRV-USG:terminated_at             | None                                          |
| accessIPv4                           |                                               |
| accessIPv6                           |                                               |
| addresses                            |                                               |
| adminPass                            | FBzKNC4rgZZZ                                  |
| config_drive                         |                                               |
| created                              | 2016-11-25T21:32:34Z                          |
| flavor                               | m1.small (0)                                  |
| hostId                               |                                               |
| id                                   | 211e02c5-2191-40b0-9573-ac643af775e8          |
| image                                | cirros (a9a16b8c-3ac9-47fb-af57-19e801408eef) |
| key_name                             | mykey                                         |
| name                                 | prueba2                                       |
| os-extended-volumes:volumes_attached | []                                            |
| progress                             | 0                                             |
| project_id                           | a517f1b52ce04b53b54e0c0d7d5d0334              |
| properties                           |                                               |
| security_groups                      | [{u'name': u'default'}]                       |
| status                               | BUILD                                         |
| updated                              | 2016-11-25T21:32:35Z                          |
| user_id                              | bfee029188db405cab563a261f158f36              |
+--------------------------------------+-----------------------------------------------+

And here is my instance's private IP

+--------------------------------------+---------+--------+-------------------------+------------+
| ID                                   | Name    | Status | Networks                | Image Name |
+--------------------------------------+---------+--------+-------------------------+------------+
| 211e02c5-2191-40b0-9573-ac643af775e8 | prueba2 | ACTIVE | provider=192.168.100.87 | cirros     |
+--------------------------------------+---------+--------+-------------------------+------------+

ICMP and SSH ports are opened at security-group with the following commands:

openstack security group rule create --proto icmp default
openstack security group rule create --proto tcp --dst-port 22 default

When I ping my private IP I got this

PING 192.168.100.87 (192.168.100.87) 56(84) bytes of data.
From 192.168.100.11 icmp_seq=1 Destination Host Unreachable
From 192.168.100.11 icmp_seq=2 Destination Host Unreachable
From 192.168.100.11 icmp_seq=3 Destination Host Unreachable
From 192.168.100.11 icmp_seq=4 Destination Host Unreachable

With a bit of research I got this log message

2016-11-25 18:46:40.737 28867 INFO neutron.agent.securitygroups_rpc [req-aa50f754-d509-419f-ab6f-b34e709ed823 bfee029188db405cab563a261f158f36 a517f1b52ce04b53b54e0c0d7d5d0334 - - -] Security group member updated [u'9c2eceb4-dc5f-42ec-a566-9b652600f9a5']
2016-11-25 18:46:42.329 28867 INFO neutron.agent.securitygroups_rpc [req-75ecf6b4-e90d-4d8c-9634-1fd23869d550 - - - - -] Refresh firewall rules
2016-11-25 18:46:46.330 28867 INFO neutron.agent.securitygroups_rpc [req-75ecf6b4-e90d-4d8c-9634-1fd23869d550 - - - - -] Preparing filters for devices set(['tap8a8402c3-c5'])
2016-11-25 18:46:46.929 28867 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-75ecf6b4-e90d-4d8c-9634-1fd23869d550 - - - - -] Port tap8a8402c3-c5 updated. Details: {u'profile': {}, u'network_qos_policy_id': None, u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'89b94b88-c307-4147-b9c0-b8f7d9554605', u'segmentation_id': None, u'device_owner': u'compute:None', u'physical_network': u'provider', u'mac_address': u'fa:16:3e:65:ca:c5', u'device': u'tap8a8402c3-c5', u'port_security_enabled': True, u'port_id': u'8a8402c3-c54f-4f90-9cda-896825c10a4a', u'fixed_ips': [{u'subnet_id': u'dbcd85e7-9f40-44f6-b309-cdafbbb2ef12', u'ip_address': u'192.168.100.87'}], u'network_type': u'flat', u'security_groups': [u'9c2eceb4-dc5f-42ec-a566-9b652600f9a5']}
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager [req-75ecf6b4-e90d-4d8c-9634-1fd23869d550 - - - - -] Error during notification for neutron.services.trunk.drivers.linuxbridge.agent.driver.LinuxBridgeTrunkDriver.agent_port_change--9223372036846395701 port_device, after_update
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager Traceback (most recent call last):
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager   File "/usr/lib/python2.7/site-packages/neutron/callbacks/manager.py", line 146, in _notify_loop
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager     callback(resource, event, trigger, **kwargs)
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager   File "/usr/lib/python2.7/site-packages/neutron/services/trunk/drivers/linuxbridge/agent/driver.py", line 97, in agent_port_change
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks.manager     trunk = self._tapi.get_trunk(context, device_details['port_id'])
2016-11-25 18:46:47.594 28867 ERROR neutron.callbacks ...
(more)