发起问题

lafada 的档案 - activity

2016-09-06 05:14:28 -0600 获得奖牌  著名问题 (source)
2016-09-06 05:14:28 -0600 获得奖牌  热门的问题 (source)
2016-06-20 09:15:21 -0600 修改问题 cannot launch new vnf

I've created a VNFD but I am getting the following erreor when I try to launch new VNF:

2016-06-20 10:02:20.514 11269 ERROR root [-] Original exception being dropped: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 298, in _create_device\n    context=context, device=device_dict)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/driver_manager.py", line 75, in invoke\n    return getattr(driver, method_name)(**kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n    return method(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 258, in create\n    template_dict)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/common/log.py", line 34, in wrapper\n    return method(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/tacker/vm/drivers/heat/heat.py", line 191, in _process_vdu_network_interfaces\n    if network_param.pop(\'management\', False):\n', "AttributeError: 'str' object has no attribute 'pop'\n"]
2016-06-20 10:02:20.514 11269 ERROR tacker.api.v1.resource [req-8637df38-bc28-40aa-bd6b-6a69a0d61f71 None] create failed
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource Traceback (most recent call last):
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/api/v1/resource.py", line 87, in resource
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     result = method(request=request, **args)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/api/v1/base.py", line 398, in create
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     obj = obj_creator(request.context, **kwargs)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 665, in create_vnf
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     vnf_dict = self.create_device(context, vnf)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 312, in create_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     device_dict = self._create_device(context, device)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 301, in _create_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self.delete_device(context, device_id)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/vm/plugin.py", line 408, in delete_device
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     self._delete_device_post(context, device_id, e)
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource   File "/usr/lib/python2.7/dist-packages/tacker/openstack/common/excutils.py", line 82, in __exit__
2016-06-20 10:02:20.514 11269 TRACE tacker.api.v1.resource     six.reraise(self.type_, self.value, self.tb)
2016-06-20 10:02:20.514 11269 TRACE tacker.api ...
(more)
2016-05-31 12:46:37 -0600 问了问题 Sanitized input for subprocess with shell=True in python

I have python script, which has code.

...
...
p = subprocess.Popen(cmd,
                     stdout=subprocess.PIPE,
                     stderr=subprocess.PIPE,
                     shell=True)
output, error = p.communicate()
...
...

When I run bandit it gives error.

>> Issue: [B602:subprocess_popen_with_shell_equals_true] subprocess call with shell=True identified, security issue.
   Severity: High   Confidence: High
   Location: mypackage/myfile.py:123
123                                          stderr=subprocess.PIPE,
124                                          shell=True)
125                     output, error = p.communicate()

Then I do some google, and found that, I have to sanitized my input and with shlex.split and shlex.quote I can sanitize it.

I changed my code to.

...
...
p = subprocess.Popen(shlex.split(shlex.quote(cmd)),
                     stdout=subprocess.PIPE,
                     stderr=subprocess.PIPE,
                     shell=True)
output, error = p.communicate()
...
...

But still I get same error, is there any way to remove this error when run bandit -r mypackage/myfile.py

2016-04-28 15:11:44 -0600 获得奖牌  受欢迎的问题 (source)
2016-04-25 15:28:29 -0600 问了问题 Remove devstack dependencies Ununtu 14.04 (32 Bit Dell Lattitude 5500)

I installed devstack in my old laptop.

After installation when I try to access OpenStack, my laptop become very slow. Then I realize, that laptop has only 2 GB RAM :(.

I ran unstack.sh and delete devstack folder (with virtualenv).

Next day, when I start my laptop again, it is just flashing lights on keyboard and not able to start.

I tried to see log by alt + F2 when start booting, an I figure out, it giving error for some KVM execution and stops working.

I want to know that, is there any way to remove all dependency installed by devstack ?

2015-10-12 00:28:35 -0600 获得奖牌  著名问题 (source)
2015-10-05 07:40:30 -0600 问了问题 Authorization error not translated in Accept-Language

I am trying to use Accept-Language header to get data in specific language.

When I give wrong token, it return data in english only.

curl -i --insecure -X GET https://localhost:8774/v2/0ad5f13fcf0549a1b99a659a766a78c8/servers/detail -H "Accept: application/json" -H "X-Auth-Token: f122ca695d1d43d3a46c7c67b2b" -H "Accept-Language: zh-CN"
HTTP/1.1 401 Unauthorized
Www-Authenticate: Keystone uri='http://localhost:5000/v2.0'
Content-Type: text/plain
X-Compute-Request-Id: req-176940b4-9baf-4cd7-80d2-a20bce654b2e
Content-Length: 23
Date: Mon, 05 Oct 2015 12:33:48 GMT

Authentication required

Last message Authentication required is in English, it should be in Accept-Language.

2015-10-01 08:44:23 -0600 获得奖牌  著名问题 (source)
2015-09-16 05:36:41 -0600 评论问题 noVNC console on Openstack Dashboard is rendering garbled UI on rhel7

I am also facing same problem, please update your question if you get answer, thanks for your help in advance :)

2015-05-31 20:15:53 -0600 获得奖牌  热门的问题 (source)
2015-05-30 09:36:27 -0600 获得奖牌  受欢迎的问题 (source)
2015-05-29 02:31:32 -0600 问了问题 nova hypervisor show give overcommit data

I am using Openstack JUNO, one of the ESX Cluster in my node is giving overcommit data in nova hypervisor-show command.

root@localhost:~# nova hypervisor-show 2
+---------------------------+-----------------------------------------------+
| Property                  | Value                                         |
+---------------------------+-----------------------------------------------+
| cpu_info_model            | ["Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz"] |
| cpu_info_topology_cores   | 16                                            |
| cpu_info_topology_threads | 32                                            |
| cpu_info_vendor           | ["XX"]                                        |
| current_workload          | 0                                             |
| disk_available_least      | -                                             |
| free_disk_gb              | -801                                          |
| free_ram_mb               | 120016                                        |
| host_ip                   | X.X.X.X                                       |
| hypervisor_hostname       | My-Cluster                                    |
| hypervisor_type           | VMware vCenter Server                         |
| hypervisor_version        | 5005000                                       |
| id                        | 23                                            |
| local_gb                  | 499                                           |
| local_gb_used             | 1300                                          |
| memory_mb                 | 253136                                        |
| memory_mb_used            | 133120                                        |
| running_vms               | 35                                            |
| service_disabled_reason   | -                                             |
| service_host              | test-vcenter                                  |
| service_id                | 56                                            |
| state                     | up                                            |
| status                    | enabled                                       |
| vcpus                     | 32                                            |
| vcpus_used                | 65                                            |
+---------------------------+-----------------------------------------------+

I can see, vcpu is 32 and vcpu_used is 65, how this overcommit data store in nova?

I gave cpu ration as 10.0, but as per my understanding, this ratio used by nova-scheduler to spanwn vm on particular host.

2015-04-21 00:24:41 -0600 获得奖牌  著名问题 (source)
2015-03-31 18:12:00 -0600 获得奖牌  受欢迎的问题 (source)
2015-03-31 18:12:00 -0600 获得奖牌  热门的问题 (source)
2015-01-24 00:50:43 -0600 获得奖牌  受欢迎的问题 (source)
2015-01-21 03:15:59 -0600 获得奖牌  热门的问题 (source)
2015-01-19 20:52:05 -0600 问了问题 Where to add blueprint for new proposed idea

I have idea about some new things in Openstak. Its not related to nova, keystone, glance etc...

This might be new project, where can I submit blueprint for this new proposal.

I checked Blueprints Wiki but it suggest only for existing projects.

2014-12-19 14:04:45 -0600 获得奖牌  受欢迎的问题 (source)
2014-12-19 14:04:45 -0600 获得奖牌  热门的问题 (source)
2014-12-19 14:04:45 -0600 获得奖牌  著名问题 (source)
2014-12-02 15:59:24 -0600 获得奖牌  著名问题 (source)
2014-12-02 00:44:27 -0600 修改问题 Are the error notifications send in case of network creation fails?

In case the network creation fails(due to bad gateway details) through horizon, the notifications we receive are the following.

  1. network.create.start
  2. network.create.end
  3. subnet.create.start
  4. network.delete.start
  5. network.delete.end

Can we configure the oslo to receive the error notifications as well ?

2014-12-02 00:42:04 -0600 评论问题 Are the error notifications send in case of network creation fails?

Have you got solution?

2014-12-02 00:41:20 -0600 问了问题 how to check module is running for testing

I have OpenStack horizon plugins, I want to import one module if it run under horizon's run_test.sh command.

Is there any variable set by run_test.sh which we can check in module and import our module if it run as run_test.sh

2014-11-11 11:53:05 -0600 获得奖牌  受欢迎的问题 (source)
2014-11-07 02:38:51 -0600 获得奖牌  受欢迎的问题 (source)
2014-11-06 08:06:41 -0600 问了问题 how to create availability zone in horizon

I want to create availability zone using Horizon UI.

I checked but didnt get menu or page where I can create zone.

2014-11-06 01:40:51 -0600 问了问题 upstart fail to run service and not able to debug

I am using os-svc-daemon to create my upstart service for openstack project.

my upstart job config is as below

File : /etc/init/myservice.conf

start on runlevel [2345]
stop on runlevel [016]


env OS_SVC_ENABLE_CONTROL=1
export OS_SVC_ENABLE_CONTROL

pre-start script
  mkdir -p /var/run/myservice
  chown -R root:root /var/run/myservice
end script

respawn
# the default post-start of 1 second sleep delays respawning enough to
# not hit the default of 10 times in 5 seconds. Make it 2 times in 5s.
respawn limit 2 5

exec start-stop-daemon --start -c root --exec /opt/stack/venvs/openstack/bin/myservice --

post-start exec sleep 1

This service run as root user.

If i run start-stop-daemon --start -c root --exec /opt/stack/venvs/openstack/bin/myservice then its working fine.

But when I check status using

~# initctl start myservice
myservice stop/starting

~# initctl status myservice
myservice stop/waiting

I also tried Debuging

start on runlevel [2345]
stop on runlevel [016]


env OS_SVC_ENABLE_CONTROL=1
export OS_SVC_ENABLE_CONTROL

pre-start script      
  mkdir -p /var/run/myservice
  chown -R root:root /var/run/myservice
end script

script
  echo "DEBUG: `set`" >> /tmp/myjob.log

  # rest of script follows...
end script    

respawn
# the default post-start of 1 second sleep delays respawning enough to
# not hit the default of 10 times in 5 seconds. Make it 2 times in 5s.
respawn limit 2 5

exec start-stop-daemon --start -c root --exec /opt/stack/venvs/openstack/bin/myservice --

post-start exec sleep 1

But it's not create file in /tmp

2014-10-31 06:04:37 -0600 获得奖牌  热门的问题 (source)
2014-10-31 06:04:37 -0600 获得奖牌  著名问题 (source)
2014-10-31 06:02:22 -0600 修改问题 Installation of Trove and Sahara

Hi, is there a different way to install Trove and Sahare on RDO Juno (Centos7), than the "manual" like: http://docs.openstack.org/icehouse/in... ??

In /usr/share/openstack-puppet/modules exists the module for Sahara, but non for Trove.

Packstack hasn't got parameters/flags for Trove and Sahara.

Thanks

Walter

2014-10-31 05:54:47 -0600 问了问题 how os-svc-enable create upstart job file

I used tripleo for config nova-api. It will create upstart job to run nova-api service.

I want to change upstart job for nova-api.

I want to know is there any template to create upstart job config file?

I checked code and seems os-svc-enable script create job.

# File : tripleo-image-elements / elements / nova-api / os-refresh-config / post-configure.d / 80-nova-api
...
...
os-svc-enable -n nova-api
...
...

When I check os-svc-enable script it calls os-svc-enable-upstart with service name and action.

# File : tripleo-image-elements / elements / os-svc-install / bin / os-svc-enable
...
...
function enable_upstart_service() {
    local name="$1"
    os-svc-enable-upstart "$name" enable
}
...
...

I checked os-svc-enable-upstart script for is there any template reference.

but i didnt get any help from their.

2014-10-01 16:51:58 -0600 获得奖牌  热门的问题 (source)
2014-09-21 12:07:47 -0600 获得奖牌  受欢迎的问题 (source)
2014-09-20 07:42:46 -0600 评论回答 Error 16: Inconsistent filesystem structure while spawning VM using CentOS

This is answer or comment?

2014-09-18 05:21:24 -0600 修改问题 error when running "Ceilometer resource list " by admin user

Hi everybody,

I'm using Openstack release "havana" installed using RDO packstack.

Ceilometer version:strong text

python-ceilometer-2013.2.1-1.el6.noarch
openstack-ceilometer-collector-2013.2.1-1.el6.noarch
openstack-ceilometer-common-2013.2.1-1.el6.noarch
openstack-ceilometer-api-2013.2.1-1.el6.noarch
python-ceilometerclient-1.0.8-1.el6.noarch
openstack-ceilometer-central-2013.2.1-1.el6.noarch

Mongodb version:

mongodb-2.4.6-1.el6.x86_64
mongodb-server-2.4.6-1.el6.x86_64
python-pymongo-2.5.2-3.el6.x86_64

When I run ceilometer --debug resource list by admin user I got this error The same error with dashboard and /var/log/ceilometer/api.log

DEBUG (http:121) 
HTTP/1.0 500 Internal Server Error
date: Thu, 18 Sep 2014 08:37:47 GMT
content-length: 708
content-type: application/json
server: WSGIServer/0.1 Python/2.6.6

{"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "command SON([('aggregate', u'meter'), ('pipeline', [{'$match': {}}, {'$sort': {'timestamp': -1, 'project_id': -1, 'user_id': -1}}, {'$group': {'meters_unit': {'$push': '$counter_unit'}, 'source': {'$first': '$source'}, 'project_id': {'$first': '$project_id'}, 'user_id': {'$first': '$user_id'}, 'last_sample_timestamp': {'$max': '$timestamp'}, 'meters_name': {'$push': '$counter_name'}, 'first_sample_timestamp': {'$min': '$timestamp'}, 'meters_type': {'$push': '$counter_type'}, '_id': '$resource_id', 'metadata': {'$first': '$resource_metadata'}}}])]) failed: exception: aggregation result exceeds maximum document size (16MB)"}}

WARNING (http:172) Request returned failure status.
HTTPInternalServerError (HTTP 500)

But when I run the same command with another user it works. Please help me to figure out and solve the problem considering my poor knowledge in mongodb.

Thank you

2014-09-17 00:06:40 -0600 修改问题 Problem when running command swift stat

getting error as below

HTTPConnectionPool(host='192.168.1.21', port=8080): Max retries exceeded with url: /v1/AUTH_6bd8c6d19f124c4badb593599a68a981 (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
2014-09-16 00:05:24 -0600 评论回答 Cannot ping from external network to floating IP of tenant router gateway

@jazzsir you cant post another question in answer section, please update your question with this information

2014-09-15 11:43:20 -0600 修改问题 failed to configure keystone

Hi all, I am trying to install openstack followed by link below: http://fedoraproject.org/wiki/Getting...

But I was stuck on the following steps: Configure the Keystone database, similar to how we do it for nova

$> sudo openstack-db --service keystone --init

Set up a keystonerc file with a generated admin token and various passwords:

$> cat > ./.keystonerc << _EOF
export ADMIN_TOKEN=$(openssl rand -hex 10)
export OS_USERNAME=admin
export OS_PASSWORD=verybadpass
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://127.0.0.1:5000/v2.0/
export SERVICE_ENDPOINT=http://127.0.0.1:35357/v2.0/
export SERVICE_TOKEN=\$ADMIN_TOKEN
_EOF
$>  ./.keystonerc

Here I modified keystonerc to be executable and run it, but when I ran "keystone user-list", it gave an error.

would somebody advise how can I fix this? Thanks

2014-09-15 11:42:46 -0600 评论问题 Devstack Single Machine Guide: IOError: [Errno 13] Permission denied: './worlddump-2014-09-15-081311.txt'

Will you please check permission of current directory? it must be stack:stack

2014-09-15 11:41:11 -0600 修改问题 neutron dhcp issues

We have installed Openstack with Neutron on Ubuntu 14.04, including 3 nodes: Controller,compute,network. It's working when I created the first 3 subnet; however, it is not working for the 4th, 5th subnet:


root@network:/var/log/neutron# neutron net-list
+--------------------------------------+-----------+-----------------------------------------------------+
| id                                   | name      | subnets                                             |
+--------------------------------------+-----------+-----------------------------------------------------+
| 064d9cc0-d760-45f0-88d5-a619b993ceea | demo-net  | 617b58b0-a417-4ced-a99c-15f6561d4c86 192.168.1.0/24 |
| 10ac84fa-2a2d-4f22-9f14-1e4296ff1de2 | zq-net    | af2e059e-513c-4da7-85c3-d5037bf2e8da 192.168.3.0/24 |
| 6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2 | ma-net | 68b23179-6bfe-4aae-af76-416813091fb4 192.168.2.0/24 |
| 88548550-bcda-43a7-a754-45a1b25467f5 | ext-net   | a8cf1ad5-7d28-478d-824f-24bd47f9bb2c 10.11.90.0/24  |
| 8a4ed74a-80fd-451b-9978-e7f6114342e8 | mtt-net   | 01023532-6254-48dc-af58-50a7d0cf445c 172.16.10.0/24 |
| b10fbab6-19fc-44ab-9754-13e48ed982f8 | ts-net   | 1ad65cbd-5680-4e50-b901-0de5fd4d92a9 192.168.4.0/24 |
+--------------

root@network:/var/log/neutron# ip netns
qrouter-5d1bf816-0faf-41c9-93cf-f0d55fade535
qrouter-83f00a66-c05e-4d99-b61f-08bc4fdbd52a
qrouter-bc4766c4-2e6a-47d9-920f-a8064d9dc992
qrouter-febfa164-1125-431d-a281-cd94eda3bdb6
qdhcp-6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2
qdhcp-10ac84fa-2a2d-4f22-9f14-1e4296ff1de2
qdhcp-064d9cc0-d760-45f0-88d5-a619b993ceea

root@network:/var/log/neutron# ps -ef|grep dns
libvirt+  2799     1  0 Aug18 ?        00:00:03 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
root      4453  1327  0 16:56 pts/0    00:00:00 grep --color=auto dns
nobody   16043     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap657a6777-2b --except-interface=lo --pid-file=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/host --addn-hosts=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/10ac84fa-2a2d-4f22-9f14-1e4296ff1de2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.3.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
nobody   16046     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tapec09b16c-71 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/host --addn-hosts=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/6b98c5f8-2bbf-4fbc-818c-6b73a825bbc2/opts --leasefile-ro --dhcp-range=set:tag0,192.168.2.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
nobody   16048     1  0 Sep04 ?        00:00:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap5e5b3d3a-a2 --except-interface=lo --pid-file=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/pid --dhcp-hostsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/host --addn-hosts=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/064d9cc0-d760-45f0-88d5-a619b993ceea/opts --leasefile-ro --dhcp-range=set:tag0,192.168.1.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal
root@network:/var/log/neutron#

Why we can't see the following when we executed: ip netns: qdhcp-8a4ed74a-80fd-451b-9978-e7f6114342e8 qdhcp-b10fbab6-19fc-44ab-9754-13e48ed982f8 why we can see the first 3 subnet qdhcp-uuid ?


Why we can't see the dnsmasq for the subnet 192.168.4.0/24 and 192.168.4.0/24 ? Why we can see the dnsmasq for the 3 first subnets ?

We tried to reboot the neutron service, it didn't help. Thanks.

2014-09-15 11:39:35 -0600 修改问题 Unable to create trove db instances from Dashboard

Hi Friends,

I am trying to integrate trove with Openstack Icehouse on Centos 6.5 using the following guide -> http://docs.openstack.org/icehouse/in... . Whenver I am click on the Database Instances on the Horizon Dashboard it results in an error. Once it worked but there was no option to select the Flavor or Volume Size under "Details" whereas options like Database name, user, hosts were available but could not launch the db.

Running trove flavor-list result in below error

trove flavor-list
ERROR: Internal Server Error. Please keep this ID to help us figure out what went wrong: (9cabf9f3-1e1e-4ed4-bb88-2be538f9ab20)

Horizon logs

RESP BODY: {"tenants_links": [], "tenants": [{"description": "default tenant", "enabled": true, "id": "2c44a987e331411c9a2f2b4d0cd3f691", "name": "demo"}, {"description": "Service Tenant", "enabled": true, "id": "b1ffc0d30bcd4c2aaa37a7ed43a860ec", "name": "service"}, {"description": "admin tenant", "enabled": true, "id": "d2780c405b5640829b547c96a1a75e80", "name": "admin"}]}

2014-09-15 11:58:45,614 2031 INFO openstack_dashboard.dashboards.project.database_backups.workflows.create_backup Obtaining list of instances.
2014-09-15 11:58:45,614 2031 DEBUG openstack_dashboard.api.trove troveclient connection created using token "f24c24c32fe1caa7979bd3242873464a" and url "http://172.16.10.205:8779/v1.0/d2780c405b5640829b547c96a1a75e80"
2014-09-15 11:58:59,305 2033 DEBUG openstack_dashboard.api.trove troveclient connection created using token "f24c24c32fe1caa7979bd3242873464a" and url "http://172.16.10.205:8779/v1.0/d2780c405b5640829b547c96a1a75e80"
2014-09-15 11:58:59,362 2033 DEBUG openstack_dashboard.api.trove troveclient connection created using token "f24c24c32fe1caa7979bd3242873464a" and url "http://172.16.10.205:8779/v1.0/d2780c405b5640829b547c96a1a75e80"
2014-09-15 11:58:59,390 2033 ERROR django.request Internal Server Error: /dashboard/project/databases/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 109, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 154, in get
    handled = self.construct_tables()
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 145, in construct_tables
    handled = self.handle_table(table)
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in handle_table
    data = self._get_data_dict()
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 181, in _get_data_dict
    self._data = {self.table_class._meta.name: self.get_data()}
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/databases/views.py", line 85, in get_data
    map(self._extra_data, instances)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/databases/views.py", line 67, in _extra_data
    flavor = self.get_flavors().get(instance.flavor ...
(more)
2014-09-14 11:45:35 -0600 修改问题 How to share files between different vlans

Hello everyone!

I have two vms A and B, A is in vlan1 and B is in vlan2, how to share files between A and B? Or is there a way that a vm(C) can both access A and B? How to configure it? Suppose A, B and C are in different compute node. Appricate for your answer! Thanks!

2014-09-14 11:44:18 -0600 修改问题 How do i associate mechanism_driver's name to the actual python module to be loaded by ml2?

I see some reference to setup.cfg where we can specify the mechanism_driver's name (used in ml2_conf.inf) to its corresponding module (.py and classname). But i dont see that setup.cfg in the Icehouse installation anywhere?... Should i create one by myself, if so what should be the path?

Appreciate your help.

Thanks!

2014-09-14 11:38:46 -0600 修改问题 Hi all please help me configure Vmware in openstack icehouse setup

Hi all please help me configure Vmware in openstack icehouse setup steps:

  1. installed controller in one machine
  2. installed KVM host in one machine and added in Icehouse setup after installing nova compute.
  3. Now i want to add Vmware in Icehouse setup

i did following taken one ubuntu machine from same ESX.In that machine i did following configuration in nova.conf

[DEFAULT]
compute_driver=vmwareapi.VMwareVCDriver
[vmware]
host_ip=vcenter_IP
host_username=VC username
host_password=VC password
cluster_name=clustername
wsdl_loc=http://127.0.0.1:8080/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl

in VimService.wsdl /var/lib/tomcat6/webapps/SDK/vsphere-ws/wsdl/vim25

<?xml version="1.0" encoding="UTF-8" ?>
<!--
   Copyright 2005-2012 VMware, Inc.  All rights reserved.
-->
<definitions targetNamespace="urn:vim25Service"
   xmlns="http://schemas.xmlsoap.org/wsdl/"
   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
   xmlns:interface="urn:vim25"
>
   <import location="vim.wsdl" namespace="urn:vim25" />
   <service name="VimService">
      <port binding="interface:VimBinding" name="VimPort">
         <soap:address location="https://VC_IP/sdk/vimService" />
      </port>
   </service>
</definitions>
2014-09-14 11:36:40 -0600 获得奖牌  评论员
2014-09-14 11:34:25 -0600 获得奖牌  批评家 (source)