Instance creation errors out with all flavors other than tiny
Instance creation errors out with all flavors other than tiny. Only tiny flavor is working. I can understand there is some problem with allocating disk but I couldn't really figureout whats wrong can anyone help?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- devstack Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
I'm having the same issue, also on devstack. I'm on Ubuntu 12.04.1 LTS 64-bit.
The error from my instance_faults table in mysql nova is:
| 2013-02-07 16:30:40 | NULL | NULL | 16 | 372ab34a-
00 | OSError | [Errno 2] No such file or directory
File "/opt/stack/
injected_files, admin_password)
File "/opt/stack/
block_
File "/opt/stack/
admin_
File "/opt/stack/
project_
File "/opt/stack/
*args, **kwargs)
File "/opt/stack/
copy_
File "/opt/stack/
retval = f(*args, **kwargs)
File "/opt/stack/
disk.
File "/opt/stack/
resize2fs(
File "/opt/stack/
run_
File "/opt/stack/
shell=shell)
File "/usr/local/
__
subprocess_
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
| bryce-openstack | 0 |
Revision history for this message
|
#2 |
Hmm, stracing the openstack-compute process and its children gives me this:
./create.
./create.
./create.
The strace command for reference:
sudo strace -o create.strace -ff -p 30877 -s 128
30877 is the pid for openstack-compute. Find it using ps.
Revision history for this message
|
#3 |
vkmc in irc suggested using the screen log with "screen -r stack"
The tab labeled "n-cpu" is where the exciting logs are. You may need to use "ctrl-a [" and pgup to find the exciting bits.
2013-02-07 20:10:48.279 DEBUG nova.openstack.
ova-_opt_
2013-02-07 20:10:48.280 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.306 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.307 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.499 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.501 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.603 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.605 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.748 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.749 DEBUG nova.utils [req-2bc3f017-
2013-02-07 20:10:48.770 DEBUG nova.openstack.
2013-02-07 20:10:48.772 ERROR nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.772 TRACE nova.compute.
2013-02-07 20:10:48.775 DEBUG nova.openstack.
2013-02-07 20:10:48.776 DEBUG nova.compute.claims [req-2bc3f017-
Revision history for this message
|
#4 |
Nova is expecting e2fsck and resize2fs to be in the path, but they're in /sbin in Ubuntu 12.04 unless you're root. Either add /sbin to the "stack" user's path, or symlink them to somewhere that is in the "stack" user's path.
Revision history for this message
|
#5 |
I had this problem with Openstack on Ubuntu Server and found this question, also this guy had this problem https:/
I am answering here for reference:
My setup:
Ubuntu 12.04.2 LTS
Openstack 2012.2.2-dev (2012.2.
Full trace: https:/
-------
2013-03-11 11:22:07 DEBUG nova.utils [req-0918d30d-
2013-03-11 11:22:07 DEBUG nova.utils [req-0918d30d-
2013-03-11 11:22:07 DEBUG nova.utils [req-0918d30d-
2013-03-11 11:22:07 DEBUG nova.utils [req-0918d30d-
2013-03-11 11:22:07 ERROR nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
2013-03-11 11:22:07 1693 TRACE nova.compute.
-------
As suggested Bryce Kerley, this fixed it:
ln -s /sbin/e2fsck /usr/bin/e2fsck
ln -s /sbin/resize2fs /usr/bin/resize2fs
Can you help with this problem?
Provide an answer of your own, or ask Vivekanandan Prakasam for more information if necessary.