[Openstack] Glance REST API v3 create Image from URL.

2015-01-27 Thread Vinayak Shinde
Hi All,

I am using the Image service REST API v2 to create new image.
In documentation, I am not able to see any HTTP request parameter / JSON
body parameter to specify the URL of the image.

I just wanted to know, does Image service api v2 supports creating new
image by specifying source image file URL? (Similar to
x-image-meta-location request header in v1 request ) and If yes , then how
to specify the source image URL in request ?

-- 
Thanks,
Vinayak Shinde.
___
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] [Swift] Browser-based Health Visualization

2015-01-27 Thread Christian Schwede
Hello Adam,

Swift is able to send metrics to a statsd server, and thus you can
create your own metric dashboard using graphite-web. I would add
collectd for some basic server metrics (like cpu, memory, load, network
traffic) as well. It requires a little bit of work, but it gives you a
very comprehensive metric overview.

Metrics sent by Swift:

http://docs.openstack.org/developer/swift/admin_guide.html#reporting-metrics-to-statsd

Required software (graphite-web, collectd, statsd or python-bucky):

http://graphite.readthedocs.org/en/latest/

https://collectd.org/

https://github.com/etsy/statsd

Instead of statsd you could also use python-bucky:

https://pypi.python.org/pypi/bucky

Hope that helps!

Christian

On 27.01.15 04:38, Adam Lawson wrote:
> Hey everyone,
> 
> I'm researching for web-based visualization that displays OpenStack
> Swift and/or node status, cluster health etc in some manner. Being able
> to run a command like adding/removing devices would be cool but a little
> more than I need. Does such a thing currently exist? I know about
> SwiftStack but I'm wondering if there are other efforts that have
> produced a way to visualize Swift telemetry.
> 
> Has anyone run across such a thing?
> */
> Adam Lawson/*
> 
> AQORN, Inc.
> 427 North Tatnall Street
> Ste. 58461
> Wilmington, Delaware 19801-2230
> Toll-free: (844) 4-AQORN-NOW ext. 101
> International: +1 302-387-4660
> Direct: +1 916-246-2072
> 
> 
> 
> ___
> 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] [Devstack] Enabling services in HTTPS mode

2015-01-27 Thread Rob Crittenden
Jayanthi Jeyakumar wrote:
> Hi All, 
> 
> Seeing the following error when i try to install openstack services in
> HTTPS mode .

This exact question was asked last week,
http://lists.openstack.org/pipermail/openstack/2015-January/011286.html

Check the screen logs for why the service didn't start.

rob

___
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] Controller Node Access from VMs

2015-01-27 Thread Georgios Dimitrakakis

Hi all!

I have a basic environment with two nodes (one controller and one 
compute).


My environment works well for the moment unless from the fact that I 
cannot directly access the controller from any VM and vice versa.


My VMs are getting IPs from the 10.0.0.0/24 flat network which is 
bridged with the 192.168.0.0/24 network that the controller is using 
br100.


Here is the routing table from the compute node:

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
153.5.5.128 0.0.0.0 255.255.255.128 U 0  00 
eth0
10.0.0.00.0.0.0 255.255.255.0   U 0  00 
br100
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 
br100
192.168.122.0   0.0.0.0 255.255.255.0   U 0  00 
virbr0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002   00 
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003   00 
eth1
0.0.0.0 153.5.5.129 0.0.0.0 UG0  00 
eth0


and the routing table from the VM:

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
10.0.0.00.0.0.0 255.255.255.0   U 0  00 
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002   00 
eth0
0.0.0.0 10.0.0.10.0.0.0 UG0  00 
eth0



If I try to ping the controller from the VM I am getting the following 
result:



# ping 192.168.0.10
PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data.
From 10.0.0.1: icmp_seq=2 Redirect Host(New nexthop: 192.168.0.10)
From 10.0.0.1: icmp_seq=3 Redirect Host(New nexthop: 192.168.0.10)
From 10.0.0.1: icmp_seq=4 Redirect Host(New nexthop: 192.168.0.10)
^C
--- 192.168.0.10 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3919ms


Similarly I cannot access the VM from the controller on the 10.0.0.0/24 
network but only from the compute node.


I am using nova legacy networking mostly because I do need the 
auto-assignment of floating IPs.


Any ideas are mostly welcomed.


Best,

George

___
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] dhcp lease expired on instance with 100+days of uptime

2015-01-27 Thread mad Engineer
hello all i have an instance with more than 100 days of uptime.it was
mostly idle for months.

For some reason instance was not responding to ping or any network packets.

A Closer look inside vm shows that the dhcp ip received on interface
has expired and a "dhclient" fixed everything (accessed through
console)

Is it normal on an idle system.Is there any way to always keep ip
address available on instances even on idle systems.

___
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][neutron] ipv6 DHCP state full issue

2015-01-27 Thread Ajay Kalambur (akalambu)
An upgrade to dnsmasq fixed the issue. However there seems to be an issue
with Ubuntu image when an interface is set to inet6 dhcp it does not
automatically set the obtained ip address
After the image comes up we need to ifdown and ifup the interface

Ajay


On 1/26/15, 8:08 AM, "Ajay Kalambur (akalambu)"  wrote:

>Hi 
>It looks like the default version with packstack centos is 2.66. Let me
>upgrade to 2.68 and try
>Ajay
>
>
>On 1/26/15, 1:06 AM, "Darragh O'Reilly" 
>wrote:
>
>>
>>
>>what version of dnsmasq are you using? You will need 2.67
>>or better for the client to be identified by mac address
>>
>>https://bugs.launchpad.net/neutron/+bug/1408297
>>
>>D.
>>
>>> Message: 5> Date: Fri, 23 Jan 2015 22:53:23 +> From: "Ajay Kalambur
>>>(akalambu)" 
>>
>>> To: "openstack@lists.openstack.org"
>>> 
>>> Subject: [Openstack] [openstack][neutron] ipv6 DHCP state full issue
>>> Message-ID: 
>>> Content-Type: text/plain; charset="us-ascii"
>>> 
>>> Hi
>>> I am using Openstack Juno release to test some basic ipv6. I created a
>>> ipv6 tenant network and subnet with ip6_ra_mode and ipv6_address_mode
>>>set
>>> to
>>> DHCPv6 stateful. The instance cannot get the DHCP ip address.
>>> 
>>> Reason seems to be that the DHCP advertise message in response to the
>>>DHCP
>>> solicit message from the client says no address available
>>> 14:14:07.861197 IP6 (hlim 1, next-header UDP (17) payload length: 64)
>>> fe80::f816:3eff:fee2:25ef.dhcpv6-client > ff02::1:2.dhcpv6-server: [udp
>>> sum ok] dhcp6 solicit (xid=172906 (client-ID hwaddr/time type 1 time
>>> 454713283 5254005cbf62) (option-request DNS-server DNS-search-list
>>> Client-FQDN SNTP-servers) (elapsed-time 295) (IA_NA IAID:1055008239
>>> T1:3600 T2:5400))
>>> 14:14:07.862505 IP6 (class 0xc0, hlim 64, next-header UDP (17) payload
>>> length: 92) fe80::f816:3eff:fe58:88c7.dhcpv6-server >
>>> fe80::f816:3eff:fee2:25ef.dhcpv6-client: [udp sum ok] dhcp6 advertise
>>> (xid=172906 (client-ID hwaddr/time type 1 time 454713283 5254005cbf62)
>>> (server-ID hwaddr/time type 1 time 475357091 fa163e5888c7) (IA_NA
>>> IAID:1055008239 T1:4294967295 T2:4294967295) (status-code no
>>>addresses))
>>> 
>>> 
>>> 
>>> 
>>> Dnsmasq is launched fine and the hosts file on dhcp seems to be fine
>>> fa:16:3e:e2:25:ef,host-2001-50--6.openstacklocal,[2001:50::6]
>>> 
>>> But somehow the DHCP advertise message shows no addresses
>>> 
>>> Ajay
>>
>>___
>>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] Guest to Host works but host to guest does not

2015-01-27 Thread ashish.jain14
Hi,

 I am unable to ping/ssh from my host VM to guest VM.  However opposite works 
just fine, that is I am able to ping from guest  to host VM. Currently I am 
accessing my guest from horizon console and  have tried pinging/sshing into my 
host VM and it works just fine. I have  also tried using network namespace to 
ping from host to guest but it  does not work. I am using  neutron network.

I have already enabled ICMP/TCP/UDP port access using the following
nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default tcp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default udp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default icmp -1 -1 0.0.0.0/0

Any pointers would be helpful.

Thanks 
Ashish



___
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] Guest to host works but host to guest does not

2015-01-27 Thread ashish.jain14

Hi,

"Resending as the previous mail was returned back for some reason"

 I am unable to ping/ssh from my host VM to guest VM.  However opposite works 
just fine, that is I am able to ping from guest  to host VM. Currently I am 
accessing my guest from horizon console and  have tried pinging/sshing into my 
host VM and it works just fine. I have  also tried using network namespace to 
ping from host to guest but it  does not work. I am using  neutron network.

I have already enabled ICMP/TCP/UDP port access using the following
nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default tcp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default udp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default icmp -1 -1 0.0.0.0/0

Any pointers would be helpful.

Thanks
Ashish

___
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] Pinging/SSH'ng Guest to host works but host to guest does not work

2015-01-27 Thread Ashish Jain
Hello,

I am unable to ping/ssh from my host VM to guest VM. However opposite works
just fine, that is I am able to ping from guest to host VM. Currently I am
accessing my guest from horizon console and have tried pinging/sshing into
my host VM and it works just fine. I have also tried using network
namespace to ping from host to guest but it does not work. I am using
Neutron networking.

I have already enabled access to TCP/UDP/ICMP ports using the following

nova --os-tenant-name TenantA --os-username UserA --os-password password
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default tcp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default udp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default icmp -1 -1 0.0.0.0/0

Please suggest how should I go about debugging this issue.

Regards
Ashish
___
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] Image upload times out ...

2015-01-27 Thread Azher Mughal
Hi,

I just installed OpenStack Juno. Under Images, trying to create a new
Image by uploading from the local system a CentOS 7 generic cloud image
(about 943MB). However it takes hours and nothing happens.

Is there a way to upload the image from the shell ?

Thanks
-Azher


___
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] Image upload times out ...

2015-01-27 Thread Rick Jones

On 01/27/2015 11:58 AM, Azher Mughal wrote:

Hi,

I just installed OpenStack Juno. Under Images, trying to create a new
Image by uploading from the local system a CentOS 7 generic cloud image
(about 943MB). However it takes hours and nothing happens.

Is there a way to upload the image from the shell ?


I would think the glance cli - glance image-create for that?

rick jones


___
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] Image upload times out ...

2015-01-27 Thread Anne Gentle
Sure, once you have your OpenStack credentials set in your environment:
http://docs.openstack.org/user-guide/content/cli_openrc.html
then you can upload with the glance client:
http://docs.openstack.org/user-guide/content/cli_manage_images.html
or with the Python SDK:
http://docs.openstack.org/user-guide/content/sdk_manage_images.html

Hope this helps -
Anne


On Tue, Jan 27, 2015 at 1:58 PM, Azher Mughal  wrote:

> Hi,
>
> I just installed OpenStack Juno. Under Images, trying to create a new
> Image by uploading from the local system a CentOS 7 generic cloud image
> (about 943MB). However it takes hours and nothing happens.
>
> Is there a way to upload the image from the shell ?
>
> Thanks
> -Azher
>
>
> ___
> 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] Image upload times out ...

2015-01-27 Thread Erik McCormick
You can use the glance cli client (glance image-create) to do it, but it'll
call the same API over the same network connection, so unless you have a
copy of the image on the same network where glance lives, it may not help.

Any chance you are using Ceph as a backend and haven't configured a proper
chunk size? Also there was a bug in glance-store that misinterpreted that
chunk size variable and the fix took until very recently to make it into
RDO packages. Make sure you're up to date.

-Erik



On Tue, Jan 27, 2015 at 2:58 PM, Azher Mughal  wrote:

> Hi,
>
> I just installed OpenStack Juno. Under Images, trying to create a new
> Image by uploading from the local system a CentOS 7 generic cloud image
> (about 943MB). However it takes hours and nothing happens.
>
> Is there a way to upload the image from the shell ?
>
> Thanks
> -Azher
>
>
> ___
> 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] nova.conf (on Ubuntu 14.04) and documentation differing.

2015-01-27 Thread Ken D'Ambrosio
Hi, all.  On page 52 (as per the PDF page numbering; page 60 by absolute 
numbering), I'm told about [database], [glance], and 
[keystone_authtoken] sections.  However, what's below is the entirety of 
my /etc/nova/nova.conf file:


root@controller:/tmp# cat /etc/nova/nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

dpkg -S /etc/nova/nova.conf shows package nova-common as the owner.  
Extracting nova.conf from the .deb file manually shows me it having the 
same contents.  Am I doing something dumb?


This is a stock 14.04 install, updated as of this morning.

Thanks for any insights...

-Ken

___
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] nova.conf (on Ubuntu 14.04) and documentation differing.

2015-01-27 Thread Mohammed Naser
Hi Ken,

You would need to add those sections, if the docs don't make it clear,
please report it as a bug :)

Thanks
Mohammed

On Tue, Jan 27, 2015 at 4:25 PM, Ken D'Ambrosio  wrote:

> Hi, all.  On page 52 (as per the PDF page numbering; page 60 by absolute
> numbering), I'm told about [database], [glance], and [keystone_authtoken]
> sections.  However, what's below is the entirety of my /etc/nova/nova.conf
> file:
>
> root@controller:/tmp# cat /etc/nova/nova.conf
> [DEFAULT]
> dhcpbridge_flagfile=/etc/nova/nova.conf
> dhcpbridge=/usr/bin/nova-dhcpbridge
> logdir=/var/log/nova
> state_path=/var/lib/nova
> lock_path=/var/lock/nova
> force_dhcp_release=True
> libvirt_use_virtio_for_bridges=True
> verbose=True
> ec2_private_dns_show_ip=True
> api_paste_config=/etc/nova/api-paste.ini
> enabled_apis=ec2,osapi_compute,metadata
>
> dpkg -S /etc/nova/nova.conf shows package nova-common as the owner.
> Extracting nova.conf from the .deb file manually shows me it having the
> same contents.  Am I doing something dumb?
>
> This is a stock 14.04 install, updated as of this morning.
>
> Thanks for any insights...
>
> -Ken
>
> ___
> 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
>



-- 
Mohammed Naser — vexxhost
-
W. http://vexxhost.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] [All] Summit Session Proposal Voting

2015-01-27 Thread Steve Gordon
- Original Message -
> From: "Matt Griffin" 
> To: "Maish Saidel-Keesing" 
> 
> Here's a great presentation from the Women of OpenStack team about how to
> write a better speaker proposal and the voting process.
> 
> Recording: https://www.youtube.com/watch?v=CxFYNZ4jqik
> Slides:
> http://www.slideshare.net/openstack/designing-an-openstack-summit-session-submission-for-success
> 
> Best,
> Matt

The above provides good tips on enhancing your chances of getting a proposal 
selected but doesn't really address the core of the questions Maish was posing, 
which relate to the transparency of the selection process both in terms of the 
voting process and results publication (or more accurately lack thereof) and 
the subsequent impact of the track committees on the final selections (also 
unknown).

This is without endeavouring to also consider how realistic it is to pick out 
your preferred sessions from 1000+ submissions.

-Steve

> maishsk+openst...@maishsk.com> wrote:
> 
> > Hello all.
> >
> > CFP is upon us, and thereafter will be a period of voting for the sessions.
> >
> > What is the purpose of the voting period? Is it for the Foundation to
> > gauge what sessions are more popular?
> > How is this measured?
> > What weight does the popularity have in deciding if a session is
> > accepted or not?
> >
> > And most importantly - are the results of the voting process publicly
> > available - if so - where?
> > And if not - then why not?
> >
> > Thanks
> >
> > --
> > Maish Saidel-Keesing
> >
> >
> > ___
> > 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
> 

-- 
Steve Gordon, RHCE
Sr. Technical Product Manager,
Red Hat Enterprise Linux OpenStack Platform

___
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] nova.conf (on Ubuntu 14.04) and documentation differing.

2015-01-27 Thread Matt Kassawara
Packages should include at least the upstream example configuration
file(s). For some reason, Ubuntu continues to package a very minimal
nova.conf file. Please file a bug under the Ubuntu nova package [1] rather
than the documentation.

[1] https://bugs.launchpad.net/ubuntu/+source/nova

On Tue, Jan 27, 2015 at 3:33 PM, Mohammed Naser  wrote:

> Hi Ken,
>
> You would need to add those sections, if the docs don't make it clear,
> please report it as a bug :)
>
> Thanks
> Mohammed
>
> On Tue, Jan 27, 2015 at 4:25 PM, Ken D'Ambrosio  wrote:
>
>> Hi, all.  On page 52 (as per the PDF page numbering; page 60 by absolute
>> numbering), I'm told about [database], [glance], and [keystone_authtoken]
>> sections.  However, what's below is the entirety of my /etc/nova/nova.conf
>> file:
>>
>> root@controller:/tmp# cat /etc/nova/nova.conf
>> [DEFAULT]
>> dhcpbridge_flagfile=/etc/nova/nova.conf
>> dhcpbridge=/usr/bin/nova-dhcpbridge
>> logdir=/var/log/nova
>> state_path=/var/lib/nova
>> lock_path=/var/lock/nova
>> force_dhcp_release=True
>> libvirt_use_virtio_for_bridges=True
>> verbose=True
>> ec2_private_dns_show_ip=True
>> api_paste_config=/etc/nova/api-paste.ini
>> enabled_apis=ec2,osapi_compute,metadata
>>
>> dpkg -S /etc/nova/nova.conf shows package nova-common as the owner.
>> Extracting nova.conf from the .deb file manually shows me it having the
>> same contents.  Am I doing something dumb?
>>
>> This is a stock 14.04 install, updated as of this morning.
>>
>> Thanks for any insights...
>>
>> -Ken
>>
>> ___
>> 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
>>
>
>
>
> --
> Mohammed Naser — vexxhost
> -
> W. http://vexxhost.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
>
>
___
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] nova.conf (on Ubuntu 14.04) and documentation differing.

2015-01-27 Thread Ken D'Ambrosio

On 2015-01-27 18:45, Matt Kassawara wrote:

Packages should include at least the upstream example configuration
file(s). For some reason, Ubuntu continues to package a very minimal
nova.conf file. Please file a bug under the Ubuntu nova package [1]
rather than the documentation.

[1] https://bugs.launchpad.net/ubuntu/+source/nova [3]


Thanks for the link -- that was my next question.  I've tried submitting 
a bug report... and, of course, it's crashed with a timeout error.  
(Repeatedly.)  I'll try again tomorrow.




On Tue, Jan 27, 2015 at 3:33 PM, Mohammed Naser 
wrote:


Hi Ken,

You would need to add those sections, if the docs don't make it
clear, please report it as a bug :)

Thanks
Mohammed

On Tue, Jan 27, 2015 at 4:25 PM, Ken D'Ambrosio 
wrote:


Hi, all.  On page 52 (as per the PDF page numbering; page 60 by
absolute numbering), I'm told about [database], [glance], and
[keystone_authtoken] sections.  However, what's below is the
entirety of my /etc/nova/nova.conf file:

root@controller:/tmp# cat /etc/nova/nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

dpkg -S /etc/nova/nova.conf shows package nova-common as the
owner.  Extracting nova.conf from the .deb file manually shows me
it having the same contents.  Am I doing something dumb?

This is a stock 14.04 install, updated as of this morning.

Thanks for any insights...

-Ken

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


--

Mohammed Naser — vexxhost

-
W. http://vexxhost.com [2]
___
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1]
Post to     : openstack@lists.openstack.org
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1]




Links:
--
[1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[2] http://vexxhost.com/
[3] https://bugs.launchpad.net/ubuntu/+source/nova


___
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] Guest to Host works but host to guest does not

2015-01-27 Thread ashish.jain14
Hi Srinivas,


This is a single VM setup this means all the components are installed on the 
same VM. This VM has got 2 ethernet interfaces eth0 and eth1. Access to TCP/22 
is already enabled as you can see from

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default tcp 1 65535 0.0.0.0/0


Regards

Ashish



From: Srinivasreddy R 
Sent: Wednesday, January 28, 2015 12:03 AM
To: Ashish Jain (WT01 - BAS)
Subject: Re: [Openstack] Guest to Host works but host to guest does not

i think you cannot access VM from compute node or controller .
insted you can loging through external network [need to enable tcp/22, icmp 
rules in security group rules ].A pc connected to br-ex via an external 
physical interface in controller node .

regards,
srinivas.


On Tue, Jan 27, 2015 at 10:30 PM, 
mailto:ashish.jai...@wipro.com>> wrote:
Hi,

 I am unable to ping/ssh from my host VM to guest VM.  However opposite works 
just fine, that is I am able to ping from guest  to host VM. Currently I am 
accessing my guest from horizon console and  have tried pinging/sshing into my 
host VM and it works just fine. I have  also tried using network namespace to 
ping from host to guest but it  does not work. I am using  neutron network.

I have already enabled ICMP/TCP/UDP port access using the following
nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default tcp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default udp 1 65535 0.0.0.0/0

nova --os-tenant-name TenantA --os-username UserA --os-password password 
--os-auth-url=http://localhost:5000/v2.0 \
secgroup-add-rule default icmp -1 -1 0.0.0.0/0

Any pointers would be helpful.

Thanks
Ashish



___
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



--
thanks
srinivas.
___
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] Heat autoscaling stack creation failed for normal user

2015-01-27 Thread m.channappa.negalur
Hello Steven,

Thanks for the response.

I went through your blog. It's really good . I have question here.

Openstack CLI will support only V3 version of keystone client?. Because it's 
not taking subcommand "--description". Please look into the below output.

I have installed juno on  Ubuntu 14.04 OS.


root@Control:/var/log/keystone# openstack --os-token f23eff54962207fa37b6 
--os-url=http://Control:5000/v2.0 --os-identity-api-version=2 domain create 
heat --description "Owns users and projects created by heat"

ERROR: openstack Invalid command '--description'

root@Control:/home/oss# openstack --debug --os-token f23eff54962207fa37b6 
--os-url=http://Control:5000/v2.0  domain create heat --description "Owns users 
and projects created by heat"
ERROR: openstackclient.shell Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 125, 
in run
return super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 215, in run
result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 261, in 
run_subcommand
subcommand = self.command_manager.find_command(argv)
  File "/usr/lib/python2.7/dist-packages/cliff/commandmanager.py", line 67, in 
find_command
raise ValueError('Invalid command %r' % search_args[0])
ValueError: Invalid command '--description'

root@Control:/home/oss# dpkg -l | grep -i python-openstackclient
ii  python-openstackclient   0.3.0-1ubuntu1
all  OpenStack Command-line Client
root@Control:/home/oss#

root@Control:/var/log/keystone# dpkg -l | grep -i keystone
ii  keystone 1:2014.2-0ubuntu1~cloud0  
all  OpenStack identity service - Daemons
ii  python-keystone  1:2014.2-0ubuntu1~cloud0  
all  OpenStack identity service - Python library
ii  python-keystoneclient1:0.10.1-0ubuntu1~cloud0  
all  Client library for OpenStack Identity API
ii  python-keystonemiddleware1.0.0-1~cloud0
all  Middleware for OpenStack Identity (Keystone) - Python 2.x
root@Control:/var/log/keystone#

root@Control:/var/log/keystone# dpkg -l | grep -i heat
ii  heat-api 2014.2-0ubuntu1~cloud0
all  OpenStack orchestration service - ReST API
ii  heat-api-cfn 2014.2-0ubuntu1~cloud0
all  OpenStack orchestration service - CFN API
ii  heat-common  2014.2-0ubuntu1~cloud0
all  OpenStack orchestration service - common files
ii  heat-engine  2014.2-0ubuntu1~cloud0
all  OpenStack orchestration service - engine
ii  python-heat  2014.2-0ubuntu1~cloud0
all  OpenStack orchestration service - Python files
ii  python-heatclient0.2.10-0ubuntu1~cloud0
all  client library and CLI for OpenStack Heat
root@Control:/var/log/keystone#

Regards,
Malleshi CN

-Original Message-
From: Steven Hardy [mailto:sha...@redhat.com]
Sent: Friday, January 23, 2015 6:48 PM
To: Channappa Negalur, M.
Cc: openstack@lists.openstack.org
Subject: Re: [Openstack] [openstack] Heat autoscaling stack creation failed for 
normal user

On Fri, Jan 23, 2015 at 09:06:16AM +, m.channappa.nega...@accenture.com 
wrote:
>Hello all,
>
>
>
>I was trying to launch a autoscaling template from a normal user. But it's
>able to create a vm but not the autoscaling policy with the below error. (
>For admin it will work)

Hi, you need to configure heat to use stack domain users:

http://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html

That includes instructions on creating the domain via python-openstackclient, 
or there is a tool in the heat tree "heat-keystone-setup-domain" which will do 
it for you.

Whatever method you use, the steps are the same:

1. Create a new keystone domain, e.g "heat"
2. Create a domain-admin user, who can manage projects and users in the new 
domain.
3. Update stack_domain* in heat.conf with the output from the steps above.

Hope that helps,

Steve



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy.
__