Openstack Mitaka ERROR when creating a VM [closed]
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 ...
PortBindingFailed: Binding failed for port f2dc39fe-4d1c-4907-bef8-41c601a5fc68, please check neutron logs for more information.
Start with the neutron server log and use the port number to find relevant log entries.Added to the post the /var/log/neutron/server.log which is the only one which is modified when creating a VM
Is there no entry in neutron-server.log that contains the port ID f2dc39fe-4d1c-4907-bef8-41c601a5fc68?
where is the neutron-server.log located? if you mean at controllers node /var/log/neutron/server.log => UPDATED the post with the log
solution added