Ask Your Question

Eranachandran's profile - activity

2018-12-05 06:52:27 -0600 answered a question neutron warning No controller found for: floatingips

This will choose the web framework in which to run the Neutron API server. 'pecan' is a new rewrite of the API routing components.

Allowed values: legacy, pecan

web_framework = pecan

In neutron.conf , if you used pecan as a value for web_framework change that value to legacy

2018-12-05 03:40:55 -0600 answered a question How to upload files from windows base machine to instances ?

you can use PuTTYgen for converting keys to ppk format.

1)First you need to install puttygen

2)Then load the key file in the PuTTYgen

3)after this, convert ssh key to ppk using PuTTYgen

now you have ssh key in ppk format. now you can connect the instance using WinSCP and you can upload files

puttygen link: https://www.ssh.com/ssh/putty/windows...

2018-11-30 23:36:16 -0600 answered a question REST API to access volumeid

Here https://developer.openstack.org/api-r..., the block storage api available

/v3/{project_id}/volumes/detail - (this api Lists all Block Storage volumes, with details, that the project can access, since v3.31 if non-admin users specify invalid filters in the url, API will return bad request.)

2018-11-28 05:26:54 -0600 answered a question cloudkitty deployment

CloudKitty is a Rating As A Service project aimed at translating metrics to prices.

https://docs.openstack.org/cloudkitty...

2018-11-27 23:46:45 -0600 received badge  Civic Duty (source)
2018-11-27 05:35:19 -0600 answered a question OpenStack NAT Logs

Neutron Packet Logging Framework may do this,

Packet logging service is designed as a Neutron plug-in that captures network packets for relevant resources (e.g. security group or firewall group) when the registered events occur.

refer to: https://docs.openstack.org/neutron/ro...

2018-11-27 05:28:39 -0600 answered a question How to Upgrage openstack kilo to rocky

planning an OpenStack upgrade

The following points will help you plan for a successful OpenStack upgrade:

Identify any potential incompatibilities between releases by reading the OpenStack release notes.

Decide on the appropriate method for the upgrade.

Ensure that you are able to roll back if the upgrade fails.

Ensure that your data is backed up, including configuration files and databases.

Based on SLAs for your services, determine the acceptable downtime and inform users about the downtime in advance.

Use a test environment to verify that the selected upgrade method will work for your production environment.

Prerequisites

Before you upgrade, clean the environment to ensure a consistent state. For example, if some instances are not fully purged from the system after deletion, unexpected behavior might occur.

For environments using the OpenStack Networking service (neutron), verify the release version of the database.

Taking a Backup

Take a backup of the current configurations and database. Save the configuration files on all nodes. Upgrading OpenStack Sequence for upgrading services

The sequence for upgrading the OpenStack services is important as upgrading services in wrong order can break the cloud easily. The following order is recommended:

Upgrade database
Upgrade RabbitMQ
Upgrade Memcached
Upgrade OpenStack Identity service (Keystone)
Upgrade the OpenStack image service (Glance)
Upgrade OpenStack compute (Nova)
Upgrade OpenStack networking (Neutron)
Upgrade the OpenStack dashboard (Horizon)
Upgrade the OpenStack orchestration (Heat)

refer to : https://developer.ibm.com/in/2017/11/27/

refer to: https://docs.openstack.org/tripleo-do...

2018-11-27 03:33:19 -0600 commented question openstack server list ERROR STATUS

what about nova logs?

is Your scenario instance works fine, but in instance's status details showing as an error?

2018-11-27 01:37:24 -0600 answered a question Problem with spice Console

check rabbit-mq status and rabbit-mq logs.check the rabbit-mq credential in nova configuration file .some times restarting rabbit-mq will fix the problem, restart rabbit-mq by service rabbitmq-server restart.

create another rabbit-mq user and change rabbit-mq credentials in config files and try

rabbitmqctl add_user openstack RABBIT_PASS

rabbitmqctl set_permissions openstack ".*" ".*" ".*"

check the transport url in nova config file

2018-11-27 01:18:59 -0600 answered a question Instance launch error.
  1. check the core service is running by typing command " netstat -an | grep LISTENING". In the controller node,it should contains listening port 8778(placement_api service), 8774(compute-service),9292(Image service),9696(network),5000(Identify service),5672(rabbitmq server), 11211( memcache server),35357(Identify service)

    2.confirm that you have enough resources to allocate your instance, if enough resource available, then the issue comes from networking (neutron) and not from Nova itself. (Trace neutron logs for "PortBindingFailed")

    3.check your host's hardware supports virtualization or not by issuing "virt-host-validate",if fails change to virt_type to qemu

2018-11-27 00:24:05 -0600 commented question openstack server list ERROR STATUS

is it showing correct status in dashboard?

2018-11-27 00:06:58 -0600 answered a question collect up and down time for deployed openstack resources

You can use cloud kitty,

CloudKitty proposes the following way to interact with it :

Horizon API Python Binding

refer to https://wiki.openstack.org/wiki/Cloud...

The Ceilometer project is a data collection service that provides the ability to normalize and transform data across all current OpenStack core components with work underway to support future OpenStack components.

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

2018-11-26 23:59:22 -0600 answered a question how to install rpm from coltroller to an instance

you can install rpm from controller to an instance using, including shell script within in the heat template like below mentioned.

   resources:
      the_server:
        type: OS::Nova::Server
        properties:
          # flavor, image etc
          user_data: |
            #!/bin/bash
            echo "Running boot script"
            # ..

For more information about this, refer to this link https://docs.openstack.org/heat/lates...

2018-11-25 04:59:15 -0600 answered a question Heat vs Ansible Questions

Basically, OpenStack heat and Ansible were created to doing different things, HEAT is developed to detect details related to infrastructure and complete provisioning of that infrastructure on OpenStack.

HEAT provides a way to define compute, storage, network, and other infrastructure related resources. This includes the interrelationships between infrastructure resources, such as associating floating IPs with compute resources or binding a compute resource to a specific network. This assigning key pairs for authentication and naming resources.The result of a heat template is a collection of one or more infrastructure resources based on existing images.The software integrates other components of OpenStack. The templates allow the creation of most OpenStack resource types (such as instances, floating IPs, volumes, security groups, users, etc), as well as some more advanced functionality such as for instance high availability, instance autoscaling, and nested stacks. Heat primarily manages infrastructure, but the templates integrate well with software configuration management tools such as Puppet and Ansible.

Ansible is developed to configuring the infrastructure after provisioning, This includes activities like installing libraries and setting up a specific runtime environment.ansible also supports the provisioning.

so we can use both ansible and heat.....both are created for different purposes....

ref: https://software.danielwatrous.com/he...

https://docs.openstack.org/heat/latest/

The Heat Engine now supports only Resource Plugin modules, which allows operators of OpenStack clouds to provide custom Resource handlers to their users.

ref: https://wiki.openstack.org/wiki/Heat/...

2018-11-24 00:59:41 -0600 edited answer What is the best OpenStack tool/report to see our instance and host CPU, RAM, utilization?

You can use Zabbix monitoring tool, it is not the OpenStack tool, but it is used to monitoring your instance and you can also trigger a mail alert. Zabbix is an open source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services. Zabbix provides monitoring metrics, such as network utilization, CPU load, and disk space consumption. The software monitors operations on Linux, Hewlett Packard Unix (HP-UX), Mac OS X, Solaris and other operating systems (OSes); however, Windows monitoring is only possible through agents

features of Zabbix Send messages, Let Zabbix fix issues automatically, Escalate problems according to flexible user-defined Service Levels, Customize messages based on recipient's role, Customize messages with runtime and inventory information.

For ubuntu follow this link for Zabbix configuration and adding the new host to Zabbix serverhttps://www.digitalocean.com/communit...

configure mail alerts on Zabbix serverhttps://www.oodlestechnologies.com/bl...

zabbix Documentationhttps://www.zabbix.com/documentation/...

2018-11-23 05:26:10 -0600 edited answer Update Nova endpoint

you should update nova endpoints in Keystone Database or recreate nova endpoint, after update you need to sync the Keystone database and modify endpoints in nova configuration file

2018-11-23 04:04:34 -0600 commented question heat-dashboard in queens

For object storage(swift) also like this, all Keystone API service endpoints use 5000 port but in the swift document they mentioned as 35357, I changed that to 5000, that was worked for me

2018-11-23 00:51:38 -0600 answered a question Found 0 unmapped computes in cell: 88fdcc1f-ddea-4505-a6b1-394c10708dee

@frippe75 Try to add the compute node in database manually,like below mentioned

In nova api-database, there is a table called host_mappings will there, you can manually add your compute node in that table

2018-11-22 20:44:57 -0600 commented question Found 0 unmapped computes in cell: 88fdcc1f-ddea-4505-a6b1-394c10708dee
2018-11-22 20:40:54 -0600 edited answer Any option to check progress of glance image creation in Openstack Queens

use this command glance image-create --file <file> --disk-format <disk-format> --progress --container-format <container-format> --name <name>

2018-11-22 20:35:00 -0600 commented answer openstack compute service list --service nova-compute empty

compute node table in nova database.for below question i answered with screenshot,refer https://ask.openstack.org/en/question...

2018-11-22 09:59:40 -0600 commented answer Failed to discover available identity version when contacting http://192.168.x.x:5000/v3. Attempting to parse version from URL.

okay, you have reinstalled rabbitmq and reconfigured rabbitmq credentials

2018-11-22 09:57:42 -0600 commented answer openstack compute service list --service nova-compute empty

if your not familiar with database queries, use phpmysql or mysql workbench to modify values in database

2018-11-22 09:56:25 -0600 commented answer openstack compute service list --service nova-compute empty

insert transport URL url manually to the database

2018-11-22 09:55:27 -0600 commented answer openstack compute service list --service nova-compute empty

go to Nova database and there is a table called compute node, in that table, there is a column mapped hosts will there, if value in that is "0" change that value to 1

2018-11-22 05:30:00 -0600 edited answer magnum vs kuberneties

refer this https://stackshare.io/stackups/magnum...

Kubernetes is one the most widely used container orchestration technology out there. Kubernetes is hugely popular because it offers the ability to resolve problems and offers an out of the box way of thinking about deploying, managing, and scheduling the applications.(more https://vexxhost.com/blog/openstack-k...) On the other hand, OpenStack is a software application that allows a business to run their own Infrastructure-as-a-Service (IaaS).

Features of magnum

Abstractions for Clusters
Integration with Kubernetes, Swarm, Mesos for backend container technology
Integration with Keystone for multi-tenant security
Integration with Neutron for Kubernetes multi-tenancy network security
Integration with Cinder to provide volume service for containers
2018-11-22 05:25:03 -0600 answered a question How to know cinder version release from CLI?

cinder --version

cinder-backup --version

cinder-scheduler --version

cinder-volume --version

2018-11-22 05:20:46 -0600 commented question take snapshot

I answered this type of question before, this may be help you https://ask.openstack.org/en/question...