Ask Your Question

paleksic's profile - activity

2017-01-11 15:53:02 -0500 received badge  Famous Question (source)
2017-01-02 21:14:20 -0500 received badge  Notable Question (source)
2016-12-20 06:16:51 -0500 received badge  Popular Question (source)
2016-12-20 03:32:22 -0500 answered a question instance cant boot without throwing any errors

I tried launching from cli without any luck. It is strange. I'm learning openstack and keep installing every few days following the same procedure .Now is broken ? Did something change in few days , some update?

Downgraded to Mitaka and it works fine.

openstack server create --image 1d2e9b58-15e4-491e-b768-54200a816ff7 --flavor 1 --nic net-id=1d8ef739-5171-4f48-85f7-911f85d8c3a3 --wait CliTest

+--------------------------------------+----------------------------------------------------------+
| Field                                | Value                                                    |
+--------------------------------------+----------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                   |
| OS-EXT-AZ:availability_zone          | nova                                                     |
| OS-EXT-SRV-ATTR:host                 | server1.example.org                                      |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | server1.example.org                                      |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000003                                        |
| OS-EXT-STS:power_state               | 1                                                        |
| OS-EXT-STS:task_state                | None                                                     |
| OS-EXT-STS:vm_state                  | active                                                   |
| OS-SRV-USG:launched_at               | 2016-12-20T09:06:04.000000                               |
| OS-SRV-USG:terminated_at             | None                                                     |
| accessIPv4                           |                                                          |
| accessIPv6                           |                                                          |
| addresses                            | private_network=192.168.100.5                            |
| adminPass                            | g44yFCyetJWQ                                             |
| config_drive                         |                                                          |
| created                              | 2016-12-20T09:05:48Z                                     |
| flavor                               | m1.tiny (1)                                              |
| hostId                               | d34746971eb80ba928e1e769ecf478b54ca05b14c240fdbd6088ab2b |
| id                                   | 43153896-e592-48f5-9bee-a9269d45409c                     |
| image                                | cirros image (1d2e9b58-15e4-491e-b768-54200a816ff7)      |
| key_name                             | None                                                     |
| name                                 | CliTest                                                  |
| os-extended-volumes:volumes_attached | []                                                       |
| progress                             | 0                                                        |
| project_id                           | f34df00f79f54fb8bcdd81a82a3a5946                         |
| properties                           |                                                          |
| security_groups                      | [{u'name': u'default'}]                                  |
| status                               | ACTIVE                                                   |
| updated                              | 2016-12-20T09:06:05Z                                     |
| user_id                              | 75493e99e9514176931c4ba584bc2182                         |
+--------------------------------------+----------------------------------------------------------+

console log

=== datasource: ec2 net ===
instance-id: i-00000003
name: N/A
availability-zone: nova
local-hostname: clitest.novalocal
launch-index: 0
=== cirros: current=d161201 uptime=11.30 ===
  ____               ____  ____
 / __/ __ ____ ____ / __ \/ __/
/ /__ / // __// __// /_/ /\ \
\___//_//_/  /_/   \____/___/
   http://cirros-cloud.net


login as 'cirros' user. default password: 'gocubsgo'. use 'sudo' for root.
clitest login: /dev/root resized successfully [took 0.72s]
[  462.436942] random: nonblocking pool is initialized
2016-12-19 23:30:47 -0500 asked a question instance cant boot without throwing any errors
  • Setup : packstack allinone configuration . Fresh install as of today.
  • Images : Cirros
  • Hypervisor : kvm
  • Images : Cirros

Launching an instance in Compute node with cirros- Fail - Dashboard show the instance is active - instance not reachable.

the ramdisk and kernel file is not present at nova/instances/<id>

console log

Machine UUID 69d2575e-2ce0-4109-9cab-a082712f953c 
enter code here`gPXE (http://etherboot.org) - 00:03.0 C100 PCI2.10 PnP BBS PMM07E0@10 C100
 Press Ctrl-B to configure gPXE (PCI 00:03.0)...

Booting from Hard Disk...

I upload this "QCOW2" image to Glance by command

curl http://download.cirros-cloud.net/daily/20161201/cirros-d161201-x86_64-disk.img | glance image-create --name='cirros image' --visibility=public --container-format=bare --disk-format=qcow2

And I confirm by glance image-show

+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | ae303c6f064fdc912616f6dd0c044cef     |
| container_format | bare                                 |
| created_at       | 2016-12-19T21:00:39Z                 |
| disk_format      | qcow2                                |
| id               | bb5cb151-8689-4dc4-a4f2-c0310f0db97c |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | cirros image                         |
| owner            | d8b81f2c3eda4f02a01dc4bcba746159     |
| protected        | False                                |
| size             | 12747776                             |
| status           | active                               |
| tags             | []                                   |
| updated_at       | 2016-12-19T21:01:23Z                 |
| virtual_size     | None                                 |
| visibility       | public                               |
+------------------+--------------------------------------+

Now, I began to create instance in compute node using dashboard. In nova list, it show:

+--------------------------------------+--------+--------+------------+-------------+--------------------------------+
| ID                                   | Name   | Status | Task State | Power State | Networks                       |
+--------------------------------------+--------+--------+------------+-------------+--------------------------------+
| 50be3ff0-4ddb-4d6c-8de6-badb6803efa2 | test32 | ACTIVE | -          | Running     | private_network=192.168.100.11 |
+--------------------------------------+--------+--------+------------+-------------+--------------------------------+

and nova show 50be3ff0-4ddb-4d6c-8de6-badb6803efa2

+--------------------------------------+---------------------------------------------------------------------------------+
| Property                             | Value                                                                           |
+--------------------------------------+---------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                                                            |
| OS-EXT-AZ:availability_zone          | nova                                                                            |
| OS-EXT-SRV-ATTR:host                 | server1.example.org                                                             |
| OS-EXT-SRV-ATTR:hostname             | test32                                                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | server1.example.org                                                             |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000001                                                               |
| OS-EXT-SRV-ATTR:kernel_id            |                                                                                 |
| OS-EXT-SRV-ATTR:launch_index         | 0                                                                               |
| OS-EXT-SRV-ATTR:ramdisk_id           |                                                                                 |
| OS-EXT-SRV-ATTR:reservation_id       | r-pk0rpipj                                                                      |
| OS-EXT-SRV-ATTR:root_device_name     | /dev/vda                                                                        |
| OS-EXT-SRV-ATTR:user_data            | -                                                                               |
| OS-EXT-STS:power_state               | 1                                                                               |
| OS-EXT-STS:task_state                | -                                                                               |
| OS-EXT-STS:vm_state                  | active                                                                          |
| OS-SRV-USG:launched_at               | 2016-12-19T21:08:45.000000                                                      |
| OS-SRV-USG:terminated_at             | -                                                                               |
| accessIPv4                           |                                                                                 |
| accessIPv6                           |                                                                                 |
| config_drive                         |                                                                                 |
| created                              | 2016-12-19T21:07:12Z                                                            |
| description                          | test32                                                                          |
| flavor                               | m1.tiny (1)                                                                     |
| hostId                               | efeb918ec3cfd920d4743140b66ce7810cd1db61f567c21e8551a0b7                        |
| host_status                          | UP                                                                              |
| id                                   | 50be3ff0-4ddb-4d6c-8de6-badb6803efa2                                            |
| image                                | Attempt to boot from volume - no image supplied                                 |
| key_name                             | -                                                                               |
| locked                               | False                                                                           |
| metadata                             | {}                                                                              |
| name                                 | test32                                                                          |
| os-extended-volumes:volumes_attached | [{"id": "abe6fd25-4bb1-4831-9435-e97772b8f5c4", "delete_on_termination": true}] |
| private_network network              | 192.168.100.11                                                                  |
| progress                             | 0                                                                               |
| security_groups                      | default                                                                         |
| status                               | ACTIVE                                                                          |
| tags                                 | []                                                                              |
| tenant_id                            | d8b81f2c3eda4f02a01dc4bcba746159                                                |
| updated                              | 2016-12-19T21:08:45Z                                                            |
| user_id                              | 93694f16d97d4646a4462484aac300a3                                                |
+--------------------------------------+---------------------------------------------------------------------------------+

compute log

2016-12-19 22:07:14.040 17593 INFO nova.compute.claims [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] [instance: 50be3ff0-4ddb-4d6c-8de6-badb6803efa2] Claim successful
2016-12-19 22:07:14.669 17593 WARNING nova.virt.libvirt.driver [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] [instance: 50be3ff0-4ddb-4d6c-8de6-badb6803efa2] Ignoring supplied device name: /dev/vda. Libvirt can't honour user-supplied dev names
2016-12-19 22:07:18.439 17593 WARNING nova.virt.osinfo [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] Cannot find OS information - Reason: (No configuration information found for operating system Empty)
2016-12-19 22:07:20.169 17593 INFO nova.virt.block_device [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] [instance: 50be3ff0-4ddb-4d6c-8de6-badb6803efa2] Booting with blank volume at /dev/vda
2016-12-19 22:08:12.027 17593 INFO oslo.privsep.daemon [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/usr/share/nova/nova-dist.conf', '--config-file', '/etc/nova/nova.conf', '--privsep_context', 'os_brick.privileged.default', '--privsep_sock_path', '/tmp/tmpvZQgu7/privsep.sock']
2016-12-19 22:08:13.676 17593 INFO oslo.privsep.daemon [req-ce4b8903-46e6-4e42-96c8-49d828793350 93694f16d97d4646a4462484aac300a3 d8b81f2c3eda4f02a01dc4bcba746159 - - -] Spawned new privsep daemon via rootwrap
2016-12-19 22:08:13.679 17593 INFO oslo.privsep.daemon [-] privsep daemon starting
2016-12-19 22:08:13.679 17593 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
2016-12-19 22:08 ...
(more)