发起问题

gsic-emic 的档案 - activity

2020-06-15 03:08:44 -0500 获得奖牌  受欢迎的问题 (source)
2020-06-10 05:40:36 -0500 评论问题 Configuration noVNC-based VNC console

I mean how configure ssl to access novnc via HTTPS. If I put that this doesn't works (previously I add the key and cert to nova.conf in controller node) novncproxy_base_url = https://controller:6080/vnc_auto.html Horizon doesn't show the console iframe because is a http content inside https page

2020-06-10 05:35:11 -0500 评论回答 [Horizon] unable to view vnc console in <iframe> with SSL

This doesn't work for me. I am using Ussuri version and /var/log/nova/nova-novncproxy.log shows:

INFO nova.console.websocketproxy [-] handler exception: wrap_socket() got an unexpected keyword argument '_context'
2020-06-10 03:35:32 -0500 评论问题 Configuration noVNC-based VNC console

Thanks, it works. The vnc console is accesible via the url configure in novncproxy_base_url (is http). The connection with QUEMU is unencrypted. How can I solve it? I would like to access via https to the vnc console Moreover the vnc console iframe in Horizon does not appear.

2020-06-09 04:35:12 -0500 问了问题 Configuration noVNC-based VNC console

Hello,

I am installing Openstack Ussuri and I have no idea how to configure novnc console. I have a controller node and a compute node.

The guides show this options:

In nova.conf (controller):

[vnc]
enabled = true
# ...
server_listen = $my_ip
server_proxyclient_address = $my_ip

In nova.conf (compute):

[vnc]
# ...
enabled = true
server_listen = 0.0.0.0
server_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

Besides, I read this page: https://docs.openstack.org/nova/ussur..., but I am totally stuck with this issue.

Could anyone help me with the nova config files and apache2 configuration in order to set up the console?

Thanks in advance

2020-05-02 18:58:59 -0500 获得奖牌  著名问题 (source)
2020-02-26 21:20:04 -0500 获得奖牌  著名问题 (source)
2020-02-21 07:26:10 -0500 评论问题 Timeout when reading response headers from daemon process 'placement-api': /usr/bin/placement-api

I can't view placement logs, I put in /etc/placement/placemen.conf but any file is generated:

[DEFAULT]
debug = true
log_file = /var/log/placement.log
2020-02-17 07:27:17 -0500 获得奖牌  热门的问题 (source)
2020-02-17 06:49:43 -0500 评论问题 Timeout when reading response headers from daemon process 'placement-api': /usr/bin/placement-api

I don't find any logs related to placement on the whole system except Apache generated ones. I'm following this documentation: https://docs.openstack.org/placement/...

2020-02-17 02:28:16 -0500 评论问题 Timeout when reading response headers from daemon process 'placement-api': /usr/bin/placement-api

Is not /var/log/apache2/placement_api_error.log the placement's log?

2020-02-17 02:26:24 -0500 获得奖牌  受欢迎的问题 (source)
2020-02-15 03:06:41 -0500 获得奖牌  著名问题 (source)
2020-02-14 07:28:30 -0500 问了问题 Timeout when reading response headers from daemon process 'placement-api': /usr/bin/placement-api

Hi,

I can't create instances in Openstack Train.

I've seen on my controller node the file /var/log/apache2/placement_api_error.log and it is full of this message: Timeout when reading response headers from daemon process 'placement-api': /usr/bin/placement-api

On my compute node, I've seen /var/log/nova/nova-compute.log :

    2020-02-14 13:51:17.613 2889 INFO nova.compute.manager [req-c3030fd1-a85b-41d2-9135-718e8f65abf2 - - - - -] Looking for unclaimed instances stuck in BUILDING status for nodes managed by this host 
    2020-02-14 13:56:17.741 2889 WARNING keystoneauth.discover [req-c3030fd1-a85b-41d2-9135-718e8f65abf2 - - - - -] Failed to contact the endpoint at http://controller:8778 for discovery. Fallback to using that endpoint as the base url. 
    2020-02-14 14:01:17.847 2889 ERROR nova.compute.manager [req-c3030fd1-a85b-41d2-9135-718e8f65abf2 - - - - -] Could not retrieve compute node resource provider 1644f654-4ac0-4d9f-b637-aba57efc69fe and therefore unable to error out any instances stuck in BUILDING state. Error: Failed to retrieve allocations for resource provider 1644f654-4ac0-4d9f-b637-aba57efc69fe: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>
<title>504 Gateway Timeout</title>
</head><body>
<h1>Gateway Timeout</h1>
<p>The gateway did not receive a timely response
from the upstream server or application.</p> 
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at controller Port 8778</address>
</body></html>
: nova.exception.ResourceProviderAllocationRetrievalFailed: Failed to retrieve allocations for resource provider 1644f654-4ac0-4d9f-b637-aba57efc69fe: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

Could anyone help me?

2020-02-13 03:31:55 -0500 回答问题 Flavors cpu_shares default value

On Linux, I've found this configuration in the file:

/sys/fs/cgroup/cpu,cpuacct/cpu.shares

Manual Linux

2020-02-13 03:28:59 -0500 获得奖牌  受欢迎的问题 (source)
2020-02-13 03:28:59 -0500 获得奖牌  热门的问题 (source)
2020-02-12 01:45:36 -0500 获得奖牌  粉丝
2020-02-11 05:19:22 -0500 问了问题 Flavors cpu_shares default value

Hello,

According to the nova documentation (pike version): cpu_shares: Specifies the proportional weighted share for the domain. If this element is omitted, the service defaults to the OS provided defaults.

How I can know the default value?

2019-07-22 01:01:11 -0500 获得奖牌  著名问题 (source)
2018-03-28 13:17:51 -0500 获得奖牌  热门的问题 (source)
2018-03-05 13:51:12 -0500 获得奖牌  著名问题 (source)
2018-02-13 15:17:58 -0500 获得奖牌  受欢迎的问题 (source)
2018-02-09 02:56:58 -0500 获得奖牌  热门的问题 (source)
2018-02-05 07:21:27 -0500 评论问题 glance swift backend pike ¿installguide or instructions?

Thank you very much :-)

2018-02-05 01:15:20 -0500 获得奖牌  受欢迎的问题 (source)
2018-02-02 05:08:24 -0500 问了问题 glance swift backend pike ¿installguide or instructions?

Hi,

I'm a user of OpenStack and newbie

I was looking for some guide or manual to use swift as backend of glance

Is there a guide or manual on how to carry out the procedure or changes in the configuration of glance. glance-api.conf glance-cache.conf and glance-registry.conf.?

At the moment the installation of glance I made it using the official guide of Pike for ubuntu.

https://docs.openstack.org/glance/pik...

Thank you very much in advance,

Regards,

2018-01-15 04:49:18 -0500 问了问题 keystone error apt-get upgrade packages version

Good Morning,

I wanted to comment on a problem that has happened to me several times ...

I had the OpenStack version "Newton" recently and I updated the OpenStack version "Pike", and all right until the keystone in the controller node did not work well for me as it told me in horizon:

"An error occurred authenticating. Please try again later."

In cli command line: Failed to discover available identity versions when contacting http: // controller: 35357 / v3. Attempting to parse version from URL. Internal Server Error (HTTP 500)

In the end I had to do a clean installation of the controller node.

But just a week ago I decided to update the packages because there were updates and bug fixes in some of them and the same error was shown again.

Horizon:

"An error occurred authenticating. Please try again later."

In cli command line:

Failed to discover available identity versions when contacting http: // controller: 35357 / v3. Attempting to parse version from URL. Internal Server Error (HTTP 500)

Does anyone know why something like this happens every time an apt-get upgrade is done?

Greetings and thanks in advance,

2018-01-12 19:22:42 -0500 获得奖牌  热门的问题 (source)
2018-01-09 16:20:14 -0500 获得奖牌  受欢迎的问题 (source)
2018-01-08 10:43:55 -0500 获得奖牌  组织者 (source)
2018-01-08 10:18:27 -0500 评论问题 neutron: Error, "AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=compute1.example.com could not be found", caused by 'l2population'

Good, I could see the problem, the truth is that I'm looking for help because I have a problem, similar if there was something, I share it without problem or if I discover something.

https://ask.openstack.org/en/question...

2018-01-08 07:09:49 -0500 问了问题 neutron-server high CPU usage L3 try find compute node agent. neutron: Error, "AgentNotFoundByTypeHost:

Hello everyone,

I ask this question, to see if someone can help me ...

I have a controller node and a compute node.

The controller node also acts as a network node. I have used the following installation guide, for ubuntu and Pike version.

https://docs.openstack.org/pike/install/

The problem is the following:

When someone performs simulations and in this case auto-scaling with heat 30 instances. After a while in the controller node the neutron-server service reaches almost 100% of CPU usage.

In that case there is a slowdown in the cloud and when launching instances.


To get back down CPU usage I have to restart the neutron-linuxbridge-agent service of the compute node. But before that I see that the following appears in the logs of the compute node.

ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 336, in treat_devices_removed
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     cfg.CONF.host)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/rpc.py", line 139, in update_device_down
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     agent_id=agent_id, host=host)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 162, in call
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return self._original_context.call(ctxt, method, **kwargs)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=self.retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in _send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     timeout=timeout, retry=retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 578, in send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     retry=retry)
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 569, in _send
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent     raise result
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent RemoteError: Remote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=urano could not be found
2017-12-30 10:33:38.088 1574 ERROR neutron.plugins.ml2.drivers.agent._common_agent [u'Traceback (most recent call last):\n', u'  File ...
(more)
2017-11-13 02:52:41 -0500 获得奖牌  著名问题 (source)
2017-11-10 04:48:12 -0500 回答问题 gnocchi ceilometer ubuntu pike

Hello again, I have been doing some checks and today I found that they have updated on yesterday 09/11/2017 the openstack guide for ubuntu 16.04 and the pike version in which they include how to install and configure gnocchi .

https://docs.openstack.org/ceilometer...

Anyway I realized that the user created gnocchi trying to add to the service project and role of admin I came to jump the errors of ceilometer-upgrade, all this with previous execution of both gnocchi-api and gnocchi-metricd. It is possible that the error I give you at http://paste.openstack.org/show/625930/ may come around but it depends on the configuration you have in gnocchi and ceilometer.


I have tried to install again ceilometer and gnocchi with the new openstack changes regarding the official guide.

https://docs.openstack.org/ceilometer...

I have managed to carry out all the steps, but there are some things that I have had to do in at least some. I still have some problem to solve.

"In the [storage] section, configure location to store metric data, in this case, we will store it to the local file system. See Gnocchi documentation for a list of more durable and performant drivers:"

[storage] coordination_url = redis: // controller: 6379 file_basepath = / var / lib / gnocchi driver = file

I was testing but at the time of executing the gnocchi-upgrade command I got connectivity errors with coordination_url.

It is necessary to install redis-server can be carried out with the command apt-get install redis-server without problem and have also installed the redis python module with pip install redis.

Then in /etc/redis/redis.conf I have changed the ip address set for the redis server (127.0.0.1) by the cloud management address of the controller.

I tried the gnocchi-upgrade command again and it did not return any errors.

Anyway, when I run the command "ceilometer-upgrade --skip-metering-database" it returns the following errors

WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 2017-11-10 11:55:18.934 5401 INFO ceilometer.cmd.storage [-] Skipping metering database upgrade 2017-11-10 11:55:19.859 5401 CRITICAL ceilometer [-] Unhandled error: Forbidden: <html><head> <title>403 Forbidden</title> </head><body> Forbidden

You don't have permission to access /v1/resource_type/ceph_account on this server.


Apache/2.4.18 (Ubuntu) Server at controller Port 8041
</body></html> (HTTP 403) 2017-11-10 11:55:19.859 5401 ERROR ceilometer Traceback (most recent call last): 2017-11-10 11:55:19.859 5401 ERROR ceilometer File "/usr/bin/ceilometer-upgrade", line 10, in <module> 2017-11-10 11:55:19.859 5401 ERROR ceilometer sys.exit(upgrade()) 2017-11-10 11:55:19.859 5401 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py", line 59, in upgrade 2017-11-10 11:55:19.859 5401 ERROR ceilometer gnocchi_client.upgrade_resource_types(conf) 2017-11-10 11:55:19.859 5401 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/gnocchi_client.py ... (more)