Re: [Openstack] Compute Node asks for [placement] section

2017-03-02 Thread Georgios Dimitrakakis

Mihai, I am putting the list here as well...

No I didn't add the [placement] section in nova.conf on the controller 
but adding it only on the compute node brought it online.


I don't know yet if I can spawn an instance and if what you are saying 
is mandatory in Ocata in order to spawn one since I haven't reached that 
part of the installation guide. The verification though of the compute 
services went OK as supposed to by the installation guide.


Best,

George


Hi, 

Did you also add the [placement] section in nova.conf on the
controller?

Also in Ocata AFAIK you also need to create cell_v2 with nova-manage
or else you wont be able to spawn instances.

But first add the placement section on the controller too in 
nova.conf

and the computes shoukd come online.

On 2 Mar 2017 09:27, "Georgios Dimitrakakis"  wrote:


On 03/01/2017 05:13 PM, Georgios Dimitrakakis wrote:


All,

I am trying to deploy OpenStack Ocata on bare metal servers
using the official
guide from here:








https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html

[1]

Unfortunately I have stuck at deploying the Compute Node due to
the following
error in the logs when I try to start nova-compute service:

2017-03-02 00:27:16.052 4236 INFO nova.service [-] Starting
compute node
(version 15.0.0-1.el7)
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service [-]
Error starting thread.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
Traceback (most recent
call last):
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/oslo_service/service.py",
line 722, in
run_service
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
service.start()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/service.py", line 144,
in start
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
self.manager.init_host()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py",
line 1136, in init_host
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service   
 raise
exception.PlacementNotConfigured()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
PlacementNotConfigured:
This compute is not configured to talk to the placement
service. Configure the
[placement] section of nova.conf and restart the service.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service


Did it actually kill the nova-compute service or just complain in
the
logs?  The release notes for nova in Ocata say:

    The nova-compute worker now communicates with the new
placement API
    service. Nova determines the placement API service by
querying the
    OpenStack service catalog for the service with a service
type of
    placement. If there is no placement entry in the service
catalog,
    nova-compute will log a warning and no longer try to
reconnect to the
    placement API until the nova-worker process is restarted.

Chris


Hi Chris,

it is constantly printing this output in the log and also prevents
the openstack-nova-compute.service
from being shown as Active (running) when doing a "systemctl status
openstack-nova-compute.service"

There is already a proposed bug fix
https://review.openstack.org/#/c/440140/ [2] which seems to solve
this problem

For reference I ve added the following in the "placement" section
of nova.conf in the compute node

        [placement]
        # ...
        os_region_name = RegionOne
        project_domain_name = Default
        user_domain_name = Default
        project_name = service
        auth_type = password
        username = nova
        password = NOVA_PASS
        auth_url = http://controller:35357/v3 [3]

Best regards,

George

___
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [4]
Post to     : openstack@lists.openstack.org [5]
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [6]



Links:
--
[1]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[2] https://review.openstack.org/#/c/440140/
[3] http://controller:35357/v3
[4] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[5] mailto:openstack@lists.openstack.org
[6] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[7] mailto:gior...@acmac.uoc.gr



___
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] Integrating Ceph Jewel as Storage Backend for OpenStack Newton

2017-03-02 Thread Esteban Freire
Hello all,

I am testing OpenStack Newton on CentOS 7 and now I already have a OpenStack 
cloud infrastructure working, I would like to integrate Ceph with Cinder, 
Glance and Nova services.

I have found some information about how to performance this on previous 
releases for Openstack and Ceph:

http://docs.ceph.com/docs/jewel/rbd/rbd-openstack/

And I tried to update the variables according to 
https://docs.openstack.org/newton/config-reference/block-storage/drivers/ceph-rbd-volume-driver.html

This is my current glance-api.conf and which is working:

    [glance_store]
    stores = file,http
    default_store = file
    filesystem_store_datadir = /var/lib/glance/images/


At this is what I tried (at the moment, I have only tried it with the glance 
service but I did not get success):

    * Install python-rbd and python-rados from centos-ceph-jewel repo on the 
controller node.
    * Create a ceph user and add it to sudoers.
    * On ceph admin node:
        sudo ceph osd pool create images 150
        sudo ceph auth get-or-create client.glance mon 'allow r' osd 'allow 
class-read object_prefix rbd_children, allow rwx pool=images'
        sudo ceph auth get-or-create client.glance | ssh ceph@controller-node1 
sudo tee /etc/ceph/ceph.client.glance.keyring
        ssh ceph@controller-node1 sudo chown glance:glance 
/etc/ceph/ceph.client.glance.keyring
    
    * On the controller node, I edited the glance-api.conf file with the 
following variables:

        [glance_store]
        stores = file,http,rbd
        default_store = rbd
        rbd_pool = images
        rbd_user = glance
        rbd_ceph_conf = /etc/ceph/ceph.conf
        rbd_store_chunk_size = 8
    (!) I also have tried with stores = rbd but without success. 
    
    * And restart the service, systemctl restart openstack-glance-api

But when I try to create a new image, I get the following issue:

    [openstackadmin@controller-node1 ~]$ openstack image create "cirros ceph" 
--file /home/openstackadmin/cirros-0.3.4-x86_64-disk.raw --disk-format raw 
--container-format bare --public
    500 Internal Server Error
    The server has either erred or is incapable of performing the requested 
operation.
    (HTTP 500)

Is there any documentation about how to integrate Ceph jewel with OpenStack 
newton (Cinder, Glance and Nova services)? If it is so, could you please 
provide me the link?     

On the other hand, Is there any way to chose the store when creating an image? 
I mean, to choose for example if save the image on /var/lib/glance/images/ or 
on Ceph. 

I would appreciate if you could help me to set up this integration. 

This is the most relevant info I can see on the logs and as far as I see from 
it, I have a permissions error but I am not sure what I need to modify. It is 
my first installation with OpenStack by the way and I am trying at home to see 
how it works :)

{{{
/var/log/glance/api.log

2017-03-01 23:43:41.419 4197 INFO eventlet.wsgi.server 
[req-eea55909-c963-4158-b30c-3f2779fd78c6 c41043a1ddc14ffba1b45c0a3287e0bf 
b2d1547f0e734f87a84feea75ccd6453 - default default] 192.168.56.2 - - 
[01/Mar/2017 23:43:41] "GET /v2/schemas/image HTTP/1.1" 200 4352 0.421281
2017-03-01 23:43:41.570 4197 INFO eventlet.wsgi.server 
[req-f5ef0b43-0ddf-4698-8459-2f75fb1822a3 c41043a1ddc14ffba1b45c0a3287e0bf 
b2d1547f0e734f87a84feea75ccd6453 - default default] 192.168.56.2 - - 
[01/Mar/2017 23:43:41] "POST /v2/images HTTP/1.1" 201 859 0.110681
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data 
[req-98c406fb-7bc0-47de-bace-2b0a2097b699 c41043a1ddc14ffba1b45c0a3287e0bf 
b2d1547f0e734f87a84feea75ccd6453 - default default] Failed to upload image data 
due to internal error
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data Traceback (most 
recent call last):
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data   File 
"/usr/lib/python2.7/site-packages/glance/api/v2/image_data.py", line 115, in 
upload
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data 
image.set_data(data, size)
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data   File 
"/usr/lib/python2.7/site-packages/glance/domain/proxy.py", line 195, in set_data
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data 
self.base.set_data(data, size)
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data   File 
"/usr/lib/python2.7/site-packages/glance/notifier.py", line 479, in set_data
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data 
_send_notification(notify_error, 'image.upload', msg)
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data   File 
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data 
self.force_reraise()
2017-03-01 23:43:41.651 4197 ERROR glance.api.v2.image_data   File 
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in 
force_reraise
2017-03-01 23:43:41.651 4197 ERROR

Re: [Openstack] Request for more documents: Ceilometer, Gnocchi, Aodh, Senlin and OVN.

2017-03-02 Thread Mārtiņš Jakubovičs

Hello Thiago,

Could you, please, share gnocchi.conf file without sensitive data? Looks 
like I miss something, but can't find what exactly... :/


Best regards,
Martins

On 2017.03.02. 03:09, Martinx - ジェームズ wrote:

Hey Mārtiņš,

I installed it from Ubuntu packages.

I'm working right now, on a fully automated (and super simple) Ansible 
Ocata deployment, that includes Gnocchi.


I think that it will be ready by Monday!

If you have a fresh installed Ubuntu 16.04, you'll be able to give it 
a try... Or, just take a look at the automation source, it will be on 
Github.


Cheers!
Thiago

On 1 March 2017 at 08:36, Mārtiņš Jakubovičs > wrote:


Hello Thiago,

Did you installed gnocchi successfully?

I also try to deploy gnocchi but stuck in step "gnocchi-upgrade",
from http://gnocchi.xyz/install.html
 documentation. Did you installed
it from pip or from OS packages?

Thanks,

Martins


On 2017.02.16. 07:16, Martinx - ジェームズ wrote:

Guys,

 I'm trying very hard to put those pieces of software to work
together, however, it is not working as expected... I think that
I am almost there!

 Basically, I need a reliable AutoScaling solution.

 Looks like that Senlin is the answer, I manage to make the
"openstack cluster ..." commands to work (Ocata on Ubuntu 16.04
via Cloud Archive), I can run a few things here but, it is not
complete... I can see errors on Aodh, on Gnocchi...

 Thing is, there is no clear documentation about how to install
and integrate those things on Ubuntu.

 Also, I'm tired of L3 / DHCP agents and lots of Linux
Namespaces, looks like that OpenvSwitch and its OVN will replace
those things but, again, I can't find clear docs about that,
especially when with OVS+DPDK...

 Any plans for Ocata documentation?

 BTW, OpenStack is getting better and better! This project is
awesome!   :-D

Thanks!
Thiago


___
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


___ 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
 

___
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] Error in making connection Openstack Python SDK

2017-03-02 Thread Amit Kumar
Hi All,

I have deployed Openstack using Openstack-Ansible. I am using Newton
release from tag 14.0.8. My test environment is containing only Compute
Node and Controller Node (Infra Node).
When using Openstack Python SDK, I am getting following error while making
connection to external_vib_lp_address (192.168.255.45) binded to port 5000.

*openstack.exceptions.SDKException: Connection failure that may be retried.*

Any clue about this issue? More detailed traces are at:
http://paste.openstack.org/show/601053/

Python script which I am using for this purpose is attached with this
e-mail.

Thanks.

Regards,
Amit
from openstack import connection

auth_args = {
'auth_url': 'http://192.168.255.45:5000/v3',
'project_name': 'admin',
'username': 'admin',
'password': '362a7f371d10d4461659e049548',
}
conn = connection.Connection(**auth_args)

projects = conn.identity.find_project('admin')
print projects

#network = conn.network.find_network("jenkins")
#print network___
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] [Openstack-operators] Error in making connection Openstack Python SDK

2017-03-02 Thread Alexandra Settle
Hi Amit,

I have CC’d Andy McCrae, the OpenStack-Ansible PTL.

For all OpenStack-Ansible related queries, I would recommend tagging the 
subject line with [openstack-anisble] to help those with filters :)

Either that, or potentially ask your question in the IRC channel 
#openstack-ansible

Cheers,

Alex

From: Amit Kumar 
Date: Thursday, March 2, 2017 at 11:01 AM
To: Openstack , OpenStack Operators 

Subject: [Openstack-operators] Error in making connection Openstack Python SDK

Hi All,

I have deployed Openstack using Openstack-Ansible. I am using Newton release 
from tag 14.0.8. My test environment is containing only Compute Node and 
Controller Node (Infra Node).
When using Openstack Python SDK, I am getting following error while making 
connection to external_vib_lp_address (192.168.255.45) binded to port 5000.

openstack.exceptions.SDKException: Connection failure that may be retried.

Any clue about this issue? More detailed traces are at: 
http://paste.openstack.org/show/601053/

Python script which I am using for this purpose is attached with this e-mail.

Thanks.

Regards,
Amit
___
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] Assume user or create a instance for a user as admin

2017-03-02 Thread Mike Smith
Can you verify that you have given the admin user access to the demo tenant?  

> On Mar 2, 2017, at 12:03 AM, Kim Gert Nielsen  wrote:
> 
>> On Wed, Mar 01, 2017 at 02:41:37PM +, Mike Smith wrote:
>>   Using the nova command, you can do ‘nova —os-project-name=PROJECT_NAME
>>   boot’ to create an instance in that tenant, assuming your admin user has
>>   access to that tenant.You could also export the OS_PROJECT_NAME
>>   environment variable to your desired project and use the nova or openstack
>>   commands directly.
> 
> Thanks for the reply :) yeah I actuall already tried that but when I do:
> 
> openstack --os-project-name=demo server create --image
> 7f9879b0-179c-4e30-8f6d-e9668cb87f21 --flavor
> 46133cfb-0d90-4448-a897-a104994b2085 myfirstserver
> 
> I get
> 
> The request you have made requires authentication. (HTTP 401)
> (Request-ID: req-2e24a07e-4656-4c78-926f-9c8a6577b57b)
> 
> if I remove the --os-project-name and just use my environment like this
> 
> export OS_PROJECT_DOMAIN_NAME=default
> export OS_USER_DOMAIN_NAME=default
> export OS_PROJECT_NAME=admin
> export OS_USERNAME=admin
> export OS_PASSWORD=nevergonnagiveyouup
> export
> OS_AUTH_URL=http://controller:35357/v3
> export OS_IDENTITY_API_VERSION=3
> export OS_IMAGE_API_VERSION=2
> 
> I get the server created but within the admins project
> 
> -- 
> Kim Gert Nielsen
> 

___
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] A Survey on OpenStack API Failures

2017-03-02 Thread Pooya Musavi
Hi all,

I am Pooya Musavi, a Master thesis student at the University of
Montreal-Ecole Polytechnic, researching on Software Reliability in SWAT
lab. In our lab, we have conducted two researches on the API failures in
OpenStack cloud environments. At this stage we need your feedback to assess
the results, and more importantly, by using that we will be able to give
OpenStack developers/practitioners some recommendations around this issue.

So I am writing to request your participation in a brief survey. No
personally identifiable information will be associated with your responses
to any reports of these data. The survey will only take about 5 minutes to
complete. Please click the link below to go to the survey Web site:

https://goo.gl/forms/XnHwkLfQe5uB7LR82

Thank you very much for your time and cooperation.

Kind Regards
Pooya
___
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] Assume user or create a instance for a user as admin

2017-03-02 Thread Kim Gert Nielsen
On Thu, Mar 02, 2017 at 12:15:57PM +, Mike Smith wrote:
> Can you verify that you have given the admin user access to the demo tenant?

Found it :) that was the missing part thanks

-- 
Kim Gert Nielsen

___
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] [Openstack-operators] Error in making connection Openstack Python SDK

2017-03-02 Thread Amit Kumar
Thanks Alexandra. I missed to follow the convention. I will take care of it
in future.

But I am in doubt if this problem is specific to deployment using OSA or
some other generic problem.

Regards,
Amit

On Mar 2, 2017 4:35 PM, "Alexandra Settle"  wrote:

> Hi Amit,
>
>
>
> I have CC’d Andy McCrae, the OpenStack-Ansible PTL.
>
>
>
> For all OpenStack-Ansible related queries, I would recommend tagging the
> subject line with [openstack-anisble] to help those with filters :)
>
>
>
> Either that, or potentially ask your question in the IRC channel
> #openstack-ansible
>
>
>
> Cheers,
>
>
>
> Alex
>
>
>
> *From: *Amit Kumar 
> *Date: *Thursday, March 2, 2017 at 11:01 AM
> *To: *Openstack , OpenStack Operators <
> openstack-operat...@lists.openstack.org>
> *Subject: *[Openstack-operators] Error in making connection Openstack
> Python SDK
>
>
>
> Hi All,
>
>
>
> I have deployed Openstack using Openstack-Ansible. I am using Newton
> release from tag 14.0.8. My test environment is containing only Compute
> Node and Controller Node (Infra Node).
>
> When using Openstack Python SDK, I am getting following error while making
> connection to external_vib_lp_address (192.168.255.45) binded to port 5000.
>
>
>
> *openstack.exceptions.SDKException: Connection failure that may be
> retried.*
>
>
>
> Any clue about this issue? More detailed traces are at:
> http://paste.openstack.org/show/601053/
>
>
>
> Python script which I am using for this purpose is attached with this
> e-mail.
>
>
>
> Thanks.
>
>
>
> Regards,
>
> Amit
>
___
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] [Openstack-operators] Error in making connection Openstack Python SDK

2017-03-02 Thread Andy McCrae
Hi Amit,

Sending it again to include the ML!

On 2 March 2017 at 11:01, Amit Kumar  wrote:

> Hi All,
>
> I have deployed Openstack using Openstack-Ansible. I am using Newton
> release from tag 14.0.8. My test environment is containing only Compute
> Node and Controller Node (Infra Node).
> When using Openstack Python SDK, I am getting following error while making
> connection to external_vib_lp_address (192.168.255.45) binded to port 5000.
>
> *openstack.exceptions.SDKException: Connection failure that may be
> retried.*
>

Based on the error this is a connection issue -  have you tested manually
connecting to the external address you listed on that port?
A good place to start would be to start looking at why it can't connect and
seeing if you can manually connect outside of using the SDK.

Are you trying to connect from a separate host to the OpenStack
environment? If so can you even access 192.168.255.45?

If you're still having issues feel free to jump into #openstack-ansible on
Freenode and hopefully you'll be able to get more help there!

Andy
___
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] how to convert multi disk kvm virtual machine into openstack?

2017-03-02 Thread 杨佳
Hi buddies,



We want to convert my traditional kvm VMs, which usually have 2 qcow2 disks, 
one for OS and the other for DATA.
I know the typical method is importing OS disk into glance and DATA into 
cinder, and then attach the cinder volumn to a instance.
I want to know is there some way that i don't need to work with cinder. The 
reason I don't want to use cinder is that to use cinder efficiently, I need 
more expensive 10Gb ethernet hardware and switches.


Regards,

--


Maxwell Yang

E-mail: maxyang2...@163.com

___
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] Compute Node asks for [placement] section

2017-03-02 Thread Georgios Dimitrakakis
It seems that I won't be able to spawn an image even if this is working 
for now...


As you have pointed out there is also this bug: 
https://bugs.launchpad.net/openstack-manuals/+bug/1663485


that will not allow me to spawn an image until the Cells have been 
configured properly.


So I am looking for a permanent solution...

Best,

G.

On Thu, 02 Mar 2017 10:56:19 +0200, Georgios Dimitrakakis wrote:

Mihai, I am putting the list here as well...

No I didn't add the [placement] section in nova.conf on the
controller but adding it only on the compute node brought it online.

I don't know yet if I can spawn an instance and if what you are
saying is mandatory in Ocata in order to spawn one since I haven't
reached that part of the installation guide. The verification though
of the compute services went OK as supposed to by the installation
guide.

Best,

George


Hi, 

Did you also add the [placement] section in nova.conf on the
controller?

Also in Ocata AFAIK you also need to create cell_v2 with nova-manage
or else you wont be able to spawn instances.

But first add the placement section on the controller too in 
nova.conf

and the computes shoukd come online.

On 2 Mar 2017 09:27, "Georgios Dimitrakakis"  wrote:


On 03/01/2017 05:13 PM, Georgios Dimitrakakis wrote:


All,

I am trying to deploy OpenStack Ocata on bare metal servers
using the official
guide from here:








https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html

[1]

Unfortunately I have stuck at deploying the Compute Node due to
the following
error in the logs when I try to start nova-compute service:

2017-03-02 00:27:16.052 4236 INFO nova.service [-] Starting
compute node
(version 15.0.0-1.el7)
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service [-]
Error starting thread.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
Traceback (most recent
call last):
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/oslo_service/service.py",
line 722, in
run_service
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
service.start()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/service.py", line 144,
in start
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
self.manager.init_host()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py",
line 1136, in init_host
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service   
 raise
exception.PlacementNotConfigured()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
PlacementNotConfigured:
This compute is not configured to talk to the placement
service. Configure the
[placement] section of nova.conf and restart the service.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service


Did it actually kill the nova-compute service or just complain in
the
logs?  The release notes for nova in Ocata say:

    The nova-compute worker now communicates with the new
placement API
    service. Nova determines the placement API service by
querying the
    OpenStack service catalog for the service with a service
type of
    placement. If there is no placement entry in the service
catalog,
    nova-compute will log a warning and no longer try to
reconnect to the
    placement API until the nova-worker process is restarted.

Chris


Hi Chris,

it is constantly printing this output in the log and also prevents
the openstack-nova-compute.service
from being shown as Active (running) when doing a "systemctl status
openstack-nova-compute.service"

There is already a proposed bug fix
https://review.openstack.org/#/c/440140/ [2] which seems to solve
this problem

For reference I ve added the following in the "placement" section
of nova.conf in the compute node

        [placement]
        # ...
        os_region_name = RegionOne
        project_domain_name = Default
        user_domain_name = Default
        project_name = service
        auth_type = password
        username = nova
        password = NOVA_PASS
        auth_url = http://controller:35357/v3 [3]

Best regards,

George

___
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [4]
Post to     : openstack@lists.openstack.org [5]
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [6]



Links:
--
[1]

https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html
[2] https://review.openstack.org/#/c/440140/
[3] http://controller:35357/v3
[4] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[5] mailto:openstack@lists.openstack.org
[6] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[7] mailto:gior...@acmac.uoc.gr



___
Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Post to : openstack@lists.openstack.org
Unsubscribe : 
http://lists.openst

[Openstack] Opestack-ansible lxc_container_create

2017-03-02 Thread Dimitris Theoharis
Hello
i am trying to deploy newton via the ansible role to 6 nodes. The
setup-hosts.yml after a while starts giving these errors

 

< TASK [lxc_container_create : Wait for ssh to be available] >

 

\   ^__^

 \  (oo)\___

(__)\   )\/\

||w |

|| ||


fatal: [ostack2_keystone_container-7c73e1f4 -> localhost]: FAILED! =>
{"attempts": 3, "changed": false, "elapsed": 301, "failed": true, "msg":
"Timeout when waiting for search string OpenSSH in 172.29.239.56:22"}

fatal: [ostack2_cinder_scheduler_container-058ce4de -> localhost]: FAILED!
=> {"attempts": 3, "changed": false, "elapsed": 300, "failed": true, "msg":
"Timeout when waiting for search string OpenSSH in 172.29.239.76:22"}

fatal: [ostack2_nova_conductor_container-d37221d3 -> localhost]: FAILED! =>
{"attempts": 3, "changed": false, "elapsed": 301, "failed": true, "msg":
"Timeout when waiting for search string OpenSSH in 172.29.239.129:22"}


i was told this has something to do with bridging , therefore , my
interfaces file is here : http://paste.openstack.org/show/601179/

all hosts have the same interface file listed above with the only
difference the actual host ip .  What could be wrong ?
thank you
___
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] A Survey on OpenStack API Failures

2017-03-02 Thread Pooya Musavi
Hi all again,

I am Pooya Musavi, a Master thesis student at the University of
Montreal-Ecole Polytechnic, researching on Software Reliability in SWAT
lab. In our lab, we have conducted two researches on the API failures in
OpenStack cloud environments. At this stage we need your feedback to assess
the results, and more importantly, by using that we will be able to give
OpenStack developers/practitioners some recommendations around this issue.

So I am writing to request your participation in a brief survey. No
personally identifiable information will be associated with your responses
to any reports of these data. The survey will only take about 5 minutes to
complete. Please click the link below to go to the survey Web site:

https://goo.gl/forms/XnHwkLfQe5uB7LR82

Thank you very much for your time and cooperation.

Kind Regards
Pooya
___
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] Request for more documents: Ceilometer, Gnocchi, Aodh, Senlin and OVN.

2017-03-02 Thread Martinx - ジェームズ
Here is it, the "gnocchi.conf" example: https://paste.ubuntu.com/24098302/

Hope it helps!

On 2 March 2017 at 05:35, Mārtiņš Jakubovičs 
wrote:

> Hello Thiago,
>
> Could you, please, share gnocchi.conf file without sensitive data? Looks
> like I miss something, but can't find what exactly... :/
> Best regards,
> Martins
>
>
> On 2017.03.02. 03:09, Martinx - ジェームズ wrote:
>
> Hey Mārtiņš,
>
> I installed it from Ubuntu packages.
>
> I'm working right now, on a fully automated (and super simple) Ansible
> Ocata deployment, that includes Gnocchi.
>
> I think that it will be ready by Monday!
>
> If you have a fresh installed Ubuntu 16.04, you'll be able to give it a
> try... Or, just take a look at the automation source, it will be on Github.
>
> Cheers!
> Thiago
>
> On 1 March 2017 at 08:36, Mārtiņš Jakubovičs 
> wrote:
>
>> Hello Thiago,
>>
>> Did you installed gnocchi successfully?
>>
>> I also try to deploy gnocchi but stuck in step "gnocchi-upgrade", from
>> http://gnocchi.xyz/install.html documentation. Did you installed it from
>> pip or from OS packages?
>>
>> Thanks,
>>
>> Martins
>>
>> On 2017.02.16. 07:16, Martinx - ジェームズ wrote:
>>
>> Guys,
>>
>>  I'm trying very hard to put those pieces of software to work together,
>> however, it is not working as expected... I think that I am almost there!
>>
>>  Basically, I need a reliable AutoScaling solution.
>>
>>  Looks like that Senlin is the answer, I manage to make the "openstack
>> cluster ..." commands to work (Ocata on Ubuntu 16.04 via Cloud Archive), I
>> can run a few things here but, it is not complete... I can see errors on
>> Aodh, on Gnocchi...
>>
>>  Thing is, there is no clear documentation about how to install and
>> integrate those things on Ubuntu.
>>
>>  Also, I'm tired of L3 / DHCP agents and lots of Linux Namespaces, looks
>> like that OpenvSwitch and its OVN will replace those things but, again, I
>> can't find clear docs about that, especially when with OVS+DPDK...
>>
>>  Any plans for Ocata documentation?
>>
>>  BTW, OpenStack is getting better and better! This project is awesome!
>> :-D
>>
>> Thanks!
>> Thiago
>>
>>
>> ___
>> 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
>>
>> ___ 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
>
>
___
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] {Disarmed} Opestack-ansible lxc_container_create

2017-03-02 Thread Georgios Dimitrakakis

Dimitri,

have you checked for all the "usual suspects" (firewall, networking, 
ssh up etc.)?


Best,

George

On Thu, 2 Mar 2017 12:00:54 -0800, Dimitris Theoharis wrote:

Hello
i am trying to deploy newton via the ansible role to 6 nodes. The
setup-hosts.yml after a while starts giving these errors 

 

< TASK [lxc_container_create : Wait for ssh to be available] >

 

          ^__^

           (oo)___

            (__)       )/

                ||w |

                ||     ||

fatal: [ostack2_keystone_container-7c73e1f4 -> localhost]: FAILED! =>
{"attempts": 3, "changed": false, "elapsed": 301, "failed": true,
"msg": "Timeout when waiting for search string OpenSSH in MAILSCANNER
WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS: 172.29.239.56:22 [1]"}

fatal: [ostack2_cinder_scheduler_container-058ce4de -> localhost]:
FAILED! => {"attempts": 3, "changed": false, "elapsed": 300, 
"failed":

true, "msg": "Timeout when waiting for search string OpenSSH in
MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS:
172.29.239.76:22 [2]"}

fatal: [ostack2_nova_conductor_container-d37221d3 -> localhost]:
FAILED! => {"attempts": 3, "changed": false, "elapsed": 301, 
"failed":

true, "msg": "Timeout when waiting for search string OpenSSH in
MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS:
172.29.239.129:22 [3]"}

i was told this has something to do with bridging , therefore , my
interfaces file is here : http://paste.openstack.org/show/601179/ [4]

all hosts have the same interface file listed above with the only
difference the actual host ip .  What could be wrong ?
thank you

Links:
--
[1] http://172.29.239.56:22
[2] http://172.29.239.76:22
[3] http://172.29.239.129:22
[4] http://paste.openstack.org/show/601179/


___
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] Compute Node asks for [placement] section

2017-03-02 Thread Georgios Dimitrakakis


Thanks for the feedback, but I am assuming that this by itself is not 
enough.

I guess I should have created the DB before.
Any other actions that must be done before that?

Best,

George



To add cells you need to issue the following command after nova
service-list lists all your compute nodes as up state!

nova-manage cell_v2 simple_cell_setup --transport-url $transport_url

Where

$transport_url=rabbit://{rabbit_user}:{rabbit_pass}@{rabbit_host}:{rabbit_port}

This command will populate the db and add a transport_url option in
nova.conf on the controller.

Again, you need to issue this command after all computes node show as
up state in nova service-list, otherwise you will still be unable to
spawn instances.

I might have written the command wrong from the top of my head, but
issue a nova-manage help cell_v2 to see the appropiate option.

I am mailing you directly because for some reason i am unable to send
to thr mailing list.

When you reply to the mailing list olease put this mail in it so
others can see it too if they have the same problem.

Thanks,
Mihai

On 2 Mar 2017 20:00, "Georgios Dimitrakakis"  wrote:


It seems that I wont be able to spawn an image even if this is
working for now...

As you have pointed out there is also this bug:
https://bugs.launchpad.net/openstack-manuals/+bug/1663485 [17]

that will not allow me to spawn an image until the Cells have been
configured properly.

So I am looking for a permanent solution...

Best,

G.

On Thu, 02 Mar 2017 10:56:19 +0200, Georgios Dimitrakakis wrote:


Mihai, I am putting the list here as well...

No I didnt add the [placement] section in nova.conf on the
controller but adding it only on the compute node brought it
online.

I dont know yet if I can spawn an instance and if what you are
saying is mandatory in Ocata in order to spawn one since I havent
reached that part of the installation guide. The verification
though
of the compute services went OK as supposed to by the
installation
guide.

Best,

George


Hi, 

Did you also add the [placement] section in nova.conf on the
controller?

Also in Ocata AFAIK you also need to create cell_v2 with
nova-manage
or else you wont be able to spawn instances.

But first add the placement section on the controller too in
nova.conf
and the computes shoukd come online.

On 2 Mar 2017 09:27, "Georgios Dimitrakakis"  wrote:


On 03/01/2017 05:13 PM, Georgios Dimitrakakis wrote:


All,

I am trying to deploy OpenStack Ocata on bare metal
servers
using the official
guide from here:









https://docs.openstack.org/ocata/install-guide-rdo/nova-compute-install.html

[6]


[1]

Unfortunately I have stuck at deploying the Compute Node
due to
the following
error in the logs when I try to start nova-compute
service:

2017-03-02 00:27:16.052 4236 INFO nova.service [-]
Starting
compute node
(version 15.0.0-1.el7)
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
[-]
Error starting thread.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
Traceback (most recent
call last):
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File


"/usr/lib/python2.7/site-packages/oslo_service/service.py",

line 722, in
run_service
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
service.start()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File
"/usr/lib/python2.7/site-packages/nova/service.py", line
144,
in start
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
self.manager.init_host()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 File


"/usr/lib/python2.7/site-packages/nova/compute/manager.py",

line 1136, in init_host
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service 
 
 raise
exception.PlacementNotConfigured()
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service
PlacementNotConfigured:
This compute is not configured to talk to the placement
service. Configure the
[placement] section of nova.conf and restart the service.
2017-03-02 00:27:16.053 4236 ERROR oslo_service.service


Did it actually kill the nova-compute service or just
complain in
the
logs?  The release notes for nova in Ocata say:

    The nova-compute worker now communicates with the new
placement API
    service. Nova determines the placement API service by
querying the
    OpenStack service catalog for the service with a
service
type of
    placement. If there is no placement entry in the
service
catalog,
    nova-compute will log a warning and no longer try to
reconnect to the
    placement API until the nova-worker process is
restarted.

Chris


Hi Chris,

it is constantly printing this output in the log and also
prevents
the openstack-nova-compute.service
from being shown as Active (running) when doing a "systemctl
status
openstack-nova-compute.service"

There is already a proposed bug fix
https://review.openstack.org/#/c/440140/ [1] [2] which seems
to solve
this problem

For reference I ve added the following in the "placement"
section
of nova.conf in the compute node

        [placemen

[Openstack] Why does Horizon randomly hang for minutes on end

2017-03-02 Thread Sterdnot Shaken
Openstack version: Mitaka

I know this is a difficult question to answer, but we have been having
strange pauses (that last for 1 to 4 minutes) randomly showing up in
Horizon when we are either modify\adding\deleting objects
(network,subnet,instances,etc). It seems to happen more regularly when we
repeatedly perform said operations. Usually, during those pauses, I can ssh
to, say Neutron, and make my modifications just fine, but other times even
that method is slow.

During those states, we have checked cpu on various server nodes including
Neutron, Horizon etc, yet all have ver low CPU consumption during those
times.

Has anyone seen this before? Could it be an issue involving RabbitMQ
potentually?

Sorry for the needle in a haystack question and thanks in advance!
___
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