learma 的档案 - activity

2015-06-26 03:47:28 -0600 获得奖牌  分类学者
2015-01-29 09:36:59 -0600 获得奖牌  著名问题 (source)
2015-01-22 00:37:01 -0600 获得奖牌  热门的问题 (source)
2015-01-19 01:26:28 -0600 获得奖牌  受欢迎的问题 (source)
2015-01-18 22:32:49 -0600 评论问题 Sahara install problem

OK, i found that I don't know how to modify this file correctly, here is my conf ,http://paste.openstack.org/show/158743/

2015-01-18 20:16:23 -0600 问了问题 Sahara install problem

Hey , bothered again! I have installed juno with rdo-allinone in my own CentOS 7 computer successfully. But when I try to install sahara, I met some problem. Here is the steps I have done:

yum install openstack-sahara

after this installed, I run sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head' and came out

Traceback (most recent call last):
  File "/usr/bin/sahara-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 110, in main
    CONF.command.func(config, CONF.command.name)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 49, in do_upgrade_downgrade
    do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/cli.py", line 30, in do_alembic_command
    getattr(alembic_cmd, cmd)(config, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/alembic/command.py", line 125, in upgrade
    script.run_env()
  File "/usr/lib/python2.7/site-packages/alembic/script.py", line 203, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/usr/lib/python2.7/site-packages/alembic/util.py", line 212, in load_python_file
    module = load_module_py(module_id, path)
  File "/usr/lib/python2.7/site-packages/alembic/compat.py", line 58, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 95, in <module>
    run_migrations_online()
  File "/usr/lib/python2.7/site-packages/sahara/db/migration/alembic_migrations/env.py", line 79, in run_migrations_online
    poolclass=pool.NullPool)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 346, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 51, in create
    dialect_cls = u.get_dialect()
AttributeError: 'NoneType' object has no attribute 'get_dialect'
`

I don't know what's wrong with my settings. Can you help me?

2014-12-23 01:03:53 -0600 获得奖牌  著名问题 (source)
2014-12-03 20:13:48 -0600 获得奖牌  热门的问题 (source)
2014-12-01 14:59:55 -0600 获得奖牌  著名问题 (source)
2014-11-27 03:35:57 -0600 获得奖牌  著名问题 (source)
2014-11-25 16:49:08 -0600 获得奖牌  受欢迎的问题 (source)
2014-11-25 15:52:09 -0600 获得奖牌  热门的问题 (source)
2014-11-18 13:20:10 -0600 获得奖牌  受欢迎的问题 (source)
2014-11-18 03:21:19 -0600 回答问题 juno could not associate floating-ip, No ports available

Sorry, I have solved this problem.I should recreate the private net in the demo user. But a new problem happens, I can not connected to the floating ips. When i ping it, shows host unreachable.

2014-11-18 02:37:07 -0600 问了问题 juno could not associate floating-ip, No ports available

Hi, Today, I reinstalled openstack juno in a single node followed by Quickstart with existing network. I launched an instance successfully. But when I try to associate a floating-ip to this instance, it says no ports available! image description And I found that the interface of the external network of router 's status is "DOWN". I don't know does this matter. I try to associate floating-ip in command line. Here is the process:

[root@juno1 ~(keystone_demo)]# neutron floatingip-list 
+--------------------------------------+------------------+---------------------+---------+
| id                                   | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+---------+
| 6c900b76-52bd-49fc-88ca-009dccfaeeac |                  | 10.200.45.231       |         |
| 9193a65b-5bd7-490d-9813-e6e613b0973e |                  | 10.200.45.225       |         |
| e0350ad6-3400-4a1b-8f0f-03f2bb8e3e5a |                  | 10.200.45.230       |         |
+--------------------------------------+------------------+---------------------+---------+
[root@juno1 ~(keystone_demo)]# neutron port-list
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                              |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
| 2ced10e9-c49b-40fe-8f9b-85103c9c395c |      | fa:16:3e:94:e8:e0 | {"subnet_id": "6c379b2e-2ced-4117-a82d-159c761f1b53", "ip_address": "192.168.100.228"} |
| 87a8974c-70a0-4b68-bc8d-8851cc533553 |      | fa:16:3e:0e:cf:46 | {"subnet_id": "6c379b2e-2ced-4117-a82d-159c761f1b53", "ip_address": "192.168.100.227"} |
| f665b2b1-8920-43a2-be13-f49b7969de6d |      | fa:16:3e:73:f8:ba | {"subnet_id": "6c379b2e-2ced-4117-a82d-159c761f1b53", "ip_address": "192.168.100.229"} |
+--------------------------------------+------+-------------------+----------------------------------------------------------------------------------------+
[root@juno1 ~(keystone_demo)]# neutron floatingip-associate --fixed-ip-address 192.168.100.228 e0350ad6-3400-4a1b-8f0f-03f2bb8e3e5a  2ced10e9-c49b-40fe-8f9b-85103c9c395c
Associated floating IP e0350ad6-3400-4a1b-8f0f-03f2bb8e3e5a

This make the fixed ip and floating ip mapped. However, I can not ping to the actual floating ip. That results in the host is unreachable. I don't know what's wrong with my installation. Bellow is the steps I do to create the public and private network. (my ip is 10.200.45.135, gateway is 10.200.45.254)

neutron router-gateway-clear router1
neutron subnet-delete public_subnet
neutron net-delete public
neutron router-interface-delete router1 private_subnet
neutron subnet-delete private_subnet
neutron net-delete private
neutron router-delete router1

neutron router-create router1
neutron net-create private
neutron subnet-create --name private_subnet private 192.168.100.0/24 --allocation-pool start=192.168.100.224,end=192.168.100.254
neutron router-interface-add router1 private_subnet

neutron net-create public --router:external=True
neutron subnet-create public 10.200.45.135/24 --name public_subnet --enable_dhcp=False --allocation-pool start=10.200.45.224,end=10.200.45.244 --gateway=10.200.45.254
neutron router-gateway-set router1 public

Is there something wrong under my network creation?

2014-11-14 03:53:34 -0600 获得奖牌  热门的问题 (source)
2014-11-14 03:34:41 -0600 评论问题 juno vm stuck at spawning state

WARNING nova.compute.manager [req-c3e07499-bb11-46e1-8703-e437a9faf03e None] While synchronizing instance power states, found 2 instances in the database and 0 instances on the hypervisor. Sorry, I found this warning in compute.log

2014-11-14 02:58:32 -0600 评论问题 juno vm stuck at spawning state

I hava uploaded the nova-compute.log and scheduler.log. Hope helpful! and the rabbitmq-server is running.

2014-11-14 02:54:11 -0600 获得奖牌  编辑 (source)
2014-11-14 01:49:32 -0600 获得奖牌  受欢迎的问题 (source)
2014-11-14 00:10:50 -0600 获得奖牌  学生 (source)
2014-11-13 23:05:24 -0600 问了问题 juno vm stuck at spawning state

I use rdo allinone to install juno in a virtual machine of vmware 9.0. However, when I complete the install, and try to lanch an instance, the instance is always in spawning state. I has stuck in this problem for a few days. I tryed to change the lib_virt to kvm or qemu, reinstall juno for a servel times, open debug mode of nova to check the log... But the problem still exists and there is not any error in log files. I am new in openstack, i try my best but i can not get enough information. So anyone can help me to solve this problem? Does the vmware i use do some matter? I can paste the log files if necessary.

Here is the nova-schedule.log

 2014-11-14 16:38:23.312 1286 DEBUG nova.openstack.common.periodic_task [-] Running periodic task SchedulerManager._expire_reservations run_periodic_tasks /usr/lib/python2.7/site-packages/nova/openstack/common/periodic_task.py:193
2014-11-14 16:38:23.388 1286 DEBUG nova.openstack.common.loopingcall [-] Dynamic looping call <bound method Service.periodic_tasks of <nova.service.Service object at 0x274c950>> sleeping for 19.50 seconds _inner /usr/lib/python2.7/site-packages/nova/openstack/common/loopingcall.py:132
2014-11-14 16:38:42.898 1286 DEBUG nova.openstack.common.periodic_task [-] Running periodic task SchedulerManager._run_periodic_tasks run_periodic_tasks /usr/lib/python2.7/site-packages/nova/openstack/common/periodic_task.py:193
2014-11-14 16:38:42.898 1286 DEBUG nova.openstack.common.loopingcall [-] Dynamic looping call <bound method Service.periodic_tasks of <nova.service.Service object at 0x274c950>> sleeping for 40.41 seconds _inner /usr/lib/python2.7/site-packages/nova/openstack/common/loopingcall.py:132
2014-11-14 16:39:09.750 1286 INFO oslo.messaging._drivers.impl_rabbit [req-ebdef350-1911-4017-9120-f88c59455cdf ] Connecting to AMQP server on 10.200.43.107:5672
2014-11-14 16:39:09.761 1286 INFO oslo.messaging._drivers.impl_rabbit [req-ebdef350-1911-4017-9120-f88c59455cdf ] Connected to AMQP server on 10.200.43.107:5672
2014-11-14 16:39:09.782 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Starting with 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:70
2014-11-14 16:39:09.783 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter RetryFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:88
2014-11-14 16:39:09.791 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter AvailabilityZoneFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:88
2014-11-14 16:39:09.791 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter RamFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:88
2014-11-14 16:39:09.792 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter ComputeFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:88
2014-11-14 16:39:09.792 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter ComputeCapabilitiesFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py:88
2014-11-14 16:39:09.792 1286 DEBUG nova.filters [req-ebdef350-1911-4017-9120-f88c59455cdf None] Filter ImagePropertiesFilter returned 1 host(s) get_filtered_objects /usr/lib/python2.7/site-packages/nova/filters.py ...
(more)
2014-11-13 23:05:23 -0600 问了问题 juno版本,vm一直处在孵化中状态

我是使用rdo的allinone安装的juno版本,将openstack部署在了我vmware9的一台Cetnos7的虚拟机上,由于我是新手,所以我完全按照quickstart的安装步骤,但是当我安装好后,启动虚拟机一直卡在孵化中这个状态,不能使用,看了论坛上的一些问题,可是没有找到一些好的解决办法。我的log文件里面也没有显示有什么ERROR,这让我非常的困惑,不知道有谁遇到了同样的问题,或者能够给我提供一个好的解决方法。第一次搭建openstack,还请多多指教。