state hold on pending
I can't start the instances . It hold on pending state. How can I fix it ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- RickyLau
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please append your configuration (/etc/nova/
Revision history for this message
|
#2 |
Thanks Christian , My imformation is :
nova.conf :
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--verbose
--s3_host=10.0.2.15
--rabbit_
--cc_host=10.0.2.15
--ec2_url=http://
--fixed_
--network_size=8
--FAKE_
--routing_
--verbose
--sql_connectio
--network_
nova-compute :
2011-02-20 11:07:38,175 DEBUG nova.virt.
2011-02-20 11:07:38,797 AUDIT nova.compute.
2011-02-20 11:07:40,080 DEBUG nova.virt.
2011-02-20 11:07:40,242 DEBUG nova.virt.
2011-02-20 11:07:40,270 INFO nova.root [-] called setup_basic_
2011-02-20 11:07:40,271 INFO nova.root [-] ensuring static filters
2011-02-20 11:07:40,683 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: self.firewall_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: self.apply_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: current_filter, _ = self.execute('sudo iptables-save -t filter')
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: cmd=cmd)
(nova.exception): TRACE: ProcessExecutio
(nova.exception): TRACE: Command: sudo iptables-save -t filter
(nova.exception): TRACE: Exit code: 1
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: 'sudo: no tty present and no askpass program specified\n'
(nova.exception): TRACE:
2011-02-20 11:07:40,732 ERROR nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
libvir: QEMU error : Domain not found: no domain with matching name 'instance-00000001'
nova-network :
2011-02-20 11:07:39,595 DEBUG nova.network.
nova-objectstore
2011-02-20 10:55:39+0800 [HTTPChannel,
2011-02-20 10:55:39+0800 [HTTPChannel,
2011-02-20 10:57:23+0800 [HTTPChannel,
2011-02-20 10:59:33+0800 [HTTPChannel,
2011-02-20 10:59:33+0800 [HTTPChannel,
2011-02-20 11:01:12+0800 [HTTPChannel,
2011-02-20 11:01:14+0800 [HTTPChannel,
2011-02-20 11:01:14+0800 [HTTPChannel,
2011-02-20 11:01:14+0800 [HTTPChannel,
2011-02-20 11:01:14+0800 [HTTPChannel,
2011-02-20 11:01:14+0800 [HTTPChannel,
2011-02-20 11:01:15+0800 [HTTPChannel,
2011-02-20 11:01:17+0800 [HTTPChannel,
2011-02-20 11:02:47+0800 [HTTPChannel,
2011-02-20 11:02:47+0800 [HTTPChannel,
2011-02-20 11:02:47+0800 [HTTPChannel,
2011-02-20 11:02:48+0800 [HTTPChannel,
2011-02-20 11:02:49+0800 [HTTPChannel,
2011-02-20 11:02:49+0800 [HTTPChannel,
2011-02-20 11:02:50+0800 [HTTPChannel,
2011-02-20 11:02:52+0800 [HTTPChannel,
2011-02-20 11:02:52+0800 [HTTPChannel,
2011-02-20 11:02:53+0800 [HTTPChannel,
2011-02-20 11:02:54+0800 [HTTPChannel,
2011-02-20 11:02:54+0800 [HTTPChannel,
2011-02-20 11:02:56+0800 [HTTPChannel,
2011-02-20 11:02:57+0800 [HTTPChannel,
2011-02-20 11:02:57+0800 [HTTPChannel,
2011-02-20 11:02:58+0800 [HTTPChannel,
2011-02-20 11:02:59+0800 [HTTPChannel,
2011-02-20 11:02:59+0800 [HTTPChannel,
2011-02-20 11:03:00+0800 [HTTPChannel,
2011-02-20 11:03:00+0800 [HTTPChannel,
2011-02-20 11:03:01+0800 [HTTPChannel,
2011-02-20 11:07:37+0800 [HTTPChannel,
2011-02-20 11:07:37+0800 [HTTPChannel,
2011-02-20 11:07:50+0800 [HTTPChannel,
2011-02-20 11:07:50+0800 [HTTPChannel,
nova-scheduler
2011-02-20 11:07:37,996 DEBUG nova.scheduler.
nova-api
2011-02-20 11:06:28,736 INFO nova.api [IAYFI8JOYM-
2011-02-20 11:07:36,865 DEBUG nova.auth.manager [-] Looking up user: u'65b18c36-
2011-02-20 11:07:36,885 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:07:36,905 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:36,906 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:07:36,906 DEBUG nova.signer [-] string_to_sign: POST
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:07:36,907 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:36,907 DEBUG nova.signer [-] base64 encoded digest: 6u+uwRzuKdjO1qh
2011-02-20 11:07:36,908 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:07:36,908 DEBUG nova.auth.manager [-] expected_signature: 6u+uwRzuKdjO1qh
2011-02-20 11:07:36,908 DEBUG nova.auth.manager [-] signature: 6u+uwRzuKdjO1qh
2011-02-20 11:07:36,925 AUDIT nova.api [T1J09MUMNQEX5P
2011-02-20 11:07:36,926 DEBUG nova.api [-] action: RunInstances from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:36,927 DEBUG nova.api [-] arg: ImageId val: ami-5ktqd83k from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:36,927 DEBUG nova.api [-] arg: KeyName val: cckey from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:36,928 DEBUG nova.api [-] arg: MaxCount val: 1 from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:36,928 DEBUG nova.api [-] arg: MinCount val: 1 from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:36,928 DEBUG nova.api [-] arg: InstanceType val: m1.tiny from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:37,131 DEBUG nova.root [-] Using Kernel=
2011-02-20 11:07:37,339 DEBUG nova.compute.api [-] Going to run 1 instances... from MainProcess (pid=5405) create /usr/lib/
2011-02-20 11:07:37,471 DEBUG nova.compute.api [-] Casting to scheduler for ccproject/admin's instance 1 from MainProcess (pid=5405) create /usr/lib/
2011-02-20 11:07:37,472 DEBUG nova.rpc [-] Making asynchronous cast... from MainProcess (pid=5405) cast /usr/lib/
2011-02-20 11:07:37,775 DEBUG nova.api.request [-] <?xml version="1.0" ?><RunInstances
2011-02-20 11:07:37,776 INFO nova.api [T1J09MUMNQEX5P
2011-02-20 11:07:50,084 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:07:50,098 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:07:50,115 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:50,115 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:07:50,116 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:07:50,116 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:50,116 DEBUG nova.signer [-] base64 encoded digest: Cys96YBIUgVec6S
2011-02-20 11:07:50,117 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:07:50,117 DEBUG nova.auth.manager [-] expected_signature: Cys96YBIUgVec6S
2011-02-20 11:07:50,117 DEBUG nova.auth.manager [-] signature: Cys96YBIUgVec6S
2011-02-20 11:07:50,153 AUDIT nova.api [V-JH2HDKHIBM-
2011-02-20 11:07:50,154 DEBUG nova.api [-] action: DescribeImages from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:50,154 DEBUG nova.api [-] arg: Owner.1 val: self from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:50,231 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeImag
2011-02-20 11:07:50,232 INFO nova.api [V-JH2HDKHIBM-
2011-02-20 11:07:50,253 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:07:50,260 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:07:50,273 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:50,274 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:07:50,274 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:07:50,274 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:07:50,275 DEBUG nova.signer [-] base64 encoded digest: aj0xSCBlojeT9z9
2011-02-20 11:07:50,279 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:07:50,279 DEBUG nova.auth.manager [-] expected_signature: aj0xSCBlojeT9z9
2011-02-20 11:07:50,279 DEBUG nova.auth.manager [-] signature: aj0xSCBlojeT9z9
2011-02-20 11:07:50,295 AUDIT nova.api [4ZXKABBOX47EU1
2011-02-20 11:07:50,296 DEBUG nova.api [-] action: DescribeImages from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:50,296 DEBUG nova.api [-] arg: ExecutableBy.1 val: self from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:07:50,352 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeImag
2011-02-20 11:07:50,353 INFO nova.api [4ZXKABBOX47EU1
2011-02-20 11:08:04,455 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:08:04,459 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:08:04,470 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:08:04,471 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:08:04,471 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:08:04,471 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:08:04,472 DEBUG nova.signer [-] base64 encoded digest: 1A9rf7asRAbp+
2011-02-20 11:08:04,472 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:08:04,473 DEBUG nova.auth.manager [-] expected_signature: 1A9rf7asRAbp+
2011-02-20 11:08:04,473 DEBUG nova.auth.manager [-] signature: 1A9rf7asRAbp+
2011-02-20 11:08:04,477 AUDIT nova.api [U2O3SU8-
2011-02-20 11:08:04,478 DEBUG nova.api [-] action: DescribeInstances from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:08:04,525 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeInst
2011-02-20 11:08:04,526 INFO nova.api [U2O3SU8-
2011-02-20 11:08:30,545 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:08:30,555 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:08:30,569 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:08:30,570 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:08:30,570 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:08:30,571 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:08:30,571 DEBUG nova.signer [-] base64 encoded digest: WWvC+MQUAhUwG6z
2011-02-20 11:08:30,571 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:08:30,571 DEBUG nova.auth.manager [-] expected_signature: WWvC+MQUAhUwG6z
2011-02-20 11:08:30,572 DEBUG nova.auth.manager [-] signature: WWvC+MQUAhUwG6z
2011-02-20 11:08:30,575 AUDIT nova.api [E06J59E2NVH1ET
2011-02-20 11:08:30,576 DEBUG nova.api [-] action: DescribeInstances from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:08:30,630 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeInst
2011-02-20 11:08:30,631 INFO nova.api [E06J59E2NVH1ET
2011-02-20 11:10:16,425 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:10:16,430 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:10:16,443 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:10:16,443 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:10:16,444 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:10:16,444 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:10:16,444 DEBUG nova.signer [-] base64 encoded digest: 6Zm+V43oF/
2011-02-20 11:10:16,444 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:10:16,445 DEBUG nova.auth.manager [-] expected_signature: 6Zm+V43oF/
2011-02-20 11:10:16,445 DEBUG nova.auth.manager [-] signature: 6Zm+V43oF/
2011-02-20 11:10:16,458 AUDIT nova.api [DWJE9742VXZFEM
2011-02-20 11:10:16,458 DEBUG nova.api [-] action: DescribeInstances from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:10:16,505 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeInst
2011-02-20 11:10:16,505 INFO nova.api [DWJE9742VXZFEM
2011-02-20 11:40:01,465 DEBUG nova.auth.manager [-] Looking up user: '65b18c36-
2011-02-20 11:40:01,469 DEBUG nova.auth.manager [-] user: User('admin', 'admin', '65b18c36-
2011-02-20 11:40:01,482 DEBUG nova.signer [-] using _calc_signature_2 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:40:01,483 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-02-20 11:40:01,483 DEBUG nova.signer [-] string_to_sign: GET
10.0.2.15:8773
/services/Cloud/
AWSAccessKeyId=
2011-02-20 11:40:01,483 DEBUG nova.signer [-] len(b64)=44 from MainProcess (pid=5405) _calc_signature_2 /usr/lib/
2011-02-20 11:40:01,483 DEBUG nova.signer [-] base64 encoded digest: wvhQGKvY7GShHqs
2011-02-20 11:40:01,484 DEBUG nova.auth.manager [-] user.secret: e6e58303-
2011-02-20 11:40:01,484 DEBUG nova.auth.manager [-] expected_signature: wvhQGKvY7GShHqs
2011-02-20 11:40:01,484 DEBUG nova.auth.manager [-] signature: wvhQGKvY7GShHqs
2011-02-20 11:40:01,495 AUDIT nova.api [-R3CAPY5WM2EU5
2011-02-20 11:40:01,495 DEBUG nova.api [-] action: DescribeInstances from MainProcess (pid=5405) __call__ /usr/lib/
2011-02-20 11:40:01,554 DEBUG nova.api.request [-] <?xml version="1.0" ?><DescribeInst
2011-02-20 11:40:01,555 INFO nova.api [-R3CAPY5WM2EU5
I use nova-CC-
Revision history for this message
|
#3 |
fix sudo and try it again (sudo: no tty present and no askpass program specified)...
please use http://
Revision history for this message
|
#5 |
Ricky, it would be helpful if you said what was wrong and how you fixed it.