发起问题

amer.hwitat 的档案 - activity

2019-06-13 13:14:42 -0500 获得奖牌  著名问题 (source)
2019-05-20 21:45:46 -0500 获得奖牌  受欢迎的问题 (source)
2019-05-20 21:45:46 -0500 获得奖牌  热门的问题 (source)
2019-01-30 19:23:23 -0500 评论问题 nova crashed the CPU

Install named servers (DNS) on your node, or add records of nodes to your DNS server because the /ect/hosts file doesn't work for nova if you have installed https services install the nova.cert

2019-01-28 22:22:05 -0500 问了问题 nova crashed the CPU

Hi,

I have been working on a clean installation of RHEL 7.6 and OSP 14 on my VM, I had the following problem:

Message from syslogd@amer at Jan 27 19:26:19 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#5 stuck for 26s! [swapper/5:0]

Message from syslogd@amer at Jan 27 19:26:19 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#1 stuck for 27s! [dmeventd:71548]

Message from syslogd@amer at Jan 27 19:27:30 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [6_scheduler:64928]

Message from syslogd@amer at Jan 27 19:31:25 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [ksoftirqd/5:34]

Message from syslogd@amer at Jan 27 19:32:42 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#3 stuck for 33s! [swift-object-up:11358]

Message from syslogd@amer at Jan 27 19:33:55 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#3 stuck for 24s! [dmeventd:71548]

Message from syslogd@amer at Jan 27 19:34:25 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#2 stuck for 65s! [kworker/2:0:59993]

Message from syslogd@amer at Jan 27 19:37:50 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#2 stuck for 24s! [kworker/u256:3:8447]

Message from syslogd@amer at Jan 27 19:37:50 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [ksoftirqd/5:34]

Message from syslogd@amer at Jan 27 19:37:51 ...
 kernel:NMI watchdog: BUG: soft lockup - CPU#0 stuck for 21s! [systemd:11968]

**> The CPU has been disabled by the guest

operating system. Power off or reset the virtual machine.**

it crashed the server, and this was the components of Nova that did it, before I had a problem with OVS component, I upgraded the RAM to 16GB recently, and reduced the cores to 4 instead of 8 on the VM, and upgraded the VMware workstation from 12 to 14, there is v15 now, now I have installed a Machine on 12GB RAM, and it was a clean on the 1st trial installation, configured the OS /etc/hosts file and it contains only one line myIP amer amer.example.com, the result was that I have a relatively faster Machine, but still no luck with creating the Instance in Compute, No hosts found in the Error message, I didn't configure anything in this Machine except hosts and hostname before installation, and OVS br-ex after installation, still the same issue I faced before is still present.

issued the command

[root@amer ~(keystone_admin)]# openstack compute service list
+----+------------------+------------------+----------+---------+-------+----------------------------+
| ID | Binary           | Host             | Zone     | Status  | State | Updated At                 |
+----+------------------+------------------+----------+---------+-------+----------------------------+
|  5 | nova-conductor   | amer             | internal | enabled | down  | 2019-01-28T00:43:20.000000 |
|  7 | nova-scheduler   | amer             | internal | enabled | down  | 2019-01-28T00:43:20.000000 |
| 10 | nova-consoleauth | amer             | internal | enabled | down  | 2019-01-28T00:43:22.000000 |
| 11 | nova-consoleauth | amer.example.com | internal | enabled | up    | 2019-01-28T02:38:55.000000 |
| 12 | nova-scheduler   | amer.example.com | internal | enabled | up    | 2019-01-28T02:38:53.000000 |
| 16 | nova-conductor   | amer.example ...
(more)
2019-01-27 15:11:51 -0500 评论回答 OS , OVS and Openstack 14

it doesn't show on netstat that this port is established,and in /var/log/nova/nova-api.log shows that there is mysql alcheme Error, it still have the error handshake in rabbit,already my.cnf file set

2019-01-27 14:15:03 -0500 评论回答 OS , OVS and Openstack 14

and closed for handshake problem:

closing AMQP connection <0.2192.0> (192.168.43.110:49624 -> 192.168.43.110:5672):
{handshake_error,starting,1,
2019-01-27 14:14:00 -0500 评论回答 OS , OVS and Openstack 14

the connection is accepted and granted access:

accepting AMQP connection <0.2192.0> (192.168.43.110:49624 -> 192.168.43.110:5672)
2019-01-27 14:12:37 -0500 评论回答 OS , OVS and Openstack 14

well the rabbit log says:

{handshake_error,starting,1,
                 {amqp_error,unexpected_frame,
                             "type 1, first 16 octets = <<0,60,0,40,0,0,4,110,111,118,97,9,99,111,110,100>>",
                             none}}
2019-01-27 11:40:44 -0500 获得奖牌  自学者 (source)
2019-01-27 11:40:44 -0500 获得奖牌  老师 (source)
2019-01-27 01:12:45 -0500 评论回答 OS , OVS and Openstack 14

Message from syslogd@amer at Jan 27 02:11:48 ... kernel:NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [httpd:39169]

2019-01-26 21:29:03 -0500 评论回答 OS , OVS and Openstack 14

ERROR nova.api.openstack.wsgi INFO nova.api.openstack.wsgi [blablabla - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/

2019-01-26 21:21:12 -0500 评论回答 OS , OVS and Openstack 14

rabbitmq broken pipe, {inet_error,etimedout}, mysql is gone, combination,

execute

mysql --max_allowed_packet=32G

!/usr/bin/env python2.7
import time
import mysql.connector
2019-01-26 17:35:06 -0500 评论回答 OS , OVS and Openstack 14

I will go for a fresh install, Dry not sweet

2019-01-26 17:31:14 -0500 评论回答 OS , OVS and Openstack 14

celimeter upgrade

ERROR cotyledon._utils ToozConnectionError: Error 111 connecting to 192.168.43.110:6379. Connection refused.
ERROR cotyledon._utils

the cash machine is not upgrading

2019-01-26 17:12:45 -0500 评论回答 OS , OVS and Openstack 14

--- Running report_uReport --- The response from 'http://OS-RELATED.com' has invalid format reporter-ureport failed with exit code 1 ('report_uReport' exited with 1)

2019-01-26 16:59:50 -0500 评论回答 OS , OVS and Openstack 14

just to make sure DistributionNotFound for metric and statd and common is not enabled repository, I rechecked the enabled repos, and renabled again all, back to watch the sleeping beauty ..

2019-01-26 16:51:48 -0500 评论回答 OS , OVS and Openstack 14

and for the first one it says simply portal doesn't upload files for the case #blabla

2019-01-26 16:48:52 -0500 评论回答 OS , OVS and Openstack 14

when reporting the bugs to OS it gives : No processing for event 'report_uReport' is defined so the ABRT tool is not reporting too this incident

2019-01-26 16:42:28 -0500 评论回答 OS , OVS and Openstack 14

2nd bug was

/var/spool/abrt/xorg-2019-01-26-09:55:18-9950-1

Xorg crashed 2 times, I add export DISPLAY=amer.example.com:10.0 ... sometimes I use gedit instead of vi becasue I became visual guy

2019-01-26 16:27:12 -0500 评论回答 OS , OVS and Openstack 14

I woke up, fired and installation up, before deleting the the existing VM, removed ironic, eventhough I need it for cleaning nodes, because when errors happen it jams, and going back to sleep

2019-01-26 11:37:25 -0500 评论回答 OS , OVS and Openstack 14

DistributionNotFound ... ABRT tool says

2019-01-26 11:15:15 -0500 评论回答 OS , OVS and Openstack 14

installation failed due to gnocchi-upgrade failure , thanks a lot man for being patient, will continue tomorrow

2019-01-26 11:13:48 -0500 评论回答 OS , OVS and Openstack 14

Error: /Stage[main]/Gnocchi::Db::Sync/Exec[gnocchi-db-sync]: Failed to call refresh: gnocchi-upgrade --config-file /etc/gnocchi/gnocchi.conf returned 1 instead of one of [0]

coochi coochi 3 bugs OS

2019-01-26 10:56:12 -0500 评论回答 OS , OVS and Openstack 14

lab sorry .. bad english

2019-01-26 10:55:41 -0500 评论回答 OS , OVS and Openstack 14

it's like giving birth to a multi-billion Dollar check in ceilometer .. very slow installation on my VM , I need a lap to deliver the baby

2019-01-26 10:52:44 -0500 评论回答 OS , OVS and Openstack 14

ceilome+ 53523 1 3 11:20 ? 00:00:57 ceilometer-polling: master process [/usr/bin/ceilometer-polling --polling-namespaces central --logfile /var/log/ceilomete /central.log]

2019-01-26 10:35:24 -0500 评论回答 OS , OVS and Openstack 14

configuring tenants

root     126657  50581 81 11:34 ?        00:00:02 /usr/bin/python2 /usr/bin/openstack endpoint create --format shell 39207def81b94e9ba62d5a39e0474cf7 admin http://192.168.43.110:8776/v3/%(tenant_id)s --region RegionOne
2019-01-26 10:33:02 -0500 评论回答 OS , OVS and Openstack 14

openstack is running to configure some stuff..

root     123067  50581 41 11:32 ?        00:00:02 /usr/bin/python2 /usr/bin/openstack domain list --quiet --format csv
2019-01-26 10:29:12 -0500 评论回答 OS , OVS and Openstack 14

installing swift after configuring nova

root     115679  50581 76 11:27 ?        00:00:23 /usr/bin/python /usr/bin/yum -d 0 -e 0 -y install openstack-swift-container
2019-01-26 10:23:40 -0500 评论回答 OS , OVS and Openstack 14

glance 55297 50581 99 11:21 ? 00:00:01 /usr/bin/python2 /usr/bin/glan ce-manage db_load_metadefs

its installing and populating data in mysql

2019-01-26 10:16:52 -0500 评论回答 OS , OVS and Openstack 14

it's like telling my wife that as a computer guy I can't fix iPhones

2019-01-26 10:00:12 -0500 评论回答 OS , OVS and Openstack 14

it's at this stage

root      41306  29223 59 10:58 ?        00:00:13 /usr/bin/python /usr/bin/yum -d 0 -e 0 -y install openstack-aodh-evaluator
2019-01-26 09:53:14 -0500 评论回答 OS , OVS and Openstack 14

I'm following your say, installing again, but I come and a go to watch the installation performing

2019-01-26 09:51:06 -0500 评论回答 OS , OVS and Openstack 14

strange the rabbitmq found a page in http://domain.com and I pinged it recently with different IP it's http://amer.domain.com , this is recent activity .. hahahahaha ... I mean impl_rabbit.py

2019-01-26 05:09:20 -0500 评论回答 OS , OVS and Openstack 14

WARNING oslo.messaging._drivers.impl_rabbit [-] Unexpected error during heartbeart thread processing, retrying...: IOError: Socket closed ERROR oslo.messaging._drivers.impl_rabbit

2019-01-26 04:58:06 -0500 评论回答 OS , OVS and Openstack 14

no rest for the wicked .. I have Rabbits to feed now (Kids), and I think I'm going to do that next week, the most important component I'm interested in is Neutron and it worked, the rest is optional

2019-01-26 04:56:24 -0500 获得奖牌  受欢迎的问题 (source)
2019-01-26 04:47:38 -0500 评论回答 OS , OVS and Openstack 14

wupsiii ... I missed your comment .. thanks

2019-01-26 04:36:18 -0500 评论回答 OS , OVS and Openstack 14

I tried nova-manage cell_v2 discover_hosts --verbose didn't work it's mysql error according to nova-api.log anyway I here rest my case

2019-01-26 03:05:06 -0500 回答问题 OS , OVS and Openstack 14

OK .. upgraded to 8GB vRAM , 8 cores vCPU, 1 TB vHDD ... because VM crashed at installation because of VCPU failure, and VMDK Error ... unexplainable .. rebooted , I kept using 4 cores vCPU and upgraded after installation

changed the host to http://amer.domain.com

I had some problems installing with packstack

executed these lines to overcome:

yum -y install yum-plugin-priorities yum-utils

yum install openstack-selinux --skip-broken
yum install python2* --skip-broken 
yum install *pyparsing* --skip-broken
yum install *urllib3* --skip-broken
yum install *chardet* --skip-broken
yum install *gnocchi* --skip-broken
yum install *puppet* --skip-broken
yum install -y mariadb-server-galera --skip-broken
yum install -y *openvswitch* --skip-broken
#yum install -y openstack.*   #saves time installing with packstack#yum install -y puppet hiera openssh-clients tar nc rubygem-json
yum install -y puppet hiera openssh-clients tar nc rubygem-json --skip-broken
yum install -y *rabbitmq* --skip-broken
yum install -y *ironic* --skip-broken
yum update

got this outcome

[amer@amer ~]$ su
Password: 
[root@amer amer]# 
[root@amer amer]# 
[root@amer amer]# 
[root@amer amer]# cd /root
[root@amer ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno16777736: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:37:19:1f brd ff:ff:ff:ff:ff:ff
    inet 192.168.43.110/24 brd 192.168.43.255 scope global eno16777736
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe37:191f/64 scope link 
       valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:32:ff:42 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever
4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:32:ff:42 brd ff:ff:ff:ff:ff:ff
[root@amer ~]# packstack --anwer-file=/root/answer.txt --timeout=9999999999999 --debug
Usage: packstack [options] [--help]

packstack: error: no such option: --anwer-file
[root@amer ~]# packstack --answer-file=/root/answer.txt --timeout=9999999999999 --debug

Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20190125-234457-Crf41V/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Preparing pre-install entries                        [ DONE ]
Setting up CACERT                                    [ DONE ]
Preparing AMQP entries                               [ DONE ]
Preparing MariaDB entries                            [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Preparing Keystone entries                           [ DONE ]
Preparing Glance entries                             [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Preparing Cinder entries                             [ DONE ]
Preparing Ironic entries                             [ DONE ]
Preparing Nova API entries                           [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys ...
(more)
2019-01-25 23:35:08 -0500 评论问题 OS , OVS and Openstack 14

Installation completed now successfully on 4 core CPU, 8 GB RAM, 1 TB HDD

2019-01-25 23:10:20 -0500 评论问题 OS , OVS and Openstack 14

now it's saying :

192.168.43.110_controller.pp: [ DONE ]
Applying 192.168.43.110_network.pp Testing if puppet apply is finished: 192.168.43.110_network.pp

2019-01-25 23:07:01 -0500 评论问题 OS , OVS and Openstack 14

maybe because I added heat and sahara .. and needs more resources?

2019-01-25 22:46:38 -0500 评论问题 OS , OVS and Openstack 14

exactly ... the VMware crashed .. HD error .. then CPU failure .. maybe it needs more cores for the installation

2019-01-25 22:20:05 -0500 评论问题 OS , OVS and Openstack 14

I had some errors in installation because I added ironic, heat,and sahara to the answer file, so I updated packages and installed again, no errors now , cross fingers

2019-01-25 17:15:03 -0500 问了问题 OS , OVS and Openstack 14

Nova Error on Horizon:

Error: Failed to perform requested operation on instance "RHEL", the instance has an error status: Please try again later [Error: No valid host was found. ].

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 1231, in schedule_and_build_instances instance_uuids, return_alternates=True) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 748, in _schedule_instances return_alternates=return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 907, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 179, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 133, in _send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 584, in send call_monitor_timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 575, in _send raise result 

[root@amer ~(keystone_admin)]# openstack compute service delete 10 18

Failed to delete compute service with ID '10': Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.HostMappingNotFound'> (HTTP 500) (Request-ID: req-576dc490-5ac3-4605-8c7f-c0391527842b)
Failed to delete compute service with ID '18': Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.HostMappingNotFound'> (HTTP 500) (Request-ID: req-544d1089-cc74-40f2-a5b4-2ff7ccd24fa5)
2 of 2 compute services failed to delete.
[root@amer ~(keystone_admin)]#

[root@amer ~(keystone_admin)]# systemctl restart *nova*
[root@amer ~(keystone_admin)]# openstack compute service list
+----+------------------+-----------------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+
| 10 | nova-compute | localhost | nova | enabled | down | 2019-01-19T13:14:06.000000 |
| 18 | nova-compute | localhost.localdomain | nova | enabled | down | 2019-01-25T15:34:10.000000 |
| 24 | nova-scheduler | amer.domain.com | internal | enabled | up | 2019-01-25T16:34:59.000000 |
| 26 | nova-consoleauth | amer.domain.com | internal | enabled | up | 2019-01-25T16:35:06.000000 |
| 27 | nova-conductor | amer.domain.com | internal | enabled | up | 2019-01-25T16:35:05.000000 |
| 29 | nova-compute | amer.domain.com | nova | enabled | up | 2019-01-25T16:35:00.000000 |
+----+------------------+-----------------------+----------+---------+-------+----------------------------+
[root@amer ~(keystone_admin)]#

I think it relates to the timeout issue also

because I installed without changing the host name then I changed it, but according to openstack compute service delete it should delete , or --disable , but it doesn't disable or delete

[root@localhost network-scripts]# systemctl status network -l
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2019-01-19 03:47:01 EST; 21s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 86319 ExecStop=/etc/rc.d/init.d/network ...
(more)
2019-01-24 01:34:26 -0500 评论问题 openvswitch swift and nuetron

simply it's object-server.conf that has timeout not set, python script that runs it wsgi.py must have also import libraries ConfigParser, io missing or hidden under another library causes the crash

2019-01-23 16:22:04 -0500 评论问题 openvswitch swift and nuetron

sorry mod_wsgi not wgsi .. you know what I mean ... haven't heard from you I hope everything is fine .. any the Mic is yours give a closing statement ... Add an Answer ... do me the honor is your site