[Openstack] setup linux users

2013-07-05 Thread Gonfi den Tschal
i'm having some difficulties following the tutorial at
http://docs.openstack.org/developer/swift/development_saio.html

1) the user:
i don't understand how it's meant, i guessed:
 - root for the commands
 -  should be "swift", a user account without login
privileges, created as:
   useradd -s /usr/sbin/nologin swift
 - some standard user with login where the ~/bin stuff goes
because the text says "Swift processes also run under a separate user and
group" (separate, so not the same as my user).
"which may not exist on your system" confusing also, does it mean it does
not need to be created? or that it probably does not exist yet, and i
should create it?
i've used the standard user to run the commands with sudo. but then i got
stuck with setting up scripts when running them as my login user (not swift
user), i got:
myuser@mymachine:~/bin$ remakerings
Traceback (most recent call last):
  File "/usr/bin/swift-ring-builder", line 676, in 
mkdir(backup_dir)
OSError: [Errno 13] Permission denied: 'backups'
Ring Builder file does not exist: object.builder
...

so: should the swift user be a standard user, and also run the scripts?

2) i don't want to get a dev version of the code, so i've followed the
install instructions from
http://docs.openstack.org/developer/swift/howto_installmultinode.html
installing swift worked, but not python-swiftclient:
myuser@mymachine:~/bin$ sudo apt-get install python-swiftclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-swiftclient

3) i'm setting up a vm to be used for development, but i'll also clone it
to use it for the early stage of the running live app. is there a better
tutorial somewhere?

thanks,
gonfi
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Availability Zones in Grizzly are not recognized

2013-07-05 Thread Joe Gordon
On Tue, Jul 2, 2013 at 10:21 AM, Vogl, Yves  wrote:

>  Hi,
>
> I want to segregate my installation into „Availability Zones“.
> I've configured a working multi-host installation with following hosts:
>
>
> [FIGURE 1]
> # nova availability-zone-list
> +---++
> | Name  | Status |
> +---++
> | internal  | available  |
> | |- Controller ||
> | | |- nova-conductor   | enabled :-) 2013-07-02T08:05:57.00 |
> | | |- nova-scheduler   | enabled :-) 2013-07-02T08:05:59.00 |
> | | |- nova-consoleauth | enabled :-) 2013-07-02T08:06:02.00 |
> | |- hvm-A   ||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:58.00 |
> | |- hvm-B   ||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:56.00 |
> | |- hvm-C   ||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:57.00 |
> | |- hvm-D   ||
> | | |- nova-network | enabled :-) 2013-07-02T08:06:01.00 |
> | nova  | available  |
> | |- hvm-A   ||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:03.00 |
> | |- hvm-B   ||
> | | |- nova-compute | enabled :-) 2013-07-02T08:05:55.00 |
> | |- hvm-C   ||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:00.00 |
> | |- hvm-D   ||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:00.00 |
> +---++
>
> Now I want to introduce another „Availability Zone“ to get something like
> this:
>
>
>  [FIGURE 2]
> # nova availability-zone-list
> +---++
> | Name  | Status |
> +---++
> | internal  | available  |
> | |- Controller ||
> | | |- nova-conductor   | enabled :-) 2013-07-02T08:05:57.00 |
> | | |- nova-scheduler   | enabled :-) 2013-07-02T08:05:59.00 |
> | | |- nova-consoleauth | enabled :-) 2013-07-02T08:06:02.00 |
> | |- hvm-A||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:58.00 |
> | |- hvm-B||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:56.00 |
> | |- hvm-C||
> | | |- nova-network | enabled :-) 2013-07-02T08:05:57.00 |
> | |- hvm-D||
> | | |- nova-network | enabled :-) 2013-07-02T08:06:01.00 |
> | zone_1| available  |
> | |- hvm-A||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:03.00 |
> | |- hvm-B||
> | | |- nova-compute | enabled :-) 2013-07-02T08:05:55.00 |
> | |- hvm-C||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:00.00 |
> | zone_2| available  |
> | |- hvm-D||
> | | |- nova-compute | enabled :-) 2013-07-02T08:06:00.00 |
> +---++
>
>
> So I configured on the Controller:
>
>  # Scheduler
> default_schedule_zone=zone_1
> default_availability_zone=zone_1
>
>
>  And on the compute nodes:
>
>  # Scheduler
> default_availability_zone=zone_1
>
>  resp.
>
>  # Scheduler
> default_availability_zone=zone_2
>
>  It seems that those values are ignored because no availability zones are
> shown up. It still looks like [FIGURE 1].
>
> Am I missing something?
>

This should help:

http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/


>
>   --
>
> Mit freundlichen Grüßen
> Yves Vogl
> *
> *
> *adesso mobile solutions GmbH*
>  Yves Vogl
> Leiter IT Operations
>   ** **
> Stockholmer Allee 24 | 44269 Dortmund
> T +49 231 930 9379 | F +49 231 930 9317 | 
>   Mail: v...@adesso-mobile.de | Web: www.adesso-mobile.de | Mobil-Web:
> adesso-mobile.mobi
>
>  Vertretungsberechtigte Geschäftsführer: Dr. Josef Brewing, Frank
> Dobelmann
>Registergericht: Amtsgericht Dortmund
> Registernummer: HRB 13763

[Openstack] Grizzly keystone files user and tenant issues

2013-07-05 Thread raghavendra.lad
Hi,
I have tried to install Grizzly using the below link:

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst

However when I try to run the files

keystone_basic.sh

and

keystone_endpoints_basic.sh


It says tenant and user needs to be declared properly. Has anyone tried to 
install Grizzly?  Please guide /assist.

Regards,
Raghavendra Lad.


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.

__

www.accenture.com
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift Client

2013-07-05 Thread CHABANI Mohamed El Hadi
Hi Hugo,

I didn't use Owncloud, i tried before Cyberduck and had a problem such
'unrecongnized SSL message' !

My purpose is just to test ! i'm using a SAIO installation, with an Ubuntu
12.04, with tempauth middleware exactly according to :
http://docs.openstack.org/developer/swift/development_saio.html

Any docs or help, to set up this client will be highly appreciated :)




2013/7/5 Kuo Hugo 

> --- I ever used ---
> 1) CyberDuck
> 2) Owncloud  (What's the problem in your test?)
> 3) Gladinet client
> 4) SwiftStack Web Console
> 5) Most of AWS S3 client tools, but you need to enable Swift3 middleware
> support
> 6) OpenStack DashBoard
> 7) Maldivica gateway
>
> -- I never use but should work --
> 8) SME
>
> Hope it help
>
>
> +Hugo Kuo+
> h...@swiftstack.com
> tonyt...@gmail.com
> +886 935004793
>
>
> 2013/7/5 CHABANI Mohamed El Hadi 
>
>> Hi people,
>>
>> I want to use my Swift all in One with a graphical client, to put /
>> retrieve objects. i heard that we can use Cyberduck (but there is problem
>> of port) or Owncloud as Swift client but didn't find good references.
>>
>> If any person could help me or suggest other clients, it would be really
>> great.
>>
>> Thank you
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift Client

2013-07-05 Thread CHABANI Mohamed El Hadi
To use Cyberduck of course.

I thing i should also use a different middleware instead of Tempauth, how
can i replace it by devauth or swauth ?


2013/7/5 CHABANI Mohamed El Hadi 

> Hi Hugo,
>
> I didn't use Owncloud, i tried before Cyberduck and had a problem such
> 'unrecongnized SSL message' !
>
> My purpose is just to test ! i'm using a SAIO installation, with an Ubuntu
> 12.04, with tempauth middleware exactly according to :
> http://docs.openstack.org/developer/swift/development_saio.html
>
> Any docs or help, to set up this client will be highly appreciated :)
>
>
>
>
> 2013/7/5 Kuo Hugo 
>
>> --- I ever used ---
>> 1) CyberDuck
>> 2) Owncloud  (What's the problem in your test?)
>> 3) Gladinet client
>> 4) SwiftStack Web Console
>> 5) Most of AWS S3 client tools, but you need to enable Swift3 middleware
>> support
>> 6) OpenStack DashBoard
>> 7) Maldivica gateway
>>
>> -- I never use but should work --
>> 8) SME
>>
>> Hope it help
>>
>>
>> +Hugo Kuo+
>> h...@swiftstack.com
>> tonyt...@gmail.com
>> +886 935004793
>>
>>
>> 2013/7/5 CHABANI Mohamed El Hadi 
>>
>>> Hi people,
>>>
>>> I want to use my Swift all in One with a graphical client, to put /
>>> retrieve objects. i heard that we can use Cyberduck (but there is problem
>>> of port) or Owncloud as Swift client but didn't find good references.
>>>
>>> If any person could help me or suggest other clients, it would be really
>>> great.
>>>
>>> Thank you
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Grizzly keystone files user and tenant issues

2013-07-05 Thread Filipe Manco
Are you sure you're using the right Keystone version? Have you properly
installed Ubuntu Cloud Archive?
Otherwise you need to provide more information.

Filipe Manco
http://about.me/fmanco


2013/7/5 

>   Hi,
>
> I have tried to install Grizzly using the below link: 
>
> ** **
>
>
> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
> 
>
> ** **
>
> However when I try to run the files 
>
> ** **
>
> *keystone_basic.sh *
>
> ** **
>
> and 
>
> ** **
>
> *keystone_endpoints_basic.sh *
>
> ** **
>
> ** **
>
> It says tenant and user needs to be declared properly. Has anyone tried to
> install Grizzly?  Please guide /assist. 
>
> ** **
>
> Regards,
>
> Raghavendra Lad.  
>
> --
> 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.
>
>
> __
>
> www.accenture.com
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [Neutron] Strange packat loss of rubygems.org

2013-07-05 Thread Heiko Krämer

Heyho guys,

I've a really strange issue and i try to find out since one week why 
i've a packet loss only by one http web site.


Description:

I've setting up Neutron with L3, DHCP and Meta agent with OVS and Gre 
tunneling.
The hole network works perfectly with all required components but I've a 
strange issue.


I start an instance with ubuntu 12.04 without any problems. The instance 
can talk with WAN AND i can curl to http://rubygems.org directly on the 
command line. The gem installer cli tool (gem) is working too.


Now i'm trying to deploy *Cloudfroundry* on *OpenStack* and it works now 
for the most cases.
If i try now to deploy an rails app to cloudfoundry the warden on the 
dea will install some gems so the usual way.
The problem is i don't get data from rubygems, only from this site °°. 
The first http handshake works



curl http://rubygems.org

tcpdump in my instance but on outside of the warden container:

/09:26:33.477668 IP (tos 0x0, ttl 63, id 16829, offset 0, flags [DF], 
proto TCP (6), length 60)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [S], cksum 0xd35c 
(correct), seq 3100954858, win 14600, options [mss 1460,sackOK,TS val 
17666391 ecr 0,nop,wscale 5], length 0//

//0x:  4500 003c 41bd 4000 3f06 b8d6 0a64 0021 E..//09:26:33.835130 IP (tos 0x0, ttl 47, id 0, offset 0, flags [DF], proto 
TCP (6), length 52)//
//54.245.255.174.80 > 10.100.0.33.56832: Flags [S.], cksum 0x028a 
(correct), seq 325285586, ack 3100954859, win 14600, options [mss 
1460,nop,nop,sackOK,nop,wscale 7], length 0//

//0x:  4500 0034  4000 2f06 0a9c 36f5 ffae E..4..@./...6...//
//0x0010:  0a64 0021 0050 de00 1363 76d2 b8d4 d0eb .d.!.P...cv.//
//0x0020:  8012 3908 028a  0204 05b4 0101 0402 ..9.//
//0x0030:  0103 0307//
//09:26:33.835328 IP (tos 0x0, ttl 63, id 16830, offset 0, flags [DF], 
proto TCP (6), length 40)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [.], cksum 0x7a9b 
(correct), seq 3100954859, ack 325285587, win 457, length 0//

//0x:  4500 0028 41be 4000 3f06 b8e9 0a64 0021 E..(A.@.?d.!//
//0x0010:  36f5 ffae de00 0050 b8d4 d0eb 1363 76d3 6..P.cv.//
//0x0020:  5010 01c9 7a9b  P...z...//
//09:26:33.835565 IP (tos 0x0, ttl 63, id 16831, offset 0, flags [DF], 
proto TCP (6), length 193)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [P.], cksum 0xd305 
(correct), seq 3100954859:3100955012, ack 325285587, win 457, length 153//

//0x:  4500 00c1 41bf 4000 3f06 b84f 0a64 0021 E...A.@.?..O.d.!//
//0x0010:  36f5 ffae de00 0050 b8d4 d0eb 1363 76d3 6..P.cv.//
//0x0020:  5018 01c9 d305  4745 5420 2f20 4854 P...GET./.HT//
//0x0030:  5450 2f31 2e31 0d0a 5573 6572 2d41 6765 TP/1.1..User-Age//
//0x0040:  6e74 3a20 6375 726c 2f37 2e31 392e 3720 nt:.curl/7.19.7.//
//0x0050:  2878 3836 5f36 342d 7063 2d6c 696e 7578 (x86_64-pc-linux//
//0x0060:  2d67 6e75 2920 6c69 6263 7572 6c2f 372e -gnu).libcurl/7.//
//0x0070:  3139 2e37 204f 7065 6e53 534c 2f30 2e39 19.7.OpenSSL/0.9//
//0x0080:  2e38 6b20 7a6c 6962 2f31 2e32 2e33 2e33 .8k.zlib/1.2.3.3//
//0x0090:  206c 6962 6964 6e2f 312e 3135 0d0a 486f .libidn/1.15..Ho//
//0x00a0:  7374 3a20 7275 6279 6765 6d73 2e6f 7267 st:.rubygems.org//
//0x00b0:  0d0a 4163 6365 7074 3a20 2a2f 2a0d 0a0d ..Accept:.*/*...//
//0x00c0:  0a   .//
//09:26:34.025768 IP (tos 0x0, ttl 47, id 28779, offset 0, flags [DF], 
proto TCP (6), length 40)//
//54.245.255.174.80 > 10.100.0.33.56832: Flags [.], cksum 0x7b50 
(correct), seq 325285587, ack 3100955012, win 123, length 0//

//0x:  4500 0028 706b 4000 2f06 9a3c 36f5 ffae E..(pk@./..<6...//
//0x0010:  0a64 0021 0050 de00 1363 76d3 b8d4 d184 .d.!.P...cv.//
//0x0020:  5010 007b 7b50  P..{{P../



On the network node I get the follow responses by http correctly but 
this will not reach the vm °°.

Sometimes will reach the response the vm one min later .


In my instance you will see some iptables rules to get connection to the 
warden containter:


iptables -L


/root@f10ee0c8-bab8-4fc1-9964-898fb76d518c:~# iptables -L//
//Chain INPUT (policy ACCEPT)//
//target prot opt source   destination //
//
//Chain FORWARD (policy ACCEPT)//
//target prot opt source   destination //
//warden-forward  all  --  anywhere anywhere //
//
//Chain OUTPUT (policy ACCEPT)//
//target prot opt source   destination //
//
//Chain warden-default (1 references)//
//target prot opt source   destination //
//
//Chain warden-forward (1 references)//
//target prot opt source   destination //
//warden-instance-170m184dmam  all  --  anywhere anywhere
[goto] //

//DROP   all  --  anywhere anywhere //
//
//Chain warden-instance-170m184dmam (1 references)//
//target prot opt source   destin

Re: [Openstack] Swift Client

2013-07-05 Thread Jonathan Lu

Hi,
Maybe you need the latest snapshot build, which you can download on 
the Cyberduck website 
, "Connect 
without SSL" section.


If that still not work, you can check the config file. If the url 
of auth is /auth/v1.0, then you should and a setting entry in the 
user.config 
file(C:\Users\[USER]\AppData\Cyberduck.exe_Url_*\[Version]\user.config 
in Win7):




Hope it help you.

Jonathan Lu

On 2013/7/5 17:18, CHABANI Mohamed El Hadi wrote:

Hi Hugo,

I didn't use Owncloud, i tried before Cyberduck and had a problem such 
'unrecongnized SSL message' !


My purpose is just to test ! i'm using a SAIO installation, with an 
Ubuntu 12.04, with tempauth middleware exactly according to : 
http://docs.openstack.org/developer/swift/development_saio.html


Any docs or help, to set up this client will be highly appreciated :)




2013/7/5 Kuo Hugo mailto:tonyt...@gmail.com>>

--- I ever used ---
1) CyberDuck
2) Owncloud  (What's the problem in your test?)
3) Gladinet client
4) SwiftStack Web Console
5) Most of AWS S3 client tools, but you need to enable Swift3
middleware support
6) OpenStack DashBoard
7) Maldivica gateway

-- I never use but should work --
8) SME

Hope it help


+Hugo Kuo+
h...@swiftstack.com 
tonyt...@gmail.com

+886 935004793 


2013/7/5 CHABANI Mohamed El Hadi mailto:chabani.mohamed.h...@gmail.com>>

Hi people,

I want to use my Swift all in One with a graphical client, to
put / retrieve objects. i heard that we can use Cyberduck (but
there is problem of port) or Owncloud as Swift client but
didn't find good references.

If any person could help me or suggest other clients, it would
be really great.

Thank you

___
Mailing list: https://launchpad.net/~openstack

Post to : openstack@lists.launchpad.net

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Swift Client

2013-07-05 Thread CHABANI Mohamed El Hadi
Okey thank's, i will check this approach.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Neutron] Strange packat loss of rubygems.org

2013-07-05 Thread Heiko Krämer

Heyho Guys,

me again :)

Yeah I'm posting on the list and what happen? I find the problem :)

The problem is/was the same like OpenStack L3-Agent 3 months before. The 
MTU setting of the network device in the warden container is 1500 and to 
big for rubygems or github 


Greetings
Heiko

Am 05.07.2013 11:36, schrieb Heiko Krämer:

Heyho guys,

I've a really strange issue and i try to find out since one week why 
i've a packet loss only by one http web site.


Description:

I've setting up Neutron with L3, DHCP and Meta agent with OVS and Gre 
tunneling.
The hole network works perfectly with all required components but I've 
a strange issue.


I start an instance with ubuntu 12.04 without any problems. The 
instance can talk with WAN AND i can curl to http://rubygems.org 
directly on the command line. The gem installer cli tool (gem) is 
working too.


Now i'm trying to deploy *Cloudfroundry* on *OpenStack* and it works 
now for the most cases.
If i try now to deploy an rails app to cloudfoundry the warden on the 
dea will install some gems so the usual way.
The problem is i don't get data from rubygems, only from this site °°. 
The first http handshake works



curl http://rubygems.org

tcpdump in my instance but on outside of the warden container:

/09:26:33.477668 IP (tos 0x0, ttl 63, id 16829, offset 0, flags [DF], 
proto TCP (6), length 60)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [S], cksum 0xd35c 
(correct), seq 3100954858, win 14600, options [mss 1460,sackOK,TS val 
17666391 ecr 0,nop,wscale 5], length 0//

//0x:  4500 003c 41bd 4000 3f06 b8d6 0a64 0021 E..//09:26:33.835130 IP (tos 0x0, ttl 47, id 0, offset 0, flags [DF], 
proto TCP (6), length 52)//
//54.245.255.174.80 > 10.100.0.33.56832: Flags [S.], cksum 0x028a 
(correct), seq 325285586, ack 3100954859, win 14600, options [mss 
1460,nop,nop,sackOK,nop,wscale 7], length 0//

//0x:  4500 0034  4000 2f06 0a9c 36f5 ffae E..4..@./...6...//
//0x0010:  0a64 0021 0050 de00 1363 76d2 b8d4 d0eb .d.!.P...cv.//
//0x0020:  8012 3908 028a  0204 05b4 0101 0402 ..9.//
//0x0030:  0103 0307//
//09:26:33.835328 IP (tos 0x0, ttl 63, id 16830, offset 0, flags [DF], 
proto TCP (6), length 40)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [.], cksum 0x7a9b 
(correct), seq 3100954859, ack 325285587, win 457, length 0//

//0x:  4500 0028 41be 4000 3f06 b8e9 0a64 0021  E..(A.@.?d.!//
//0x0010:  36f5 ffae de00 0050 b8d4 d0eb 1363 76d3 6..P.cv.//
//0x0020:  5010 01c9 7a9b  P...z...//
//09:26:33.835565 IP (tos 0x0, ttl 63, id 16831, offset 0, flags [DF], 
proto TCP (6), length 193)//
//10.100.0.33.56832 > 54.245.255.174.80: Flags [P.], cksum 0xd305 
(correct), seq 3100954859:3100955012, ack 325285587, win 457, length 153//

//0x:  4500 00c1 41bf 4000 3f06 b84f 0a64 0021 E...A.@.?..O.d.!//
//0x0010:  36f5 ffae de00 0050 b8d4 d0eb 1363 76d3 6..P.cv.//
//0x0020:  5018 01c9 d305  4745 5420 2f20 4854 P...GET./.HT//
//0x0030:  5450 2f31 2e31 0d0a 5573 6572 2d41 6765 TP/1.1..User-Age//
//0x0040:  6e74 3a20 6375 726c 2f37 2e31 392e 3720 nt:.curl/7.19.7.//
//0x0050:  2878 3836 5f36 342d 7063 2d6c 696e 7578 (x86_64-pc-linux//
//0x0060:  2d67 6e75 2920 6c69 6263 7572 6c2f 372e -gnu).libcurl/7.//
//0x0070:  3139 2e37 204f 7065 6e53 534c 2f30 2e39 19.7.OpenSSL/0.9//
//0x0080:  2e38 6b20 7a6c 6962 2f31 2e32 2e33 2e33 .8k.zlib/1.2.3.3//
//0x0090:  206c 6962 6964 6e2f 312e 3135 0d0a 486f .libidn/1.15..Ho//
//0x00a0:  7374 3a20 7275 6279 6765 6d73 2e6f 7267 st:.rubygems.org//
//0x00b0:  0d0a 4163 6365 7074 3a20 2a2f 2a0d 0a0d ..Accept:.*/*...//
//0x00c0:  0a   .//
//09:26:34.025768 IP (tos 0x0, ttl 47, id 28779, offset 0, flags [DF], 
proto TCP (6), length 40)//
//54.245.255.174.80 > 10.100.0.33.56832: Flags [.], cksum 0x7b50 
(correct), seq 325285587, ack 3100955012, win 123, length 0//

//0x:  4500 0028 706b 4000 2f06 9a3c 36f5 ffae  E..(pk@./..<6...//
//0x0010:  0a64 0021 0050 de00 1363 76d3 b8d4 d184 .d.!.P...cv.//
//0x0020:  5010 007b 7b50  P..{{P../



On the network node I get the follow responses by http correctly but 
this will not reach the vm °°.

Sometimes will reach the response the vm one min later .


In my instance you will see some iptables rules to get connection to 
the warden containter:


iptables -L


/root@f10ee0c8-bab8-4fc1-9964-898fb76d518c:~# iptables -L//
//Chain INPUT (policy ACCEPT)//
//target prot opt source destination //
//
//Chain FORWARD (policy ACCEPT)//
//target prot opt source destination //
//warden-forward  all  --  anywhere anywhere //
//
//Chain OUTPUT (policy ACCEPT)//
//target prot opt source destination //
//
//Chain warden-default (1 references)//
//target prot opt source destination //
//
//Chain warden-forward (1 references)//
//target p

[Openstack] OpenStack Community Weekly Newsletter (June 28 - July 5)

2013-07-05 Thread Stefano Maffulli

Hong Kong Summit -- Registration, Call for Speakers & Sponsors
Now Open!




 ???, 



  OpenStack Object Storage (Swift) 1.9.0 released
  


This week the team announced the latest release of OpenStack Object
Storage, Swift 1.9.0. The new version added lots of major features
thanks to the combined effort of 37 different contributors. Full release
notes  and
download. 


  OpenStack meets Lisp: cl-openstack-client
  


A month ago, a mail hit the OpenStack  mailing
list entitled "The OpenStack Community Welcomes Developers in All
Programming Languages
". Julien Danjou
 has interpreted that as a challenge
and in pure hacker spirit he brought Lisp into OpenStack. Welcome
cl-openstack-client ,
the OpenStack client library for Common Lisp !


  Introducing the Open Mic Series
  

We're excited to introduce the OpenStack Open Mic series, where we'll be
spotlighting technical contributors across our global community during
the month of July to celebrate OpenStack's 3rd birthday. If you are an
OpenStack contributor and would like to participate, please check out
the instructions and questions
, otherwise follow along
to learn more about our community!


  OpenStack Security Guide now available!
  


The legendary book sprint method has come through again! This past week
in a bunker, I mean, secure location near Annapolis, a team of security
experts got together to write the /OpenStack Security Guide/. Download
the epub file

and start reading.


  The OpenStack Marketing portal 

Looking for the latest presentation decks? Official logo? Do you have
questions on how to use the OpenStack brand? Need quotes for your press
release? Answers to these and more questions can be found on the new
OpenStack Marketing portal.


  The new OpenStack Internationalization team
  

The mission of the OpenStack I18N team is to make OpenStack ubiquitously
accessible to people of all language backgrounds, by providing a
framework to create high quality translations, recruiting contributors
and actively managing and planning the translation process. The team has
a new mailing list openstack-i...@list.openstack.org
, hangs out on
#openstack-translation and holds regular meetings
.


Tips 'n Tricks

  * By Kashyap Chamarthy : Unattended
F19 guest creation with Oz


  * By Mirantis : OpenStack Metering Using
Ceilometer

  * By Michael Still : Nova database continuous
integration 
  * By Sébastien Han : OpenStack: perform a
live migration using a specific NIC


  * By John Bresnahan : tempest
devstack and bugs oh my!




Upcoming Events

  * 2nd OpenStack User Group Meeting
 Jul
11, 2013 -- Szczecin, Poland Details

  * Boston OpenStack Meetup 
Jul 16, 2013 -- Boston Details 
  * OpenStack Meeting at "One Convergence"
 Jul
21, 2013 -- Hyderabad, India Details

  * OSCON 2013  Jul 22 -- 26, 2013 --

[Openstack] Quantum /Neutron

2013-07-05 Thread claudio marques
Hello Stakers
I know that it is possible to automatically create new instances when, for 
example we need more resources at a given time. My question is, Imagining that 
nova creates that new instance in a different compute node, how quantum/neutron 
deal's with connectivity? I am reading a lot about Quantum /Neutron and i know 
that probably I need to use a load balancer like Atlas-LB, etc...
Am I right?
Can anyone enlighten me?
Thank's in advance :)
Cheers
Claudio Marques
claudio@onesource.pthttp://www.onesource.pt/

  ___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Windows Image in OpenStack

2013-07-05 Thread Narayanan, Krishnaprasad
Hi Razique,

Sorry for replying late to your email. I am still unable to locate the virtio 
driver when I tried to install Windows on the VM.

Is it possible for you to describe me in short the steps that has to be 
executed sequentially and the location of execution (cloud controller or 
compute node)?

What is available currently - I have a Windows server 2012 image uploaded  in 
the cloud and I have created a VM out of the image. The VNC is working via 
Horizon for the VM.

Thanks
Krishnaprasad
From: Razique Mahroua [mailto:razique.mahr...@gmail.com]
Sent: Mittwoch, 3. Juli 2013 11:48
To: Narayanan, Krishnaprasad
Cc: openstack Maillist
Subject: Re: [Openstack] Windows Image in OpenStack

Can you change the net configuration?

kvm -m 2048 -cdrom windows_server_2012_x64.iso -drive 
file=windows_server_2012.img,if=scsi,index=0,boot=on -boot d -net 
nic,model=e1000, -net tap -nographic -vnc :10

thanks!


Razique Mahroua - Nuage & Co
razique.mahr...@gmail.com
Tel : +33 9 72 37 94 15

[cid:image001.jpg@01CE79A1.5DE494C0]

Le 2 juil. 2013 à 11:35, "Narayanan, Krishnaprasad" 
mailto:naray...@uni-mainz.de>> a écrit :
Hi Razique,

I have executed the below command and got a warning message as I have mentioned 
below. I opened the VNC from GUI in order to install the Windows image, but I 
was unable to locate the virtio ISO image.

Do you see any problems in the command? Can you suggest any solutions in this 
regard?

Thanks
Krishnaprasad
From: Openstack 
[mailto:openstack-bounces+narayana=uni-mainz...@lists.launchpad.net]
 On Behalf Of Narayanan, Krishnaprasad
Sent: Donnerstag, 27. Juni 2013 00:15
To: Razique Mahroua
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Windows Image in OpenStack

Hi,

I executed the below command
"kvm -m 2048 -no-reboot -boot order=d -drive 
file=windows_server_2012.img,if=virtio,boot=off -drive 
file=windows_server_2012_x64.iso,media=cdrom,boot=on -drive 
file=virtio-win-0.1-59.iso,media=cdrom,boot=off -net nic,model=virtio 
-nographic -vnc :1"

and I got the following warning "vlan0 is not connected to host network". Is 
this a valid behavior?

When I connected to the VNC and tried to discover the Virtio driver, I was 
unable to discover it. Can anybody suggest where I am going wrong or any 
solution in order to get rid of the problem?

Thanks
Krishnaprasad
From: Razique Mahroua [mailto:razique.mahr...@gmail.com]
Sent: Samstag, 22. Juni 2013 20:23
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Windows Image in OpenStack

Can you try that command

kvm -m 2048 -no-reboot -boot order=d -drive 
file=windowsr2.img,if=virtio,boot=off -drive 
file=windows-2008r2.iso,media=cdrom,boot=on -drive 
file=virtio-win-0.1-30.iso,media=cdrom,boot=off -net nic,model=virtio 
-nographic -vnc :1


Razique Mahroua - Nuage & Co
razique.mahr...@gmail.com
Tel : +33 9 72 37 94 15




Make sure to use the good comas and spaces :-)

regard
Razique


Le 21 juin 2013 à 11:58, "Narayanan, Krishnaprasad" 
mailto:naray...@uni-mainz.de>> a écrit :

Hi,

Thanks for your response. When I execute the command (egrep '(vmx|svm)' 
/proc/cpuinfo) in the compute node, I am getting an output that starts with 
"flags" and with several lines (refer image below). Any suggestions would be 
appreciated.



Cheers,
Krishnaprasad

From: Razique Mahroua [mailto:razique.mahr...@gmail.com]
Sent: Freitag, 21. Juni 2013 11:46
To: Narayanan, Krishnaprasad
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] Windows Image in OpenStack

Hey Krishnaprasad,
you cannot run kmv is the server doesn't contain the virtualization instruction.
Can you run :
$ egrep '(vmx|svm)' /proc/cpuinfo

thanks!

Razique Mahroua - Nuage & Co
razique.mahr...@gmail.com
Tel : +33 9 72 37 94 15



Le 21 juin 2013 à 11:22, "Narayanan, Krishnaprasad" 
mailto:naray...@uni-mainz.de>> a écrit :



Hallo All,

When I tried to execute the commands provided in the OpenStack guide for 
installing Windows Image, I am getting the following error: "kvm: -drive 
file=windows_server_2012.img: drive with bus=0, unit=0 (index=0) exists".

The command was executed on a compute node that was virtualizable. Command was 
"kvm -m 2048 -no-reboot -boot order=d -drive file=windows_server_2012.img 
if=virtio,boot=off -drive file=windows_server_2012_x64.iso,media=cdrom boot=on 
-drive file=virtio-win-0.1-59.iso,media=cdrom,boot=off -net nic,model=virtio 
-nographic -vnc :1".

Can anybody suggest me pointers to get rid of this problem?

Thanks
Krishnaprasad
___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net
Unsubscribe : 

Re: [Openstack] setup linux users

2013-07-05 Thread nithish B
Hi,
You have to be root to get the user part right.
i.e. myuser@mymachine:~$sudo su
myuser@mymachine:~#cd bin
myuser@mymachine:~/bin$remakerings

And as for the second one, try,
$sudo apt-get update
$sudo apt-get install python-swiftclient

If it doesn't work, download the package from
mirror.pnl.gov/ubuntu//pool/main/p/python-swiftclient/python-swiftclient_1.2.0-0ubuntu2_all.deb
and install it using dpkg manager.

Regards,
Nitish B.


On Fri, Jul 5, 2013 at 10:09 AM, Gonfi den Tschal
wrote:

> i'm having some difficulties following the tutorial at
> http://docs.openstack.org/developer/swift/development_saio.html
>
> 1) the user:
> i don't understand how it's meant, i guessed:
>  - root for the commands
>  -  should be "swift", a user account without login
> privileges, created as:
>useradd -s /usr/sbin/nologin swift
>  - some standard user with login where the ~/bin stuff goes
> because the text says "Swift processes also run under a separate user and
> group" (separate, so not the same as my user).
> "which may not exist on your system" confusing also, does it mean it does
> not need to be created? or that it probably does not exist yet, and i
> should create it?
> i've used the standard user to run the commands with sudo. but then i got
> stuck with setting up scripts when running them as my login user (not swift
> user), i got:
> myuser@mymachine:~/bin$ remakerings
> Traceback (most recent call last):
>   File "/usr/bin/swift-ring-builder", line 676, in 
> mkdir(backup_dir)
> OSError: [Errno 13] Permission denied: 'backups'
> Ring Builder file does not exist: object.builder
> ...
>
> so: should the swift user be a standard user, and also run the scripts?
>
> 2) i don't want to get a dev version of the code, so i've followed the
> install instructions from
> http://docs.openstack.org/developer/swift/howto_installmultinode.html
> installing swift worked, but not python-swiftclient:
> myuser@mymachine:~/bin$ sudo apt-get install python-swiftclient
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package python-swiftclient
>
> 3) i'm setting up a vm to be used for development, but i'll also clone it
> to use it for the early stage of the running live app. is there a better
> tutorial somewhere?
>
> thanks,
> gonfi
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Grizzly keystone files user and tenant issues

2013-07-05 Thread Trevor Roberts Jr
Raghavendra,

Have you tried contacting Bilel directly via GitHub?  There should be a "bugs" 
tab on the guide's GitHub page that you can open an issue there.

Bilel wrote that install guide himself. Some of the steps he specified may 
differ slightly from a standard Grizzly install.  During my install of 
Keystone, I never used the shell scripts you mentioned. So, it may be something 
specific to Bilel's install process.

-Trevor


Sent from my iPhone

On Jul 4, 2013, at 9:34 PM,  wrote:

> Hi,
> 
> I have tried to install Grizzly using the below link:
>  
> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
>  
> However when I try to run the files
>  
> keystone_basic.sh
>  
> and
>  
> keystone_endpoints_basic.sh
>  
>  
> It says tenant and user needs to be declared properly. Has anyone tried to 
> install Grizzly?  Please guide /assist.
>  
> Regards,
> Raghavendra Lad. 
> 
> 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.
> 
> __
> 
> www.accenture.com
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Shared Storage with cinder ?

2013-07-05 Thread Heiko Krämer

Heyho guys,

I'm searching for a solution to share storage over more then one instance.

Normally you attach a block device with cinder directly via iscsi or 
glusterfs or whatever to one instance and that's it. Multi attachments 
are not present.



Use case:

I've an application on 4 application instances and a database instance. 
Now you have static file like images, movies, css ... but this files 
should be available on each application instance.
Now you need to fire up an "storage" instance and attach a volume. After 
that you can with nfs or what ever share your stuff to the application 
instances but i think this is a very big ressource overhead for small 
projects. You need a instance only to share your data on each project 
and this n times :(




Do we have now any ways to solve this use case without this resource 
overhead ? I've seen it's a blueprint to attach cinder volumes to 
multiple instances but not implemented yet.




Thx for your hints and greetings
Heiko


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Shared Storage with cinder ?

2013-07-05 Thread Clint Byrum
Excerpts from Heiko Krämer's message of 2013-07-05 09:24:03 -0700:
> Heyho guys,
> 
> I'm searching for a solution to share storage over more then one instance.
> 
> Normally you attach a block device with cinder directly via iscsi or 
> glusterfs or whatever to one instance and that's it. Multi attachments 
> are not present.
> 
> 
> Use case:
> 
> I've an application on 4 application instances and a database instance. 
> Now you have static file like images, movies, css ... but this files 
> should be available on each application instance.

This use case is best served by object storage like swift and CEPH's radosgw.

> Now you need to fire up an "storage" instance and attach a volume. After 
> that you can with nfs or what ever share your stuff to the application 
> instances but i think this is a very big ressource overhead for small 
> projects. You need a instance only to share your data on each project 
> and this n times :(
> 

If you only have one small app with 5 instances, running your own
OpenStack is quite overkill.  However, I suspect you have OpenStack so
you can have many small apps with a few instances, and thus you'll find
many of them can benefit from a good solid object store.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Shared Storage with cinder ?

2013-07-05 Thread Heiko Krämer

Hey Clint,

yeah that's correct but you will have many old applications like 
Wordpress or Magento they can't use out of the box an object store. You 
have customers with applications they'll not customize the application 
only to host that stuff.


This feature will have Havanna release but it's more then 6 months if we 
can "use" this as stable.



Greetings
Heiko


Am 05.07.2013 18:31, schrieb Clint Byrum:

Excerpts from Heiko Krämer's message of 2013-07-05 09:24:03 -0700:

Heyho guys,

I'm searching for a solution to share storage over more then one instance.

Normally you attach a block device with cinder directly via iscsi or
glusterfs or whatever to one instance and that's it. Multi attachments
are not present.


Use case:

I've an application on 4 application instances and a database instance.
Now you have static file like images, movies, css ... but this files
should be available on each application instance.

This use case is best served by object storage like swift and CEPH's radosgw.


Now you need to fire up an "storage" instance and attach a volume. After
that you can with nfs or what ever share your stuff to the application
instances but i think this is a very big ressource overhead for small
projects. You need a instance only to share your data on each project
and this n times :(


If you only have one small app with 5 instances, running your own
OpenStack is quite overkill.  However, I suspect you have OpenStack so
you can have many small apps with a few instances, and thus you'll find
many of them can benefit from a good solid object store.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Shared Storage with cinder ?

2013-07-05 Thread John Griffith
On Fri, Jul 5, 2013 at 10:31 AM, Clint Byrum  wrote:

> Excerpts from Heiko Krämer's message of 2013-07-05 09:24:03 -0700:
> > Heyho guys,
> >
> > I'm searching for a solution to share storage over more then one
> instance.
> >
> > Normally you attach a block device with cinder directly via iscsi or
> > glusterfs or whatever to one instance and that's it. Multi attachments
> > are not present.
> >
> >
> > Use case:
> >
> > I've an application on 4 application instances and a database instance.
> > Now you have static file like images, movies, css ... but this files
> > should be available on each application instance.
>
> This use case is best served by object storage like swift and CEPH's
> radosgw.
>
> > Now you need to fire up an "storage" instance and attach a volume. After
> > that you can with nfs or what ever share your stuff to the application
> > instances but i think this is a very big ressource overhead for small
> > projects. You need a instance only to share your data on each project
> > and this n times :(
> >
>
> If you only have one small app with 5 instances, running your own
> OpenStack is quite overkill.  However, I suspect you have OpenStack so
> you can have many small apps with a few instances, and thus you'll find
> many of them can benefit from a good solid object store.
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

Cinder does not offer multi-attach currently, we're hoping to change that
for the Havana release:
https://blueprints.launchpad.net/cinder/+spec/shared-volume
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova instance launch failing on Quantum error "404 Not Found"

2013-07-05 Thread Min Pae
I have an Openstack setup on Ubuntu/Juju/MAAS, and I was able to
successfully set up instances and get them networked using Quantum as
recently as a few days ago.  A couple of days ago it stopped working.
When I try to add an instance, nova-compute errors out citing an error
while setting up networking.  Quantum is returning "404 Not Found".  I
enabled debug logging on both nova and quantum and could not make out
anything that helped to narrow down what the problem is.  I even took a
tcpdump of the traffic between the nova-compute node and the quantum
server.  The network ID that nova looks correct and the dashboard shows
the network is UP and ACTIVE.  I'm a bit stumped on where else to look
and what to look for in order to troubleshoot this further.  Any
pointers on how I can troubleshoot this would be really appreciated.

Thanks.

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] setup linux users

2013-07-05 Thread Gonfi den Tschal
thanks, made some progress.
this user had the same problem
https://answers.launchpad.net/swift/+question/201810 i've now apt-get
removed swift, and then installed all from git. that worked.
except there are 2 failing unit tests, something about differences in
expected http return codes.

after this all my config files are now confused with the user. wherever i
had set 'swift' as the user, it's now overwritten to 'myuser'. even in
those places where the manual had 'swift' hardcoded, not
''. so i still don't know if  is supposed
to be my non-root with-login user, or my no-login user named swift.
i'm now trying to change all files to have 'swift' in there in all places.




On Fri, Jul 5, 2013 at 6:47 PM, nithish B  wrote:

> Hi,
> You have to be root to get the user part right.
> i.e. myuser@mymachine:~$sudo su
> myuser@mymachine:~#cd bin
> myuser@mymachine:~/bin$remakerings
>
> And as for the second one, try,
> $sudo apt-get update
> $sudo apt-get install python-swiftclient
>
> If it doesn't work, download the package from
> mirror.pnl.gov/ubuntu//pool/main/p/python-swiftclient/python-swiftclient_1.2.0-0ubuntu2_all.deb
> and install it using dpkg manager.
>
> Regards,
> Nitish B.
>
>
> On Fri, Jul 5, 2013 at 10:09 AM, Gonfi den Tschal <
> gonfidentsc...@gmail.com> wrote:
>
>> i'm having some difficulties following the tutorial at
>> http://docs.openstack.org/developer/swift/development_saio.html
>>
>> 1) the user:
>> i don't understand how it's meant, i guessed:
>>  - root for the commands
>>  -  should be "swift", a user account without login
>> privileges, created as:
>>useradd -s /usr/sbin/nologin swift
>>  - some standard user with login where the ~/bin stuff goes
>> because the text says "Swift processes also run under a separate user and
>> group" (separate, so not the same as my user).
>> "which may not exist on your system" confusing also, does it mean it does
>> not need to be created? or that it probably does not exist yet, and i
>> should create it?
>> i've used the standard user to run the commands with sudo. but then i got
>> stuck with setting up scripts when running them as my login user (not swift
>> user), i got:
>> myuser@mymachine:~/bin$ remakerings
>> Traceback (most recent call last):
>>   File "/usr/bin/swift-ring-builder", line 676, in 
>> mkdir(backup_dir)
>> OSError: [Errno 13] Permission denied: 'backups'
>> Ring Builder file does not exist: object.builder
>> ...
>>
>> so: should the swift user be a standard user, and also run the scripts?
>>
>> 2) i don't want to get a dev version of the code, so i've followed the
>> install instructions from
>> http://docs.openstack.org/developer/swift/howto_installmultinode.html
>> installing swift worked, but not python-swiftclient:
>> myuser@mymachine:~/bin$ sudo apt-get install python-swiftclient
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package python-swiftclient
>>
>> 3) i'm setting up a vm to be used for development, but i'll also clone it
>> to use it for the early stage of the running live app. is there a better
>> tutorial somewhere?
>>
>> thanks,
>> gonfi
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] setup linux users

2013-07-05 Thread Gonfi den Tschal
so i've updated all 13 config files (proxy-server.conf and the 12 1-4.conf)
to have  as 'swift'. then i run remakerings as root as i
was told, and that changes all 13 config files. wherever it said 'swift' it
now is 'root', also in the places where 'swift' was hardcoded. then running
startmain fails:
Error trying to load config from /etc/swift/proxy-server.conf: root
Error trying to load config from /etc/swift/container-server/1.conf: root
...

what could be wrong?




On Sat, Jul 6, 2013 at 12:57 AM, Gonfi den Tschal
wrote:

> thanks, made some progress.
> this user had the same problem
> https://answers.launchpad.net/swift/+question/201810 i've now apt-get
> removed swift, and then installed all from git. that worked.
> except there are 2 failing unit tests, something about differences in
> expected http return codes.
>
> after this all my config files are now confused with the user. wherever i
> had set 'swift' as the user, it's now overwritten to 'myuser'. even in
> those places where the manual had 'swift' hardcoded, not
> ''. so i still don't know if  is supposed
> to be my non-root with-login user, or my no-login user named swift.
> i'm now trying to change all files to have 'swift' in there in all places.
>
>
>
>
> On Fri, Jul 5, 2013 at 6:47 PM, nithish B  wrote:
>
>> Hi,
>> You have to be root to get the user part right.
>> i.e. myuser@mymachine:~$sudo su
>> myuser@mymachine:~#cd bin
>> myuser@mymachine:~/bin$remakerings
>>
>> And as for the second one, try,
>> $sudo apt-get update
>> $sudo apt-get install python-swiftclient
>>
>> If it doesn't work, download the package from
>> mirror.pnl.gov/ubuntu//pool/main/p/python-swiftclient/python-swiftclient_1.2.0-0ubuntu2_all.deb
>> and install it using dpkg manager.
>>
>> Regards,
>> Nitish B.
>>
>>
>> On Fri, Jul 5, 2013 at 10:09 AM, Gonfi den Tschal <
>> gonfidentsc...@gmail.com> wrote:
>>
>>> i'm having some difficulties following the tutorial at
>>> http://docs.openstack.org/developer/swift/development_saio.html
>>>
>>> 1) the user:
>>> i don't understand how it's meant, i guessed:
>>>  - root for the commands
>>>  -  should be "swift", a user account without login
>>> privileges, created as:
>>>useradd -s /usr/sbin/nologin swift
>>>  - some standard user with login where the ~/bin stuff goes
>>> because the text says "Swift processes also run under a separate user
>>> and group" (separate, so not the same as my user).
>>> "which may not exist on your system" confusing also, does it mean it
>>> does not need to be created? or that it probably does not exist yet, and i
>>> should create it?
>>> i've used the standard user to run the commands with sudo. but then i
>>> got stuck with setting up scripts when running them as my login user (not
>>> swift user), i got:
>>> myuser@mymachine:~/bin$ remakerings
>>> Traceback (most recent call last):
>>>   File "/usr/bin/swift-ring-builder", line 676, in 
>>> mkdir(backup_dir)
>>> OSError: [Errno 13] Permission denied: 'backups'
>>> Ring Builder file does not exist: object.builder
>>> ...
>>>
>>> so: should the swift user be a standard user, and also run the scripts?
>>>
>>> 2) i don't want to get a dev version of the code, so i've followed the
>>> install instructions from
>>> http://docs.openstack.org/developer/swift/howto_installmultinode.html
>>> installing swift worked, but not python-swiftclient:
>>> myuser@mymachine:~/bin$ sudo apt-get install python-swiftclient
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> E: Unable to locate package python-swiftclient
>>>
>>> 3) i'm setting up a vm to be used for development, but i'll also clone
>>> it to use it for the early stage of the running live app. is there a better
>>> tutorial somewhere?
>>>
>>> thanks,
>>> gonfi
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp