发起问题

Will1994 的档案 - activity

2019-04-25 03:13:32 -0500 获得奖牌  著名问题 (source)
2019-04-25 03:13:32 -0500 获得奖牌  热门的问题 (source)
2019-04-25 03:13:32 -0500 获得奖牌  受欢迎的问题 (source)
2018-08-09 11:11:54 -0500 获得奖牌  受欢迎的问题 (source)
2018-08-09 11:11:54 -0500 获得奖牌  著名问题 (source)
2018-08-09 11:11:54 -0500 获得奖牌  热门的问题 (source)
2017-11-26 03:23:04 -0500 获得奖牌  著名问题 (source)
2017-11-26 03:23:04 -0500 获得奖牌  热门的问题 (source)
2017-04-22 21:43:47 -0500 获得奖牌  著名问题 (source)
2017-04-22 21:43:47 -0500 获得奖牌  热门的问题 (source)
2016-10-28 18:01:45 -0500 获得奖牌  著名问题 (source)
2016-10-06 12:40:46 -0500 获得奖牌  著名问题 (source)
2016-10-04 05:49:32 -0500 获得奖牌  著名问题 (source)
2016-10-04 05:49:32 -0500 获得奖牌  热门的问题 (source)
2016-09-08 01:38:31 -0500 回答问题 Requested volume exceeds quota, with 8 volumes in Dashboard

Why does 'nova quota-show --tenant ID' give different number of volumes, than 'openstack quota show ID', this causes my newly created projects and users not being able to provision VMs?

2016-09-07 09:38:18 -0500 问了问题 Requested volume exceeds quota, with 8 volumes in Dashboard

Hi, When I create projects with quotas configured, e.g. number volumes 8, and try to provision a VM, I get:

The requested instance cannot be launched. Requested volume exceeds quota: Available: 0, Requested: 1.

Does anyone know how to fix this? The project clearly has 8 volumes configured in the Quotas so I'm not sure why this pops up during 'Launch an instance'.

If I use the same user, from CLI, it works to create volumes. From Horizon it fails.

I'm using a user created with user role on the project and am on Liberty/CentOS7

It seems to me it is a bug in horizon, but I may be wrong. If I click all the way to the project's quota's and edit, then click Save without any changes, then it somehow works. There seems to be ACL gap in the GUI/DB?

Please advice! thx will

2016-08-25 08:05:50 -0500 获得奖牌  受欢迎的问题 (source)
2016-08-15 08:24:04 -0500 获得奖牌  受欢迎的问题 (source)
2016-08-15 04:58:28 -0500 获得奖牌  学生 (source)
2016-08-15 04:33:11 -0500 获得奖牌  热门的问题 (source)
2016-08-15 01:30:07 -0500 获得奖牌  受欢迎的问题 (source)
2016-08-14 11:00:04 -0500 问了问题 cURL call at the end of provisioning and deprovisioning

Hi list,

I wanted to make a cURL call once an instance provisioning finished, and also when an instance gets deprovisioned. I will make a http call to PowerDNS for registration and deregistration of A record.

Is there any way to run a common for an instance once it is finished provisioning and when it gets deprovisioned?

thx, will

2016-08-14 10:57:56 -0500 问了问题 DiskFilter Disabled - No valid host was found

Hello, I got Error, no valid host was found while trying to provision and I could in nova-scheduler.log see that the DiskFilter failed to find a compute host. My OS is CentOS7/ running Liberty.

If I'm not mistaken, it is a bug that DiskFilter checks space available on compute-host / partition even when I'm using iSCSI and RBD backends. The / is no way near full. https://bugs.launchpad.net/nova/+bug/1358566 (https://bugs.launchpad.net/nova/+bug/...)

Can anyone confirm whether it is fine to disable DiskFilter if I'm using iSCSI and RBD backend or would anything else brake? thx will

2016-08-14 10:56:23 -0500 问了问题 Liberty RabbitMQ and ZeroMQ

Hi everyone,

I see advice in replacing RabbitMQ with ZeroMQ. I've been running 2 clusters Liberty/CentOS7 with RabbitMQ now for while. The larger cluster consists of 3x Controllers and 4x Compute nodes. RabbitMQ is running is HA mode as per: http://docs.openstack.org/ha-guide/shared-messaging.html#configure-rabbitmq-for-ha-queues (http://docs.openstack.org/ha-guide/sh...).

I have several times experienced issue propagating through OpenStack Networking, Compute, Storage services boiling down to errors in RabbitMQ service. For instance, these seem to have happened after network or DC interrupts, the Rabbit service as not in a robust or reliable manner resumed working.

Here are some error examples:

=ERROR REPORT==== 7-Aug-2016::08:01:58 === Channel error on connection <0.6967.0> (192.168.2.14:34370 -> 192.168.2.12:5672, vhost: '/', user: 'openstack'), channel 1: operation basic.consume caused a channel exception not_found: "failed to perform operation on queue 'conductor_fanout_c0c8929ac9' in vhost '/' due to timeout"

=ERROR REPORT==== 10-Aug-2016::12:43:31 === closing AMQP connection <0.2363.0> (192.168.2.12:55846 -> 192.168.2.12:5672): missed heartbeats from client, timeout: 60s

etc..

I have thought of replacing RabbitMQ with ZeroMQ if that were to bring a more resilient MQ service for my OpenStack cluster. While reading about Rabbit vs. ZeroMQ I have found they've each got their strengths, RabbitMQ: good for Queue integrity, little slower, and Zero: simple, optimized for network transfer, no broker, de-centralized by design.

I would highly appreciate if anyone running ZeroMQ can advice on the experience in Production, or any issues experienced? Also if there are any links or resources on how to go about replacing RabbitMQ with Zero would be much appreciated.

thx,will

2016-08-14 10:42:26 -0500 获得奖牌  粉丝
2016-08-10 10:14:26 -0500 获得奖牌  热门的问题 (source)
2016-08-09 23:28:47 -0500 获得奖牌  编辑 (source)
2016-08-09 23:26:13 -0500 回答问题 Dashboard Change logo and brand

This still doesn't work for the top left corner logo, my image size is 2.2K, and when I log in, I can see in the source the path is: src="/dashboard/static/dashboard/img/logo.png"

but my custom.css is, see the first block

this is the cut and paste from the DashBoard custom.css

#cat custom.css 
# h1.brand a {
# background: url(../img/my_logo.png) top left no-repeat;
#}
#splash .login {
#background: url(../img/my_logo_splash.png) no-repeat center 35px;
#}
2016-08-09 21:55:20 -0500 获得奖牌  受欢迎的问题 (source)
2016-08-09 04:23:34 -0500 问了问题 Dashboard Change logo and brand

Hi everyone! I've tried to change logotype, both logo-splash.png and logo.png on the default theme following instructions here: http://docs.openstack.org/liberty/con...

My custom.css looks like:

#$ cat custom.css 
# h1.brand a {
# background: url(../img/my_logo.png) top left no-repeat;
# }
#splash .login {
# background: url(../img/my_logo_splash.png) no-repeat center 35px;
# }

The Splash logo works on the dashboard, but the brand, smaller top left logo after login doesn't. Can anyone pls advice on how to get logo.png working with the CSS?

2016-07-30 10:43:48 -0500 回答问题 DiscoveryFailure: Could not determine a suitable URL for the plugin

I found a typo for auth_url in nova.conf [neutron] that caused this!

2016-07-30 10:17:00 -0500 问了问题 DiscoveryFailure: Could not determine a suitable URL for the plugin

I get this error on centos 7 and liberty when I try to boot a small vm. Anyone who can share what may be causing this? thanks!

$ nova boot --image Cirros --flavor m1.tiny --nic net-id=e8e69f4d-d650-4f08-1252-bd8adfc192cb \ --security-group default --key-name mykey myinstance

ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'keystoneclient.exceptions.discoveryfailure'=""> (HTTP 500) (Request-ID: req-1343e5c3-62d3-4818-a7fb-26f5c61da381)

NOVA-API.LOG ON CONTROLLER

2016-07-30 23:05:11.678 3358 WARNING oslo_config.cfg [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Option "username" from group "neutron" is deprecated. Use option "user-name" from group "neutron". 2016-07-30 23:05:11.703 3358 WARNING keystoneclient.auth.identity.generic.base [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions [req-1343e5c3-62d3-4818-a7fb-26f5c61da381 f722963394d74760947e297bd1f7e794 03f3af397b254c1980f51cf41a9503ee - - -] Unexpected exception in API method 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return f(args, kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions *create_kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions rv = f(args, *kwargs) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1587, in create 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1187, in _create_instance 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 961, in _validate_and_build_base_options 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions pci_request_info, requested_networks) 2016-07-30 23:05:11.704 3358 ERROR nova.api.openstack.extensions File "/usr/lib/python2 ... (more)

2016-07-29 01:17:32 -0500 获得奖牌  受欢迎的问题 (source)
2016-07-28 04:21:36 -0500 获得奖牌  受欢迎的问题 (source)
2016-07-28 04:21:36 -0500 获得奖牌  热门的问题 (source)
2016-07-26 04:43:20 -0500 问了问题 Windows could not finish configuring the system

Hi everyone! I'm on Liberty running CentOS7, when load the cloudbase.it Win2012R2 image to glance and boot, I get this error as per below: "Windows could not finish configuring the system, to attempt resume configuration, restart the system" restarting doesn't help.

https://ibin.co/2pNE5eMJgc4o.png (image description)

Can anyone pls advice how to fix this?

2016-07-09 10:50:48 -0500 问了问题 Rabbit DuplicateMessageError: Found duplicate message in linuxbridge-agent.log

My provisioning has stopped working, and I get VM in ERROR state when trying to nova boot. This is on CentOS7/Liberty release. I can see errors in nova-compute.log that seem to lead to neutron node. Please see paste below. Any advice is appreciated. Will

  • I have tried,

sudo rabbitmqctl set_permissions openstack "." "." ".*" and restarting my services

  • sysctl fs.file-nr; fs.file-nr = 1640 0 512000

  • credentials for connecting to the rabbitmq-server are verified

Here's what linuxbridge-agent.log gives me.

2016-07-09 21:40:20.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is 40fe65b38a224bbcb33c50ccdebc5608 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:40:50.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is 06a51d4a50ac4416a13539c77d9e8950 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:41:20.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is 9bd0c30003be453193f61651ba49bd61 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:41:44.966 13342 DEBUG neutron.api.rpc.handlers.securitygroups_rpc [req-87aa6381-7219-410a-be0f-de0d80356d03 d84d4968ea8a4be0b20ab20b3e2983da 6c045e0b25ff4e0a8bf69f095dfa617d - - -] Security group member updated on remote: [u'da59a493-0a90-4fa0-a1e5-d67f01c5a212'] security_groups_member_updated /usr/lib/python2.7/site-packages/neutron/api/rpc/handlers/securitygroups_rpc.py:212 2016-07-09 21:41:44.966 13342 INFO neutron.agent.securitygroups_rpc [req-87aa6381-7219-410a-be0f-de0d80356d03 d84d4968ea8a4be0b20ab20b3e2983da 6c045e0b25ff4e0a8bf69f095dfa617d - - -] Security group member updated [u'da59a493-0a90-4fa0-a1e5-d67f01c5a212'] 2016-07-09 21:41:50.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is e7e56f8b599d4573be779c686c7b5a0e _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:42:20.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is d4105f6ae4b044739f1e77bff3e4f2db _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:42:45.159 13342 DEBUG neutron.api.rpc.handlers.securitygroups_rpc [req-8206ab44-a3cc-4efd-a39e-2afb6109e898 5ced209373824879a71109123733de43 f60a9b7a639c4594a4854ef4589ae68f - - -] Security group member updated on remote: [u'da59a493-0a90-4fa0-a1e5-d67f01c5a212'] security_groups_member_updated /usr/lib/python2.7/site-packages/neutron/api/rpc/handlers/securitygroups_rpc.py:212 2016-07-09 21:42:45.159 13342 INFO neutron.agent.securitygroups_rpc [req-8206ab44-a3cc-4efd-a39e-2afb6109e898 5ced209373824879a71109123733de43 f60a9b7a639c4594a4854ef4589ae68f - - -] Security group member updated [u'da59a493-0a90-4fa0-a1e5-d67f01c5a212'] 2016-07-09 21:42:50.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is d4a1c7fef2c34faebb0de7fe5c6fa4f3 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:43:20.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is ab7538f3a30444a599d2bf6b1d32204d _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:43:50.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is 724437acc0a24cada39bd37466b7d79c _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:44:20.604 13342 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is c22eda6575c8434fb19b8be476ea13a5 _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:392 2016-07-09 21:44:45.731 13342 ERROR oslo.messaging._drivers.impl_rabbit [-] Failed to process message ... skipping it. 2016-07-09 21:44:45.731 13342 ERROR oslo.messaging._drivers.impl_rabbit Traceback (most recent call last): 2016-07-09 21:44:45.731 13342 ERROR oslo.messaging._drivers.impl_rabbit File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 267, in _callback 2016-07-09 21:44:45.731 13342 ERROR oslo.messaging._drivers.impl_rabbit self.callback(RabbitMessage(message)) 2016-07-09 21:44:45.731 13342 ERROR oslo.messaging._drivers.impl_rabbit File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py ... (more)

2016-07-08 12:18:04 -0500 获得奖牌  热门的问题 (source)
2016-07-04 19:58:21 -0500 获得奖牌  受欢迎的问题 (source)
2016-06-29 09:35:12 -0500 问了问题 Cirros VM cannot boot with fixed IP

I've a problem to get networking up in Cirros for a my VM, I successfully create network and subnet,

I've got stuck and I'm out of ideas, Please advice on how to get the network up.

neutron net-create ext-net --shared --provider:physical_network public --provider:network_type flat --router:external True

neutron subnet-create ext-net --name ext-subnet --allocation-pool start=192.168.2.180,end=192.168.2.190 --disable-dhcp --gateway 192.168.2.1 192.168.2.0/24; nova boot --flavor m1.tiny --image cirros --nic net-id=46f5797e-443a-4a3a-9069-6f4f98a83a2f,v4-fixed-ip=192.168.2.185 --security-group default --key-name mykey myinstance

nova list gives:

ca58a237-fd6f-4639-b75a-269594e1b007 | myinstance | ACTIVE | - | Running | ext-net=192.168.2.185

neutron net-show 46f5797e-443a-4a3a-9069-6f4f98a83a2f

+---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | id | 46f5797e-443a-4a3a-9069-6f4f98a83a2f | | mtu | 0 | | name | ext-net | | port_security_enabled | True | | provider:network_type | flat | | provider:physical_network | public | | provider:segmentation_id | | | router:external | True | | shared | True | | status | ACTIVE | | subnets | 5048910b-26c2-4a1d-aa5e-410259c2ca0f | | tenant_id | f60a9b7a639c4594a4854ef4589ae68f

neutron subnet-show 5048910b-26c2-4a1d-aa5e-410259c2ca0f +-------------------+----------------------------------------------------+ | Field | Value | +-------------------+----------------------------------------------------+ | allocation_pools | {"start": "192.168.2.180", "end": "192.168.2.190"} | | cidr | 192.168.2.0/24 | | dns_nameservers | | | enable_dhcp | False | | gateway_ip | 192.168.2.1 | | host_routes | | | id | 5048910b-26c2-4a1d-aa5e-410259c2ca0f | | ip_version | 4 | | ipv6_address_mode | | | ipv6_ra_mode | | | name | ext-subnet | | network_id | 46f5797e-443a-4a3a-9069-6f4f98a83a2f | | subnetpool_id | | | tenant_id | f60a9b7a639c4594a4854ef4589ae68f | +-------------------+----------------------------------------------------+

All my nova services, in nova service-list are up. The same goes for neutron-agent list. This is Liberty on CentOS7

3 Controllers

2 Networking nodes

4 Compute nodes

HA as per HA-Guide with HA-proxy

CIRROS CONSOLE OUTPUT

LX93W1dUhkZAR1aKTIRYfqBHFbnpmI86oo/9iNLKfIa8tWe8WF1UsGjp+R7pWf7CSFeym9IO4gAAAIBrutLwVcshECgCSHKGztG8dpnoC/+By30VVKorYridfuz4F8/5N75azv7ayFv8CYHL4FLsyZ0FWBm+NQv0BHzq+6cCMFx79GTT03bn/PQBsuwXNqj0fA5bBsgRvYOe9x+PFHjDZLZ2P7KEdCoL4Dll2vKoWXmDi7U1R+awT/hR/A== root@cirros -----END SSH HOST KEY KEYS----- === network info === if-info: lo,up,127.0.0.1,8,::1 if-info: eth0,up,,8,fe80::f816:3eff:fe4b:9ff2 === datasource: None None === === cirros: current=0.3.4 uptime=221.29 === route: fscanf === pinging gateway failed, debugging connection ===

###### debug start

/etc/init.d/sshd start

Starting dropbear sshd: OK route: fscanf

ifconfig -a

eth0 Link encap:Ethernet HWaddr FA:16:3E:4B:9F:F2
inet6 addr: fe80::f816:3eff:fe4b:9ff2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:395 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:27378 (26.7 KiB) TX bytes:1132 (1.1 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B)

route -n

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface route: fscanf

cat /etc/resolv.conf

cat: can't open '/etc/resolv.conf': No such file or directory

gateway not found

/sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file

pinging nameservers

uname -a

Linux cirros 3.2.0-80-virtual #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 x86_64 ... (more)