Ask Your Question

Maestropandy's profile - activity

2018-10-26 09:27:18 -0500 received badge  Notable Question (source)
2018-10-26 09:27:18 -0500 received badge  Famous Question (source)
2018-08-02 03:04:05 -0500 answered a question Enabling Monasca Graphana GUI from Horizon

May i know how installed the Monasca Horizon plugin using https://github.com/openstack/monasca-ui/

I have followed below steps

1) Devstack- ocata version is running 2) git clone https://github.com/openstack/monasca-ui/ -b stable/ocata 3) As per https://github.com/openstack/monasca-... In devstack already have horizon directory under /opt/stack/horizon so i moved to next steps like 4) Added git+https://git.openstack.org/openstack/monasca-ui.git to requirements.txt 5) pip install -r requirement.txt 6) under "openstack_dashboard/settings.py" added "import monitoring.enabled" & "monitoring.enabled, (Add this line to the settings.utils_update_dashboards list" 7) Created symlink as below

ln -sf $(pwd)/../monasca-ui/monitoring/enabled/_50_admin_add_monitoring_panel.py \ $(pwd)/openstack_dashboard/enabled/_50_admin_add_monitoring_panel.py ln -sf $(pwd)/../monasca-ui/monitoring/conf/monitoring_policy.json \ $(pwd)/openstack_dashboard/conf/monitoring_policy.json ln -sfF $(pwd)/../monasca-ui/monitoring $(pwd)/monitoring

8) under /opt/stack/horizon >> "python manage.py compress" getting error as below

Traceback (most recent call last): File "manage.py", line 23, in <module> execute_from_command_line(sys.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 303, in execute settings.INSTALLED_APPS File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in __getattr__ self._setup(name) File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/opt/stack/horizon/openstack_dashboard/settings.py", line 444, in <module> INSTALLED_APPS, File "/opt/stack/horizon/openstack_dashboard/utils/settings.py", line 112, in update_dashboards for key, config in import_dashboard_config(modules): File "/opt/stack/horizon/openstack_dashboard/utils/settings.py", line 45, in import_dashboard_config for key, submodule in import_submodules(module).items(): File "/opt/stack/horizon/openstack_dashboard/utils/settings.py", line 30, in import_submodules submodule = import_module(name) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/opt/stack/horizon/openstack_dashboard/enabled/_50_admin_add_monitoring_panel.py", line 35, in <module> 'recoverable': (exc.HTTPUnProcessable, exc.HTTPConflict, exc.HTTPException), AttributeError: 'module' object has no attribute 'HTTPUnProcessable'

2018-02-08 00:44:48 -0500 received badge  Famous Question (source)
2018-02-04 23:38:36 -0500 received badge  Notable Question (source)
2018-02-04 23:38:36 -0500 received badge  Popular Question (source)
2018-02-01 10:14:20 -0500 asked a question Automate Incremental volume backup

Hi All,

I have to configure, schedule and manage backups of all the data including but not limited to files, folders, images, system state, databases and enterprise applications & restore it.

As of now taking snapshot of volume everytime and again it was full backup, I would like to know solution, "How to backup all data ( files, all types of databases) first time full backup and next only incremental and restore it finally using openstack tools ?

Note: Vm is boot from volume ( Block storage) where ceph is backend

2017-10-12 05:36:33 -0500 received badge  Popular Question (source)
2017-10-05 04:04:00 -0500 asked a question Senlin - HttpException: The request you have made requires authentication.

In devstack installed senlin, here my local.conf file below

> [[local|localrc]]

ADMIN_PASSWORD=admin
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD


#Enable heat services
enable_service h-eng h-api h-api-cfn h-api-cw

#Enable heat plugin
enable_plugin heat https://git.openstack.org/openstack/heat

#Ceilometer
CEILOMETER_BACKEND=mongodb
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer

#to enable OSprofiler
CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler

#Aodh
enable_plugin aodh https://git.openstack.org/openstack/aodh

#Enable senlin
enable_plugin senlin https://git.openstack.org/openstack/senlin

# Disable tempest
disable_service tempest
# Disable sahara
disable_service sahara
# Disable trove
disable_service trove
disable_service tr-api
disable_service tr-mgr
disable_service tr-cond
# Disable swift
disable_service s-proxy
disable_service s-object
disable_service s-container
disable_service s-account

after installation tried to do autoscaling as per https://docs.openstack.org/senlin/lat...

while creating profile as per

> openstack cluster profile create --spec-file sample_server.yaml pserver

getting error as

openstack cluster profile create --verbose --spec-file sample_server.yaml pserver
START with options: [u'cluster', u'profile', u'create', u'--verbose', u'--spec-file', u'sample_server.yaml', u'pserver']
command: cluster profile create -> senlinclient.v1.profile.CreateProfile (auth=True)
Using auth plugin: password
HttpException: The request you have made requires authentication. (HTTP 401) (Request-ID: req-3a2990a1-0d8d-41e6-8a9a-1ab76d9f7aaa), The request you have made requires authentication.
END return value: 1

Here is my /etc/senlin/senlin.conf auto-created with devstack

> [DEFAULT]
transport_url = rabbit://stackrabbit:admin@30.30.0.5:5672/
logging_exception_prefix = %(color)s%(asctime)s.%(msecs)03d TRACE %(name)s ^[[01;35m%(instance)s^[[00m
logging_debug_format_suffix = ^[[00;33mfrom (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d^[[00m
logging_default_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [^[[00;36m-%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
logging_context_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [^[[01;36m%(request_id)s ^[[00;36m%(project_name)s %(user_name)s%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
use_syslog = False
default_region_name = RegionOne
auth_encryption_key = b6c693b6a3f96af85c58974ede813dad
debug = True

[senlin_api]
bind_port = 8778

[database]
connection = mysql+pymysql://root:admin@127.0.0.1/senlin?charset=utf8

[keystone_authtoken]
admin_tenant_name = service
admin_password = admin
admin_user = senlin
auth_uri = http://30.30.0.5/identity/v3
signing_dir = /var/cache/senlin
cafile = /opt/stack/data/ca-bundle.pem
identity_uri = http://30.30.0.5/identity

[authentication]
service_project_name = service
service_password = admin
service_username = senlin
auth_url = http://30.30.0.5/identity/v3

[zaqar]
project_domain_name = Default
user_domain_name = Default
auth_url = http://30.30.0.5/identity/v3
project_name = service
password = admin
username = zaqar
auth_type = password

May I know why it was happening.. I can able to access all services except senlin .. how to resolve ?

2017-08-08 10:27:02 -0500 received badge  Nice Answer (source)
2017-08-07 07:26:43 -0500 received badge  Famous Question (source)
2017-08-07 07:26:43 -0500 received badge  Notable Question (source)
2017-08-07 07:26:43 -0500 received badge  Popular Question (source)
2017-05-24 09:10:24 -0500 received badge  Necromancer (source)
2017-05-23 19:08:35 -0500 received badge  Famous Question (source)
2017-05-23 19:08:35 -0500 received badge  Popular Question (source)
2017-05-23 19:08:35 -0500 received badge  Notable Question (source)
2017-04-17 23:32:09 -0500 received badge  Notable Question (source)
2017-02-07 21:15:34 -0500 received badge  Taxonomist
2017-02-01 01:57:40 -0500 commented answer Provider Network IP Not reachable on Router

agreed with Vinoth. Also I feels that, here your compute and controler/network are in different network, make sure are u able to reach internally this VM's (called external IP in your case) if works then router created to map instance will be able to communicate if bridge is done crct

2017-02-01 01:19:28 -0500 asked a question Stack.sh Fail to detect HOST_IP, after changing HOST IP address in cloned machine

Hi All,

After going through launchpad bugs similar to this issue, raising it "https://bugs.launchpad.net/devstack/+bug/1660909 "

In latest devstack master, after cloning it as non-root user account and done local.conf with $HOST_IP address, after that ran devstack properly without issues. then after sometime just added designate plugin in local.conf and did ./unstack, while doing it faced issues as below

devstack$ ./unstack.sh
[Call Trace]
./unstack.sh:33:source
/home/pandy/devstack/openrc:27:source
/home/pandy/devstack/stackrc:759:die
[ERROR] /home/pandy/devstack/stackrc:759 Could not determine host ip address. See local.conf for suggestions on setting HOST_IP.

any suggestions please, here the ownership of devstack as below

ls -l devstack/
total 336
drwxr-xr-x 6 pandy pandy 4096 Jan 31 13:35 accrc
-rwxrwxr-x 1 pandy pandy 3643 Jan 30 16:09 clean.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 data
drwxrwxr-x 3 pandy pandy 4096 Jan 30 16:09 doc
-rw-rw-r-- 1 pandy pandy 923 Jan 30 16:09 exerciserc
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 exercises
-rwxrwxr-x 1 pandy pandy 1974 Jan 30 16:09 exercise.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 extras.d
drwxrwxr-x 9 pandy pandy 4096 Jan 31 10:54 files
-rw-rw-r-- 1 pandy pandy 25900 Jan 30 16:09 functions
-rw-rw-r-- 1 pandy pandy 75944 Jan 30 16:09 functions-common
-rw-rw-r-- 1 pandy pandy 3774 Jan 30 16:09 FUTURE.rst
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 gate
-rw-rw-r-- 1 pandy pandy 14879 Jan 30 16:09 HACKING.rst
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 inc
drwxrwxr-x 7 pandy pandy 4096 Jan 30 16:09 lib
-rw-rw-r-- 1 pandy pandy 10143 Jan 30 16:09 LICENSE
-rw-rw-r-- 1 pandy pandy 4301 Feb 1 12:12 local.conf
-rw-rw-r-- 1 pandy pandy 1506 Jan 30 16:09 MAINTAINERS.rst
-rw-rw-r-- 1 pandy pandy 2490 Jan 30 16:09 Makefile
-rw-rw-r-- 1 pandy pandy 4137 Jan 30 16:09 openrc
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 pkg
-rw-rw-r-- 1 pandy pandy 3799 Jan 30 16:09 README.md
-rwxrwxr-x 1 pandy pandy 1188 Jan 30 16:09 run_tests.sh
drwxrwxr-x 2 pandy pandy 4096 Feb 1 12:13 samples
-rw-rw-r-- 1 pandy pandy 481 Jan 30 16:09 setup.cfg
-rwxrwxr-x 1 pandy pandy 781 Jan 30 16:09 setup.py
-rw-rw-r-- 1 pandy pandy 34526 Jan 30 16:09 stackrc
-rwxrwxr-x 1 pandy pandy 41312 Jan 30 16:09 stack.sh
drwxrwxr-x 2 pandy pandy 4096 Jan 30 16:09 tests
drwxrwxr-x 4 pandy pandy 4096 Jan 30 16:09 tools
-rw-rw-r-- 1 pandy pandy 1763 Jan 30 16:09 tox.ini
-rwxrwxr-x 1 pandy pandy 4173 Jan 30 16:09 unstack.sh
-rw-r--r-- 1 pandy pandy 404 Feb 1 12:03 userrc_early

Note: my non-root user account "pandy" is similar like "stack" user permission.

Let me know where is issue ?

2017-01-29 11:44:11 -0500 received badge  Famous Question (source)
2017-01-06 17:48:48 -0500 received badge  Famous Question (source)
2016-12-19 14:22:01 -0500 received badge  Popular Question (source)
2016-12-17 02:33:25 -0500 answered a question devstack on 13.10 upgraded from 12.10, doesnt run ./stack.sh

after cloning devstack branch, create local.conf as below

[[local|localrc]] HOST_IP=127.0.0.1 ADMIN_PASSWORD=admin DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD

and run ./stack/sh

2016-12-17 02:28:24 -0500 commented question Devstack - Newton Error

there was multiple questions asked for same scenario and faced same issue though after following "http://docs.openstack.org/developer/devstack/" so have mentioned.

2016-12-15 01:24:08 -0500 asked a question Devstack - Newton Error

Hi,

After cloning devstack -stable/netwon version done the following things

chown -R <username> devstack
chmod 770 devstack cd devstack ./clean.sh sed -i 's/git:/https:/g' stackrc

and then ran ./stack.sh, got error as "'/run/user/112/gvfs': Permission denied" then ran " sudo umount /run/user/112/gvfs", and again cloned by running ./stack.sh now facing new issue as

"World dumping... see /opt/stack/logs/worlddump-2016-12-15-071819.txt for details +./stack.sh:exit_trap:511 "

tell what is wrong in my devstack installation or any issue with newton devstack release ?

2016-12-15 01:18:14 -0500 answered a question How to check which keystone version is being used in devstack install

@sanjana >> check what version your devstack has by "keystone --version" and later check compatablity of monasca, if it's up-level like (v3), then you can manually updgrade all api in devstack to v3, if else will misconfig ll happen

2016-11-29 04:54:19 -0500 received badge  Famous Question (source)
2016-11-29 04:54:19 -0500 received badge  Notable Question (source)
2016-11-29 04:54:19 -0500 received badge  Popular Question (source)
2016-11-02 09:29:55 -0500 received badge  Famous Question (source)
2016-09-18 03:49:25 -0500 received badge  Popular Question (source)
2016-09-18 03:49:25 -0500 received badge  Famous Question (source)
2016-09-18 03:49:25 -0500 received badge  Notable Question (source)
2016-09-08 01:55:17 -0500 received badge  Famous Question (source)
2016-09-08 01:55:17 -0500 received badge  Notable Question (source)
2016-08-02 01:33:27 -0500 asked a question Share/Export/Transfer security groups across tenants

Hello,

Is there any way of exporting information such as 'Security groups' and their IP ranges for each of the different regions that at least in same region across tenants ?

Perhaps I have not been able to find it but we would really like to see basic reporting functionality built into the console where you can export this data if required.

Currently we are having to manually update our server map information, security groups and IP ranges manually - something that is extremely time consuming and not an ideal solution.

If anyone could offer some advice on how to export data from the console that would be very much appreciated.

2016-07-28 09:06:55 -0500 received badge  Notable Question (source)
2016-07-20 04:30:24 -0500 received badge  Famous Question (source)
2016-07-20 01:06:09 -0500 answered a question Password changes automatically in Windows instance (Windows Server 2012)

zekken, Seems no issue with openstack, check windows OS policy where passwd change is enabled after reboot, Follow my blog for windows image preparation with customisation, if you need changes, can do it in unanswered file for user account & also helpful for sysprep

https://maestropandy.wordpress.com/20...

2016-07-18 04:50:43 -0500 answered a question connecting instance to the external network

Check can you able to reach server floating ip via dhcp & for console enable "n-novnc" in stack file, for copying files to instance do sftp

2016-07-18 03:11:46 -0500 asked a question Cannot login, ping, or ssh to cirros test image - Devstack

May be this is repeated question, but i couldn't find right solution for it. Have created Cirros image and couldn't able to ping/ssh, where can able to access via network name spaces

nova list +--------------------------------------+------+--------+------------+-------------+--------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+--------------------------------+ | 78f38cc4-69e1-4135-ab9c-bd0656679372 | ceph | ACTIVE | - | Running | pandy=192.168.88.3, 172.24.4.5 | +--------------------------------------+------+--------+------------+-------------+--------------------------------+

output of #ip netns

qdhcp-e835e980-1567-4835-9a3a-7b452bad5949 qrouter-9f9f2071-d71e-4c0b-bef3-144980a287dc qrouter-2c20ea19-387d-45a1-9230-0b5f9a81f80e qdhcp-7e6f97ce-9529-440f-9e14-4f22f665a84d

and able to ping from network namespaces as below

ip netns exec qdhcp-e835e980-1567-4835-9a3a-7b452bad5949 ping 192.168.88.3

PING 192.168.88.3 (192.168.88.3) 56(84) bytes of data. 64 bytes from 192.168.88.3: icmp_seq=1 ttl=64 time=17.6 ms 64 bytes from 192.168.88.3: icmp_seq=2 ttl=64 time=0.993 ms 64 bytes from 192.168.88.3: icmp_seq=3 ttl=64 time=0.418 ms ^C --- 192.168.88.3 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms

Where host pinging is not working & ssh as well

ping 192.168.88.3 PING 192.168.88.3 (192.168.88.3) 56(84) bytes of data. From 192.168.88.31 icmp_seq=1 Destination Host Unreachable From 192.168.88.31 icmp_seq=2 Destination Host Unreachable From 192.168.88.31 icmp_seq=3 Destination Host Unreachable ^C --- 192.168.88.3 ping statistics --- 5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4015ms pipe 3

root@maestro:/home/pandy/devstack# ssh 192.168.88.3

ssh: connect to host 192.168.88.3 port 22: No route to host

Firewall is down & ssh, ICMP ports are opened in SG

2016-07-18 01:52:19 -0500 answered a question Trouble shooting for two VM ping issue.

Check Firewall security groups whether ICMP is enabled or not, if enabled please paste output of

ifconfig ovs-vsctl show ip route netstat -nr nuetron stuff

2016-07-17 06:41:54 -0500 received badge  Popular Question (source)
2016-07-13 04:03:30 -0500 asked a question devstack connect to host <> port 22: No route to host

Hi,

Created devstack/liberty, created boot from volume

nova list +--------------------------------------+--------+--------+------------+-------------+------------------------------+ | ID
| Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+--------+------------+-------------+------------------------------+ | f88745d5-762b-4652-abfa-463fbbfa0062 | test | ACTIVE | - | Running | private=10.0.0.6, 172.24.4.2 | +--------------------------------------+--------+--------+------------+-------------+------------------------------+

&&

nova secgroup-list-rules default +-------------+-----------+---------+-----------+--------------+ | IP Protocol | From Port | To Port | IP Range | Source Group | +-------------+-----------+---------+-----------+--------------+ | tcp | 22 | 22 | 0.0.0.0/0 | | | icmp | -1 | -1 | 0.0.0.0/0 | | +-------------+-----------+---------+-----------+--------------+

ssh cirros@10.0.0.6 ssh: connect to host 10.0.0.6 port 22: No route to host & also could not able to ping as well