HARI PRASAD's profile - activity

2019-12-05 14:11:18 -0500 received badge  Famous Question (source)
2015-12-23 04:09:30 -0500 received badge  Notable Question (source)
2015-12-17 23:51:55 -0500 received badge  Famous Question (source)
2015-11-24 05:08:24 -0500 commented answer unable to launch instance : "no valid host found "

plz , could you be more elabaorate on how to change the device group??? I ran this sudo chown root:libvirtd /dev/kvm ---------> invalid group 'root:libvirtd'

2015-11-20 03:44:29 -0500 received badge  Notable Question (source)
2015-11-20 03:38:15 -0500 commented answer need help launching instance - stuck with "no valid host found"

Couldn't find the parameter libvirt_type in nova.conf but virt_type is already set to qemu

KVM's are available by running this command $ egrep -c '(vmx|svm)' /proc/cpuinfo which returned 2

2015-11-19 08:56:49 -0500 received badge  Popular Question (source)
2015-11-18 03:04:12 -0500 received badge  Enthusiast
2015-11-17 00:47:19 -0500 asked a question need help launching instance - stuck with "no valid host found"

the log part from the creation of instance

compute.log

2015-11-17 11:52:29.806 4648 WARNING nova.openstack.common.loopingcall [-] task <bound method DbDriver._report_state of <nova.servicegroup.drivers.db.DbDriver object at 0x2ac0e10>> run outlasted interval by 2.66 sec
  2015-11-17 11:56:38.602 4649 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on 192.168.7.11:5672
2015-11-17 11:56:39.227 4649 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on 192.168.7.11:5672
2015-11-17 11:56:53.814 4648 ERROR nova.scheduler.utils [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] Error from last host: tvmatp326446d (node tvmatp326446d): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2033, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2164, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance f15e5ee5-ba09-4c2f-ae92-fc6deaf66592 was re-scheduled: Error during following call to agent: ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvoabf4e14a-c8', '--', 'add-port', 'br-int', u'qvoabf4e14a-c8', '--', 'set', 'Interface', u'qvoabf4e14a-c8', u'external-ids:iface-id=abf4e14a-c846-4df7-94e9-1f86205ababd', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:cf:4d:c0', 'external-ids:vm-uuid=f15e5ee5-ba09-4c2f-ae92-fc6deaf66592']\n"]
2015-11-17 11:56:54.502 4648 WARNING nova.scheduler.driver [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] NoValidHost exception with message: 'No valid host was found.'
2015-11-17 11:56:54.502 4648 WARNING nova.scheduler.driver [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] [instance: f15e5ee5-ba09-4c2f-ae92-fc6deaf66592] Setting instance to ERROR state.

scheduler.log

2015-11-17 11:56:54.022 1261 INFO nova.filters [req-a772ed5a-f6e8-44a9-b26f-c65decb09521 None] Filter RetryFilter returned 0 hosts

nova-conductor.log

2015-11-17 15:33:01.510 4649 ERROR nova.scheduler.utils [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] Error from last host: tvmatp326446d (node tvmatp326446d): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2033, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2164, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 53709463-447c-4f09-9a47-4124958b88bb was re-scheduled: Error during following call to agent: ['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvofef9f44e-fe', '--', 'add-port', 'br-int', u'qvofef9f44e-fe', '--', 'set', 'Interface', u'qvofef9f44e-fe', u'external-ids:iface-id=fef9f44e-fefe-4fa2-94e4-18756b48afef', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:2a:ee:94', 'external-ids:vm-uuid=53709463-447c-4f09-9a47-4124958b88bb']\n"]
2015-11-17 15:33:02.186 4649 WARNING nova.scheduler.driver [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] NoValidHost exception with message: 'No valid host was found.'
2015-11-17 15:33:02.186 4649 WARNING nova.scheduler.driver [req-f0ad2cf0-4fb7-4223-a263-80934f5d9749 None] [instance: 53709463-447c-4f09-9a47-4124958b88bb] Setting instance to ERROR state.
2015-11-07 23:50:20 -0500 received badge  Popular Question (source)
2015-11-05 04:01:34 -0500 asked a question unable to launch instance : "no valid host found "

LAST LINES OF LOG ""

scheduler log shows ' warning nova.openstack.common.loopingcall run outlasted ' some time interval conductor log shows ' warning nova.scheduler.driver ' setting instance state to error

2015-10-28 12:44:45 -0500 asked a question devstack installation error -error communicating with RHN

[stack@localhost ~]$ ./stack.sh bash: ./stack.sh: No such file or directory [stack@localhost ~]$ cd devstack [stack@localhost devstack]$ ./stack.sh + unset GREP_OPTIONS + umask 022 + PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/stack/.local/bin:/home/stack/bin:/usr/local/sbin:/usr/sbin:/sbin +++ dirname ./stack.sh ++ cd . ++ pwd + TOP_DIR=/home/stack/devstack + NOUNSET= + [[ -n '' ]] + [[ -r /home/stack/devstack/.stackenv ]] + rm /home/stack/devstack/.stackenv + FILES=/home/stack/devstack/files + '[' '!' -d /home/stack/devstack/files ']' + '[' '!' -d /home/stack/devstack/inc ']' + '[' '!' -d /home/stack/devstack/lib ']' + [[ '' == \y ]] + [[ 1001 -eq 0 ]] + [[ -e /home/stack/.no-devstack ]] + LAST_SPINNER_PID= + source /home/stack/devstack/functions ++ [[ -z '' ]] ++ declare -r _DEVSTACK_FUNCTIONS=1 ++++ dirname /home/stack/devstack/functions +++ cd /home/stack/devstack +++ pwd ++ FUNC_DIR=/home/stack/devstack ++ source /home/stack/devstack/functions-common ++++ set +o ++++ grep xtrace +++ XTRACE='set -o xtrace' +++ set +o xtrace ++ source /home/stack/devstack/inc/ini-config ++++ set +o ++++ grep xtrace +++ INC_CONF_TRACE='set -o xtrace' +++ set +o xtrace ++ source /home/stack/devstack/inc/python ++++ set +o ++++ grep xtrace +++ INC_PY_TRACE='set -o xtrace' +++ set +o xtrace ++ source /home/stack/devstack/inc/rootwrap ++++ set +o ++++ grep xtrace +++ INC_ROOT_TRACE='set -o xtrace' +++ set +o xtrace +++ set +o +++ grep xtrace ++ XTRACE='set -o xtrace' ++ set +o xtrace + source /home/stack/devstack/inc/meta-config +++ set +o +++ grep xtrace ++ INC_META_XTRACE='set -o xtrace' ++ set +o xtrace + source /home/stack/devstack/lib/stack + GetDistro + GetOSVersion ++ which sw_vers + [[ -x '' ]] ++ which lsb_release + [[ -x '' ]] + [[ -r /etc/redhat-release ]] + os_CODENAME= + for r in '"Red Hat"' CentOS Fedora XenServer CloudLinux + os_VENDOR='Red Hat' ++ grep 'Red Hat' /etc/redhat-release + [[ -n Red Hat Enterprise Linux Server release 7.1 (Maipo) ]] ++ sed -e 's/^.* ([0-9].) ((.)).$/\1\|\2/' /etc/redhat-release + ver='7.1|Maipo' + os_CODENAME=Maipo + os_RELEASE=7.1 + os_UPDATE=1 + os_RELEASE=7 + break + '[' 'Red Hat' = 'Red Hat' ']' + [[ -r /etc/oracle-release ]] + os_PACKAGE=rpm + export os_VENDOR os_RELEASE os_UPDATE os_PACKAGE os_CODENAME + [[ Red Hat =~ (Ubuntu) ]] + [[ Red Hat =~ (Debian) ]] + [[ Red Hat =~ (Fedora) ]] + [[ Red Hat =~ (openSUSE) ]] + [[ Red Hat =~ (SUSE LINUX) ]] + [[ Red Hat =~ (Red Hat) ]] + DISTRO=rhel7 + export DISTRO + rm -f /home/stack/devstack/.localrc.auto + [[ -r /home/stack/devstack/local.conf ]] ++ get_meta_section_files /home/stack/devstack/local.conf local ++ local file=/home/stack/devstack/local.conf ++ local matchgroup=local ++ [[ -r /home/stack/devstack/local.conf ]] ++ awk -v matchgroup=local ' /^[[.+\|.]]/ { gsub("[][]", "", $1); split($1, a, "|"); if (a[1] == matchgroup) print a[2] } ' /home/stack/devstack/local.conf + LRC=localrc + for lfile in '$LRC' + [[ localrc == \l\o\c\a\l\r\c ]] + [[ -r /home/stack/devstack/localrc ]] + echo '# Generated file, do not edit' + get_meta_section /home/stack/devstack/local.conf local localrc + local file=/home/stack/devstack/local.conf + local matchgroup=local + local configfile=localrc + [[ -r /home/stack/devstack/local.conf ]] + [[ -z localrc ]] + awk -v matchgroup=local -v configfile=localrc ' BEGIN { group = "" } /^[[.+\|.]]/ { if (group == "") { gsub("[][]", "", $1); split($1, a, "|"); if (a[1] == matchgroup && a[2] == configfile) { group=a[1] } } else { group="" } next } { if (group != "") print $0 } ' /home/stack/devstack/local.conf + [[ ! -r /home/stack/devstack/stackrc ]] + source /home/stack/devstack/stackrc ++ [[ -z '' ]] ++ declare -r _DEVSTACK_STACKRC=1 ++ unset LANG ++ unset LANGUAGE ++ LC_ALL=C ++ export LC_ALL ++++ dirname /home ... (more)