Ask Your Question
0

stack-create sometimes fails

asked 2015-08-26 03:18:00 -0500

tonioc gravatar image

updated 2015-08-26 06:52:14 -0500

about 50% times, my very simple stack-create (in an allinone Juno rdo installation), fails on floatingip association step with message "Resource CREATE failed: BadRequest: No nw_info cache associated with instance (HTTP 400) ..." Every time this happens, I juste delete and create again, and its ok, but I'd like to understand the issue. When it fails, it looks like an operation in instance launching is delayed.

In nova-compute log (see below), the only difference I see hen it goes wrong, is a delay of about 1mn instead of 1sec before the message "WARNING nova.virt.disk.vfs.guestfs [-] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first ". (and some audit messages in between, at random delay).

The nova-compute.log of server launch extract :

2015-08-26 12:02:44.543 13393 AUDIT nova.compute.manager [req-fc773400-3b5d-40d9-beaf-7db35959f279 None] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Starting instance...
2015-08-26 12:02:44.614 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Attempting claim: memory 2048 MB, disk 20 GB
2015-08-26 12:02:44.615 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Total memory: 11842 MB, used: 512.00 MB
2015-08-26 12:02:44.615 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] memory limit: 17763.00 MB, free: 17251.00 MB
2015-08-26 12:02:44.615 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Total disk: 49 GB, used: 0.00 GB
2015-08-26 12:02:44.615 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] disk limit not specified, defaulting to unlimited
2015-08-26 12:02:44.625 13393 AUDIT nova.compute.claims [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Claim successful
2015-08-26 12:02:44.717 13393 INFO nova.scheduler.client.report [-] Compute_service record updated for ('pstack149', 'pstack149')
2015-08-26 12:02:44.815 13393 INFO nova.scheduler.client.report [-] Compute_service record updated for ('pstack149', 'pstack149')
2015-08-26 12:02:45.053 13393 INFO nova.virt.libvirt.driver [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Creating image
2015-08-26 12:02:53.281 13393 INFO nova.scheduler.client.report [-] Compute_service record updated for ('pstack149', 'pstack149')
2015-08-26 12:02:54.620 13393 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-08-26 12:02:54.808 13393 AUDIT nova.compute.resource_tracker [-] Total physical ram (MB): 11842, total allocated virtual ram (MB): 2560
2015-08-26 12:02:54.808 13393 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 29
2015-08-26 12:02:54.808 13393 AUDIT nova.compute.resource_tracker [-] Total usable vcpus: 8, total allocated vcpus: 0
2015-08-26 12:02:54.809 13393 AUDIT nova.compute.resource_tracker [-] PCI stats: []
2015-08-26 12:02:55.364 13393 INFO nova.scheduler.client.report [-] Compute_service record updated for ('pstack149', 'pstack149')
2015-08-26 12:02:55.364 13393 INFO nova.compute.resource_tracker [-] Compute_service record updated for pstack149:pstack149
2015-08-26 12:03:51.207 13393 WARNING nova.virt.disk.vfs.guestfs [-] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
2015-08-26 12:03:51.261 13393 INFO nova.virt.libvirt.driver [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Using config drive
2015-08-26 12:03:51.329 13393 INFO nova.virt.libvirt.driver [-] [instance: 2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad] Creating config drive at /var/lib/nova/instances/2f4e97fe-6126-4ef5-8dbc-72a2d841a9ad/disk.config ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-26 12:12:50 -0500

Balagopal gravatar image

If there is no Floating IP's available while Stack creation the Stack will goes to Error state and the Error message like "Resource CREATE failed: BadRequest. I hit this problem #of times.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-26 03:18:00 -0500

Seen: 301 times

Last updated: Aug 26 '15