Ask Your Question
0

ceilometer meter-list error

asked 2014-03-19 23:48:23 -0600

ssup gravatar image

I have installed ceilometer with devstack. But seems like I cannot access ceilometer info using cli. I got error as per below.  Now I'm in my office and my PC applied proxy. So I think the problem is realted with proxy, but I don't know exactly reason and solution.  I am using DevStack on Ubuntu12.04 based on stable/havana. My localrc is as follows.

    disable_service n-net     enable_service q-svc q-agt q-dhcp q-13 q-lbaas quantum     enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api     enable_service ceilometer-alarm-evaluator ceilometer-alarm-notifier     enable_service s-proxy s-object s-container s-account

.

    stack@stackBox:~/devstack$cat /etc/environment      PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"     http_proxy="http://70.x.x.x:8080/"     https_proxy="https://70.x.x.x:8080/"     no_proxy="localhost,127.0.0.1,127.0.0.0/8,127.0.1.1,10.0.0.0/8,10.0.2.15"

.

    stack@stackBox:~/devstack$ ceilometer meter-list     WARNING (http:173) Request returned failure status.     HTTPServiceUnavailable (HTTP 503)     stack@stackBox:~/devstack$  .

    stack@stackBox:~/devstack/accrc/admin$ cat admin     # you can source this file     export EC2_ACCESS_KEY="e1596a55abcf4ee890fc2d928fc23760"     export EC2_SECRET_KEY="005bac9d9a1649109f42be8db8ad4fbc"     export EC2_URL="http://10.0.2.15:8773/services/Cloud"     export S3_URL="http://10.0.2.15:3333"     # OpenStack USER ID = e6d57835b91a401d94ca53adcac9a438     export OS_USERNAME="admin"     # Openstack Tenant ID = 50b7fd69e4fa406e80c6637e88524a3b     export OS_TENANT_NAME="admin"     export OS_AUTH_URL="http://10.0.2.15:35357/v2.0"     export EC2_CERT="/home/stack/devstack/accrc/admin/admin-cert.pem"     export EC2_PRIVATE_KEY="/home/stack/devstack/accrc/admin/admin-pk.pem"     export EC2_USER_ID=42 #not checked by nova (can be a 12-digit id)     export EUCALYPTUS_CERT="/home/stack/devstack/accrc/cacert.pem"     export NOVA_CERT="/home/stack/devstack/accrc/cacert.pem"     export OS_PASSWORD="password" .

    stack@stackBox:~/devstack$ ceilometer --debug meter-list     DEBUG (session:192) REQ: curl -i -X POST http://10.0.2.15:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "password"}}}'     INFO (connectionpool:171) Starting new HTTP connection (1): 10.0.2.15     DEBUG (connectionpool:344) "POST /v2.0/tokens HTTP/1.1" 200 9424     DEBUG (session:232) RESP: [200] CaseInsensitiveDict({'date': 'Wed, 19 Mar 2014 06:50:30 GMT', 'vary': 'X-Auth-Token', 'content-length': '9424', 'content-type': 'application/json'})     RESP BODY: {"access": {"token": {"issued_at": "2014-03-19T06:50:30.815344", "expires": "2014-03-20T06:50:30Z", "id": "MIIQiAYJKoZIhvcNAQcCoIIQeTCCEHUCAQExCTAHBgUrDgMCGjCCDt4GCSqGSIb3DQEHAaCCDs8Egg7LeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMy0xOVQwNjo1MDozMC44MTUzNDQiLCAiZXhwaXJlcyI6ICIyMDE0LTAzLTIwVDA2OjUwOjMwWiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiNTBiN2ZkNjllNGZhNDA2ZTgwYzY2MzdlODg1MjRhM2IiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjAuMi4xNTo4Nzc0L3YyLzUwYjdmZDY5ZTRmYTQwNmU4MGM2NjM3ZTg4NTI0YTNiIiwgInJlZ2lvbiI6ICJSZWdpb25PbmUiLCAiaW50ZXJuYWxVUkwiOiAiaHR0cDovLzEwLjAuMi4xNTo4Nzc0L3YyLzUwYj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bGlua3MiOiBbXSwgImlkIjogImU2ZDU3ODM1YjkxYTQwMWQ5NGNhNTNhZGNhYzlhNDM4IiwgInJvbGVzIjogW3sibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAiYWRtaW4ifSwgIm1ldGFkYXRhIjogeyJpc19hZG1pbiI6IDAsICJyb2xlcyI6IFsiNjhmYWE2M2QyYWUxNDMxN2JiYzE5MzdlZWJjYjA2MGUiXX19fTGCAYEwggF9AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgMBVVuc2V0MQ4wDAYDVQQHDAVVbnNldDEOMAwGA1UECgwFVW5zZXQxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASCAQBx8lq8FyKjht20PfN0cD6v0JnyfNaFu38xLQppy+LeuAUSZFlxsEMStMLyjAcEuSOz7898WgycYAXbr+d25bE287SNDVGjkSIf3amPSvQTNA0ILzjkUF2ij8WaorNIjwMrxneGnD1j1mux3+I73iegtRSJPBkYLf9kfh3iBU+zg0JrodCspwGae63IsWC0hJu4PqYs3sxBirZyDIvvxOTnQGKsbNvEOhe-txxdj+yJjZl56Mrsj6MyMIWVLUKBuMpuLgzoLEivwWRARVolZeFffBQ-hDsFdmGR9cviEl-yWfyVergtr9mdIKUUoPMpxS+TTff5HSZNGbywAHclpAnS", "tenant": {"description": null, "enabled": true, "id": "50b7fd69e4fa406e80c6637e88524a3b", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.0.2.15:8774/v2/50b7fd69e4fa406e80c6637e88524a3b", "region": "RegionOne", "internalURL": "http://10.0.2.15:8774/v2/50b7fd69e4fa406e80c6637e88524a3b", "id": "21d3fe09fcb645238485f992ae1f14a0", "publicURL": "http://10.0.2.15:8774/v2/50b7fd69e4fa406e80c6637e88524a3b"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.0.2.15:9696/", "region": "RegionOne", "internalURL": "http://10.0.2.15:9696/", "id": "054b7d17c6bc4d7bb3b0680688bb83d5", "publicURL": "http://10.0.2.15:9696/"}], "endpoints_links": [], "type": "network", "name": "neutron"}, {"endpoints": [{"adminURL": "http://10.0.2.15:8776/v2/50b7fd69e4fa406e80c6637e88524a3b", "region": "RegionOne", "internalURL": "http://10.0.2.15:8776/v2/50b7fd69e4fa406e80c6637e88524a3b", "id": "55336b2ab75b4a4ba8ed593a931d0320", "publicURL": "http://10.0.2.15:8776/v2/50b7fd69e4fa406e80c6637e88524a3b"}], "endpoints_links": [], "type": "volumev2", "name": "cinder"}, {"endpoints": [{"adminURL": "http://10 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2014-03-25 04:25:53 -0600

ZhiQiang Fan gravatar image

export no_proxy="$no_proxy 10.0.2.15"

edit flag offensive delete link more
0

answered 2014-03-31 15:41:00 -0600

bena gravatar image

I have the same error when I run ceilometer alarm-list. I tested with export no_proxy=...... but is not working.

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

Stats

Asked: 2014-03-19 23:48:23 -0600

Seen: 870 times

Last updated: Mar 31 '14