[one-users] onezone list 491 HTTP error!
Nasser Mooman
nmooman at yahoo.com
Wed Jan 18 04:56:48 PST 2012
On the opennebula server (0Zone server) I was able to create zone and
viewed on the http://192.168.149.101:6121/.
But when I tri the command line I get the following error:
oneadmin at opennebula-nsr:~$ onezone list
Operating with zone failed with HTTP error code: 401
oneadmin at opennebula-nsr:~$
--This is the ozone=server.log log error of the above error:
192.168.149.101 - - [18/Jan/2012 06:43:27] "GET /zone HTTP/1.1" 401 - 0.0014
192.168.149.101 - - [18/Jan/2012 06:43:27] "GET /zone HTTP/1.1" 401 - 0.0020
But, the oznoe-server GUI (WEB) working fine!!
oneadminoneadmin at opennebula-nsr:~$ tail -f /var/log/one/ozones-server.log
~ (0.000061) SELECT `id`, `name`, `group_id`, `vdcadminname`,
`vdcadmin_id`, `zones_id` FROM `o_zones_vdcs` WHERE `zones_id` = 3 ORDER
BY `id`
~ (0.000047) SELECT `id`, `name`, `onename`, `onepass`, `endpoint`,
`sunsendpoint` FROM `o_zones_zones` ORDER BY `id`
~192.168.10.206 - - [18/Jan/2012 06:45:20] "GET
/zone/image?timeout=false HTTP/1.1" 200 362 0.0146
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET /zone/image?timeout=false
HTTP/1.1" 200 362 0.0155
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET /zone/user?timeout=false
HTTP/1.1" 200 1394 0.0145
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET /zone/user?timeout=false
HTTP/1.1" 200 1394 0.0164
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET
/zone/vmtemplate?timeout=false HTTP/1.1" 200 367 0.0107
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET
/zone/vmtemplate?timeout=false HTTP/1.1" 200 367 0.0114
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET /vdc?timeout=false
HTTP/1.1" 200 23 0.0030
192.168.10.206 - - [18/Jan/2012 06:45:20] "GET /vdc?timeout=false
HTTP/1.1" 200 23 0.0037
192.168.10.206 - - [18/Jan/2012 06:46:04] "GET /zone/3 HTTP/1.1" 200 254
0.0115
192.168.10.206 - - [18/Jan/2012 06:46:04] "GET /zone/3 HTTP/1.1" 200 254
0.0133
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/host HTTP/1.1"
200 1082 0.0211
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/host HTTP/1.1"
200 1082 0.0232
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vmtemplate
HTTP/1.1" 200 30 0.0156
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vmtemplate
HTTP/1.1" 200 30 0.0164
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vm HTTP/1.1" 200
1630 0.0183
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vm HTTP/1.1" 200
1630 0.0201
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vnet HTTP/1.1"
200 373 0.0145
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/vnet HTTP/1.1"
200 373 0.0163
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/image HTTP/1.1"
200 25 0.0185
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/image HTTP/1.1"
200 25 0.0198
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/user HTTP/1.1"
200 847 0.0636
192.168.10.206 - - [18/Jan/2012 06:46:05] "GET /zone/3/user HTTP/1.1"
200 847 0.0653
192.168.10.206 - - [18/Jan/2012 06:46:27] "GET /vdc?timeout=true
HTTP/1.1" 200 23 0.0096
192.168.10.206 - - [18/Jan/2012 06:46:27] "GET /vdc?timeout=true
HTTP/1.1" 200 23 0.0126
192.168.10.206 - - [18/Jan/2012 06:46:29] "GET /zone/host?timeout=true
HTTP/1.1" 200 1659 0.0191
192.168.10.206 - - [18/Jan/2012 06:46:29] "GET /zone/host?timeout=true
HTTP/1.1" 200 1659 0.0213
.
,
~ (0.000128) SELECT `id`, `name`, `group_id`, `vdcadminname`,
`vdcadmin_id`, `zones_id` FROM `o_zones_vdcs` WHERE `zones_id` = 3 ORDER
BY `id`
~ (0.000145) SELECT `id`, `name`, `group_id`, `vdcadminname`,
`vdcadmin_id`, `zones_id` FROM `o_zones_vdcs` ORDER BY `id`
~ (0.000120) SELECT `id`, `name`, `group_id`, `vdcadminname`,
`vdcadmin_id`, `zones_id` FROM `o_zones_vdcs` ORDER BY `id`
~ (0.000138) SELECT `id`, `name`, `onename`, `onepass`, `endpoint`,
`su192.168.10.206 - - [18/Jan/2012 06:47:38] "GET
/zone/host?timeout=true HTTP/1.1" 200 1659 0.0203
192.168.10.206 - - [18/Jan/2012 06:47:38] "GET /zone/host?timeout=true
HTTP/1.1" 200 1659 0.0222
===========
Any idea?
--Mooman
More information about the Users
mailing list