[Openstack] To make compute nodes redundant

2016-12-27 Thread Atif Munir
Hi,

I have an OpenStack installation with

1 x controller node
3 x compute nodes

How I can declare one compute as redundant, I am afraid if something goes
wrong with one compute, how the Instances are going to survive. Thanks

Atif
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] (no subject)

2016-12-21 Thread Atif Munir
Thanks everyone for reply.

The problem got resolved by adding

SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

in
the /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py
file.and I was able to launch my first Instance.


This is really a great product and a game changer for the next 5-10 years.


Regards,
Atif



On Wed, Dec 21, 2016 at 7:37 PM, Jose Manuel Ferrer Mosteiro <
jmferrer.paradigmatecnolog...@gmail.com> wrote:

> Double check you have closed all ' and " in vars you changed.
>
> Maybe the problem could en in values of OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,
> CACHES['default']['LOCATION'], OPENSTACK_HOST or TIME_ZONE ?
>
> You can use meld to compare original configuration file and your
> configuration file.
>
> Regards,
>   Jose Manuel
>
>
>
>
> El 2016-12-21 12:57, Neil Jerram escribió:
>
> Hi Atif,
>
> There is incorrect Python indentation in the local_settings file,
> /usr/share/openstack-dashboard/openstack_dashboard/
> local/local_settings.py.
>
> From the perspective of the vanilla Horizon project, I believe
> local_settings.py is a file that the user can create and/or modify in order
> to influence how their own web UI looks.  So it could be that you created
> that file yourself, or it could be that it was created by the install
> method that you are using.
>
> But either way, you can just open the file yourself and see if you can see
> and fix the indentation problem.
>
> Regards,
> Neil
>
>
> On Wed, Dec 21, 2016 at 11:45 AM Atif Munir <ati...@gmail.com> wrote:
>
>>
>> After successful installation of openstack. I am getting this error while
>> I was going to open http://controller/horizon. The error message is for
>> Apache2 erro logs. Please advise. Thanks
>>
>> Atif
>>
>>
>> [Wed Dec 21 16:30:36.170646 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] mod_wsgi (pid=5302): Target
>> WSGI script 
>> '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'
>> cannot be loaded as Python module.
>> [Wed Dec 21 16:30:36.170708 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] mod_wsgi (pid=5302):
>> Exception occurred processing WSGI script '/usr/share/openstack-
>> dashboard/openstack_dashboard/wsgi/django.wsgi'.
>> [Wed Dec 21 16:30:36.170734 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] Traceback (most recent call
>> last):
>> [Wed Dec 21 16:30:36.170757 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File "/usr/share/openstack-
>> dashboard/openstack_dashboard/wsgi/django.wsgi", line 16, in 
>> [Wed Dec 21 16:30:36.170790 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] application =
>> get_wsgi_application()
>> [Wed Dec 21 16:30:36.170803 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File
>> "/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in
>> get_wsgi_application
>> [Wed Dec 21 16:30:36.170820 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] django.setup()
>> [Wed Dec 21 16:30:36.170830 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File
>> "/usr/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup
>> [Wed Dec 21 16:30:36.170844 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]
>> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
>> [Wed Dec 21 16:30:36.170853 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File
>> "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in
>> __getattr__
>> [Wed Dec 21 16:30:36.170868 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] self._setup(name)
>> [Wed Dec 21 16:30:36.170894 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File
>> "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in
>> _setup
>> [Wed Dec 21 16:30:36.170910 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754] self._wrapped =
>> Settings(settings_module)
>> [Wed Dec 21 16:30:36.170920 2016] [wsgi:error] [pid 5302:tid
>> 140489127257856] [remote 172.16.72.2:40754]   File
>> "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in
>> __init__
>> [Wed Dec 21 16:30:36.170933 2016] [wsgi:error] [pid 5302:

[Openstack] (no subject)

2016-12-21 Thread Atif Munir
After successful installation of openstack. I am getting this error while I
was going to open http://controller/horizon. The error message is for
Apache2 erro logs. Please advise. Thanks

Atif


[Wed Dec 21 16:30:36.170646 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] mod_wsgi (pid=5302): Target
WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'
cannot be loaded as Python module.
[Wed Dec 21 16:30:36.170708 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] mod_wsgi (pid=5302): Exception
occurred processing WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Wed Dec 21 16:30:36.170734 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] Traceback (most recent call
last):
[Wed Dec 21 16:30:36.170757 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line
16, in 
[Wed Dec 21 16:30:36.170790 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] application =
get_wsgi_application()
[Wed Dec 21 16:30:36.170803 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in
get_wsgi_application
[Wed Dec 21 16:30:36.170820 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] django.setup()
[Wed Dec 21 16:30:36.170830 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/dist-packages/django/__init__.py", line 17, in setup
[Wed Dec 21 16:30:36.170844 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Wed Dec 21 16:30:36.170853 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 48, in
__getattr__
[Wed Dec 21 16:30:36.170868 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] self._setup(name)
[Wed Dec 21 16:30:36.170894 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 44, in
_setup
[Wed Dec 21 16:30:36.170910 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] self._wrapped =
Settings(settings_module)
[Wed Dec 21 16:30:36.170920 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 92, in
__init__
[Wed Dec 21 16:30:36.170933 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] mod =
importlib.import_module(self.SETTINGS_MODULE)
[Wed Dec 21 16:30:36.170943 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Wed Dec 21 16:30:36.170957 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] __import__(name)
[Wed Dec 21 16:30:36.170973 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/settings.py",
line 317, in 
[Wed Dec 21 16:30:36.170991 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] from local.local_settings
import *  # noqa
[Wed Dec 21 16:30:36.171047 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754]   File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/local/local_settings.py",
line 322
[Wed Dec 21 16:30:36.171061 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] 'profile_support': None,
[Wed Dec 21 16:30:36.171066 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] ^
[Wed Dec 21 16:30:36.171071 2016] [wsgi:error] [pid 5302:tid
140489127257856] [remote 172.16.72.2:40754] IndentationError: unexpected
indent
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Create a domain, projects, users, and roles

2016-12-18 Thread Atif Munir
 doesn't work.
> Everything depends on, how did you setup your environment, but you can
> try to verify what's wrong by using debug command:
> openstack --debug project create --domain default --description
> "Service Project" service
>
> or diving directly to logs and looking there for some tips, what could
> go wrong (in /opt/stack/logs or /var/log/keystone).
>
> Then we can try to see, what could go wrong.
>
> Good luck,
> Dariusz
>
> 2016-12-16 4:53 GMT-06:00 Atif Munir <ati...@gmail.com>:
> >
> > Hi Folks,
> >
> > While doing my installation, I am getting this error, can anyone help on
> > this. Thanks a lot.
> >
> >
> > root@ubuntu:~#  openstack project create --domain default \
> >>   --description "Service Project" service
> > Discovering versions from the identity service failed when creating the
> > password plugin. Attempting to determine version from URL.
> > Service Unavailable (HTTP 503)
> > root@ubuntu:~#
> >
> >
> > Regards,
> > Atif Munir
> >
> > ___
> > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> > Post to : openstack@lists.openstack.org
> > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/
> openstack
> >
>
>
>
> --
> Darek "dasm" Śmigiel
>
> 
> Q: Why is this email five sentences or less?
> A: http://five.sentenc.es
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Create a domain, projects, users, and roles

2016-12-16 Thread Atif Munir
Hi Folks,

While doing my installation, I am getting this error, can anyone help on
this. Thanks a lot.


root@ubuntu:~#  openstack project create --domain default \
>   --description "Service Project" service
Discovering versions from the identity service failed when creating the
password plugin. Attempting to determine version from URL.
Service Unavailable (HTTP 503)
root@ubuntu:~#


Regards,
Atif Munir
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack