Ask Your Question

Dheeraj's profile - activity

2016-09-14 15:47:19 -0500 received badge  Famous Question (source)
2016-06-20 09:43:57 -0500 received badge  Popular Question (source)
2016-06-20 09:43:57 -0500 received badge  Famous Question (source)
2016-06-20 09:43:57 -0500 received badge  Notable Question (source)
2016-01-12 05:29:39 -0500 received badge  Notable Question (source)
2016-01-12 05:29:39 -0500 received badge  Popular Question (source)
2016-01-12 05:29:39 -0500 received badge  Famous Question (source)
2015-12-21 00:32:42 -0500 asked a question Sahara Installation Process

HI Stackers,

I am working on openstack-juno three node architecture[Controller node, Compute node, Network node] and its working properly; but when I try to install sahara plugins on controller it does not work and even does not show the dataporcessing tab on dashboard of openstack. Openstack Multinode Architecture

Can anyone suggest the installation process of sahara on multinode architecture of openstack-juno.

2015-11-29 04:07:16 -0500 asked a question Sahara service failed to start on Juno

I installed opnstack Juno on centos 7 and its working fine. But when I installed sahara using this link. It installed without error but when i was run this command

sahara-all --config-file /etc/sahara/sahara.conf

it showed lots of errors to start sahara api with openstack.

Here are the details about this error, I am not able to figure it out, kindly help me with this.

    [root@controller controller]# sahara-all --config-file /etc/sahara/sahara.conf 
    2015-11-29 00:27:24.060 6548 INFO sahara.main [-] Starting Sahara all-in-one
    2015-11-29 00:27:24.060 6548 INFO sahara.utils.rpc [-] Notifications disabled
    2015-11-29 00:27:24.378 6548 INFO sahara.plugins.base [-] Plugin 'vanilla' loaded sahara.plugins.vanilla.plugin:VanillaProvider
    2015-11-29 00:27:24.378 6548 INFO sahara.plugins.base [-] Plugin 'hdp' loaded sahara.plugins.hdp.ambariplugin:AmbariPlugin
    2015-11-29 00:27:24.378 6548 INFO sahara.plugins.base [-] Plugin 'spark' loaded sahara.plugins.spark.plugin:SparkProvider
    2015-11-29 00:27:24.437 6548 DEBUG sahara.main [-] Logging of request/response exchange could be enabled using flag --log-exchange make_app /usr/lib/python2.7/site-packages/sahara/main.py:144
    2015-11-29 00:27:24.438 6548 INFO keystonemiddleware.auth_token [-] Starting keystone auth_token middleware
    2015-11-29 00:27:24.442 6548 INFO keystonemiddleware.auth_token [-] Using /tmp/keystone-signing-SB6l5s as cache directory for signing certificate
    2015-11-29 00:27:24.442 6548 INFO sahara.main [-] Loading 'all-in-one' ops
    2015-11-29 00:27:24.443 6548 DEBUG sahara.service.periodic [-] Starting periodic tasks with initial delay '18' seconds setup /usr/lib/python2.7/site-packages/sahara/service/periodic.py:152
    2015-11-29 00:27:24.443 6548 INFO sahara.openstack.common.periodic_task [-] Skipping periodic task check_for_zombie_proxy_users because its interval is negative
    2015-11-29 00:27:24.444 6548 INFO sahara.main [-] Loading 'direct' infrastructure engine
    2015-11-29 00:27:24.466 6548 INFO sahara.main [-] Loading 'ssh' remote
    2015-11-29 00:27:24.467 6548 CRITICAL sahara [-] error: [Errno 98] Address already in use
    2015-11-29 00:27:24.467 6548 TRACE sahara Traceback (most recent call last):
    2015-11-29 00:27:24.467 6548 TRACE sahara   File "/bin/sahara-all", line 10, in <module>
    2015-11-29 00:27:24.467 6548 TRACE sahara     sys.exit(main())
    2015-11-29 00:27:24.467 6548 TRACE sahara   File "/usr/lib/python2.7/site-packages/sahara/cli/sahara_all.py", line 60, in main
    2015-11-29 00:27:24.467 6548 TRACE sahara     wsgi.server(eventlet.listen((cfg.CONF.host, cfg.CONF.port), backlog=500),
    2015-11-29 00:27:24.467 6548 TRACE sahara   File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 39, in listen
    2015-11-29 00:27:24.467 6548 TRACE sahara     sock.bind(addr)
    2015-11-29 00:27:24.467 6548 TRACE sahara   File "/usr/lib64/python2.7/socket.py", line 224, in meth
    2015-11-29 00:27:24.467 6548 TRACE sahara     return getattr(self._sock,name)(*args)
    2015-11-29 00:27:24.467 6548 TRACE sahara error: [Errno 98] Address already in use
    2015-11-29 00:27:24.467 6548 TRACE sahara 
[root@controller controller]#
2015-11-29 03:52:48 -0500 answered a question systemctl start openstack-sahara-all

Hi,

you can also try this to check sahara is running or not, by using this command

sahara-all --config-file /etc/sahara/sahara.conf

this will show all details of sahara initialization on your system.

2015-11-29 03:48:42 -0500 answered a question openstack-sahara-api failed

hi, you can check sahara errors by running this command

sahara-all --config-file /etc/sahara/sahara.conf

this will show all details of sahara initialization on your system.

2015-09-09 06:28:15 -0500 commented question No Valid host was found?

Hi Omar i can't paste my file here ... But when i was run these command both are works and show me the result. but i am stuck why instances not spawning ....

2015-09-07 04:52:25 -0500 received badge  Notable Question (source)
2015-09-03 23:44:16 -0500 received badge  Popular Question (source)
2015-09-03 07:30:26 -0500 asked a question No Valid host was found?

I install openstack on three node architecture and it is running with cirros cloud image. But when i use fedora/centos qcow2 images to run on the cloud these will generate a error and that error was

 **Message**
    *No valid host was found.* 

**Code**
    *500*

**Details**

File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 616, in build_instances request_spec, filter_properties) 

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 49, in select_destinations context, request_spec, filter_properties) 

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 35, in __run_method return getattr(self.instance, __name)(*args, **kwargs) 

File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 34, in select_destinations context, request_spec, filter_properties) 

File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 108, in select_destinations request_spec=request_spec, filter_properties=filter_properties) 

File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call retry=self.retry) 

File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) 

File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send retry=retry) 

File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send raise result

I also search on google and read some threads but no perfect solution I got.

And also i change in some values in /etc/nova/nova.conf file. these changes are

**virt_type = kvm --> qemu** 

**ram_allocation_ratio = 1.5 --> 3**

I didnot find any solution on that. Suggest me solution

Regards, Dheeraj

2014-10-07 23:23:07 -0500 received badge  Famous Question (source)
2014-10-07 23:23:07 -0500 received badge  Notable Question (source)
2014-09-15 00:01:39 -0500 commented answer Icehouse onenode installation

You can also use packstack for one node installation.

2014-09-12 21:23:34 -0500 received badge  Famous Question (source)
2014-09-10 16:09:46 -0500 received badge  Notable Question (source)
2014-09-10 12:36:18 -0500 received badge  Popular Question (source)
2014-09-10 09:36:10 -0500 received badge  Student (source)
2014-09-10 08:01:31 -0500 asked a question how can i get username and password of a qcow2 image.

i am download the centos qcow2 file from this link https://openstack.redhat.com/Image_resources

and i lunch my instance and it's console show proper boot but i don't have the user name or password for login into OS.

how can i get user name or password for login into that instance or any one suggest me solution about this.

2014-09-10 07:51:00 -0500 answered a question is that necessary to install Qpid(AMQP) server on each machine

yes, it is required for your internal communication in between your nodes and your controller. you have to install QPID server on each machine for massage passing.

2014-07-25 10:35:22 -0500 received badge  Famous Question (source)
2014-07-22 20:30:36 -0500 received badge  Notable Question (source)
2014-07-18 01:13:12 -0500 received badge  Enthusiast
2014-07-17 08:55:18 -0500 received badge  Popular Question (source)
2014-07-16 06:59:25 -0500 received badge  Editor (source)
2014-05-09 13:16:46 -0500 received badge  Popular Question (source)
2014-04-23 02:04:27 -0500 asked a question Property cidr does not support being updated

Warning: Could not retrieve fact fqdn

Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults

Notice: Compiled catalog for dheeraj in environment production in 0.19 seconds

Notice: /Stage[main]/Main/Firewall[000 nat]/source: source changed '172.24.4.224/28' to '192.168.1.16/28'

Notice: Firewall000 nat: Properties changed - updating rule

Notice: /Stage[main]/Openstack::Provision/Glance_image[cirros]/ensure: created Error: Property cidr does not support being updated

Error: /Stage[main]/Openstack::Provision/Neutron_subnet[public_subnet]/cidr: change from 172.24.4.224/28 to 192.168.1.20/28 failed: Property cidr does not support being updated

Notice: /Stage[main]/Openstack::Provision/Neutron_l3_ovs_bridge[br-ex]: Dependency Neutron_subnet[public_subnet] has failures: true

Warning: /Stage[main]/Openstack::Provision/Neutron_l3_ovs_bridge[br-ex]: Skipping because of failed dependencies

Notice: /Stage[main]/Openstack::Provision/Neutron_router[router1]: Dependency Neutron_subnet[public_subnet] has failures: true

Warning: /Stage[main]/Openstack::Provision/Neutron_router[router1]: Skipping because of failed dependencies

Notice: /Stage[main]/Openstack::Provision/Neutron_router_interface[router1:private_subnet]: Dependency

Neutron_subnet[public_subnet] has failures: true

Warning: /Stage[main]/Openstack::Provision/Neutron_router_interface[router1:private_subnet]: Skipping because of failed dependencies

2014-04-16 09:23:15 -0500 received badge  Famous Question (source)
2014-03-30 23:27:26 -0500 received badge  Notable Question (source)
2014-03-13 00:24:34 -0500 received badge  Popular Question (source)
2014-03-12 02:08:24 -0500 commented question Network Error

I cann't find IPAddr.new: FA:16:3E:D5:F7:22 in my system

2014-03-12 02:07:07 -0500 asked a question Network Error

ERROR : Error appeared during Puppet run: 172.17.15.26_mysql.pp

Error: Could not prefetch firewall provider 'iptables': Invalid address from IPAddr.new: FA:16:3E:D5:F7:22

2014-03-07 01:40:19 -0500 received badge  Famous Question (source)
2014-02-28 00:46:49 -0500 commented answer Nova services are dead on CentOS

Hi, Anand TS when i run this command service openstack-nova-compute restart it starts but again the nova components are dead. [root@geforce ~(keystone_admin)]# service openstack-nova-compute restart Stopping openstack-nova-compute: [FAILED] Starting openstack-nova-compute: [ OK ] [root@geforce ~(keystone_admin)]# openstack-status == Nova services == openstack-nova-api: dead openstack-nova-cert: dead openstack-nova-compute: dead openstack-nova-network: dead openstack-nova-scheduler: dead openstack-nova-conductor: dead == Nova managed services == ERROR: <attribute 'message'="" of="" 'exceptions.baseexception'="" objects=""> (HTTP 504) == Nova networks == ERROR: <attribute 'message'="" of="" 'exceptions.baseexception'="" objects=""> (HTTP 504) == Nova instance flavors == ERROR: <attribute 'message'="" of="" 'exceptions.baseexception'="" objects=""> (HTTP 504)

2014-02-27 04:23:55 -0500 received badge  Notable Question (source)
2014-02-26 22:19:59 -0500 commented answer Nova services are dead on CentOS

hi RDO, the api.log file is too big and how can i find where is error.

2014-02-26 22:16:47 -0500 commented answer Nova services are dead on CentOS

hi Anand, i try this commend chkconfig --list | grep openstack-nova it showed something like this [root@geforce ~]# chkconfig --list | grep openstack-nova openstack-nova-api 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-cert 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-compute 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-conductor 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-console 0:off 1:off 2:off 3:off 4:off 5:off 6:off openstack-nova-consoleauth 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-metadata-api 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-network 0:off 1:off 2:on 3:on 4:on 5:on 6:off openstack-nova-novncproxy 0:off 1:off 2:on 3:on ... (more)

2014-02-26 22:13:09 -0500 received badge  Popular Question (source)
2014-02-26 00:55:14 -0500 commented answer Nova services are dead on CentOS

Hi, Anand when i am going to restart the service it's show like this: [root@geforce ~(keystone_admin)]# service nova-api restart nova-api: unrecognized service [root@geforce ~(keystone_admin)]# service nova-cert restart nova-cert: unrecognized service [root@geforce ~(keystone_admin)]# service nova-network restart nova-network: unrecognized service [root@geforce ~(keystone_admin)]# service nova-compute restart nova-compute: unrecognized service [root@geforce ~(keystone_admin)]# service nova-scheduler restart nova-scheduler: unrecognized service [root@geforce ~(keystone_admin)]# service nova-conductor restart nova-conductor: unrecognized service [root@geforce ~(keystone_admin)]#

2014-02-25 22:24:44 -0500 received badge  Supporter (source)
2014-02-25 22:24:12 -0500 received badge  Scholar (source)
2014-02-25 22:23:56 -0500 received badge  Famous Question (source)
2014-02-25 22:20:55 -0500 asked a question Nova services are dead on CentOS

hi, i install openstack havana via packstack. It shows installation was successfully completed; but when I run the openstack-status commanad it shows nova components are dead.

root@geforce ~(keystone_admin)]# openstack-status

== Nova services ==

openstack-nova-api:                     dead

openstack-nova-cert:                    dead

openstack-nova-compute:                 dead

openstack-nova-network:                 dead

openstack-nova-scheduler:               dead

openstack-nova-conductor:               dead

== Glance services ==

openstack-glance-api:                   active

openstack-glance-registry:              active

== Keystone service ==

openstack-keystone:                     active

== Horizon service ==

openstack-dashboard:                    active

== neutron services ==

neutron-server:                         active

neutron-dhcp-agent:                     active

neutron-l3-agent:                       active

neutron-metadata-agent:                 active

neutron-lbaas-agent:                    active

neutron-openvswitch-agent:              active

== Swift services ==

openstack-swift-proxy:                  active

openstack-swift-account:                active

openstack-swift-container:              active

openstack-swift-object:                 active

== Cinder services ==

openstack-cinder-api:                   active

openstack-cinder-scheduler:             active

openstack-cinder-volume:                active

== Ceilometer services ==

openstack-ceilometer-api:               active

openstack-ceilometer-central:           active

openstack-ceilometer-compute:           active

openstack-ceilometer-collector:         active

openstack-ceilometer-alarm-notifier:    active

openstack-ceilometer-alarm-evaluator:   active

== Heat services ==

openstack-heat-api:                     active

openstack-heat-api-cfn:                 active

openstack-heat-api-cloudwatch:          active

openstack-heat-engine:                  active

== Support services ==

mysqld:                                 active

libvirtd:                               active

openvswitch:                            active

messagebus:                             active

tgtd:                                   active

qpidd:                                  active

memcached:                              active

And, I am also atteching my packstack answer file :

[general]

# Path to a Public key to install on servers. If a usable key has not
# been installed on the remote servers the user will be prompted for a
# password and this key will be installed so the password will not be
# required again
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub

# Set to 'y' if you would like Packstack to install MySQL
CONFIG_MYSQL_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Image
# Service (Glance)
CONFIG_GLANCE_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Block
# Storage (Cinder)
CONFIG_CINDER_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Compute
# (Nova)
CONFIG_NOVA_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Networking (Neutron)
CONFIG_NEUTRON_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Dashboard (Horizon)
CONFIG_HORIZON_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack Object
# Storage (Swift)
CONFIG_SWIFT_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Metering (Ceilometer)
CONFIG_CEILOMETER_INSTALL=y

# Set to 'y' if you would like Packstack to install OpenStack
# Orchestration (Heat)
CONFIG_HEAT_INSTALL=y

# Set to 'y' if you would like Packstack to install the OpenStack
# Client packages. An admin "rc" file will also be installed
CONFIG_CLIENT_INSTALL=y

# Comma separated list of NTP servers. Leave plain if Packstack
# should not install ntpd on instances.
CONFIG_NTP_SERVERS=

# Set to 'y' if you would like Packstack to install Nagios to monitor
# OpenStack hosts
CONFIG_NAGIOS_INSTALL=y

# Comma separated list of servers to be excluded from installation in
# case you are running Packstack the second time with the same answer
# file and don't want Packstack to touch these servers. Leave plain if
# you don't need to exclude any server.
EXCLUDE_SERVERS=

# The IP address of the server on which to install MySQL
CONFIG_MYSQL_HOST=172.17.15.23

# Username for the MySQL admin user
CONFIG_MYSQL_USER=root

# Password for the MySQL admin user
CONFIG_MYSQL_PW=xxxxxxxxxxxxx

# The IP address of the server on which to install the QPID service
CONFIG_QPID_HOST=172.17.15.23

# Enable SSL for the QPID service
CONFIG_QPID_ENABLE_SSL=y

# Enable Authentication for the QPID service
CONFIG_QPID_ENABLE_AUTH=n

# The password for the NSS certificate database ...
(more)