Re: [Openstack] Fwd: Documentation for openstack-java-sdk

2013-07-11 Thread Gui Maluf
Raju George wrote: > Thanks a log, Gui! This helps but would be more useful if you could point > me to some *ceilometer-specific *guides/examples. > > > On Thu, Jul 11, 2013 at 8:25 PM, Gui Maluf wrote: > >> Surely Luis can help you, I've used openstack-java-sdk in on

Re: [Openstack] Fwd: Documentation for openstack-java-sdk

2013-07-11 Thread Gui Maluf
Surely Luis can help you, I've used openstack-java-sdk in one of my projects, and this is the example Luis gave to me private static final File TEST_FILE = new File("pom.xml"); private static final String KEYSTONE_AUTH_URL = " https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0";; priva

Re: [Openstack] Openstack Metadata Service

2013-03-18 Thread Gui Maluf
>>From what I understood, without the retrieval of the metadata from the >server, the keys are not downloaded to the VM, is this correct? Yes. This is correct. AFAIK in Essex, the metadata service was pointed out through iptables. So there was a rule that DNAT the metadata service to the CC machi

Re: [Openstack] [Swift] Administration Interfaces/Tools for Swift

2013-01-30 Thread Gui Maluf
to statsd > events). > > -- > Florian Hines | @pandemicsyn > http://about.me/pandemicsyn > > On Tuesday, January 29, 2013 at 12:16 PM, Dieter Plaetinck wrote: > > On Tue, 29 Jan 2013 15:24:31 -0200 > Gui Maluf wrote: > > Hi guys, > I'm searching for a

[Openstack] [Swift] Administration Interfaces/Tools for Swift

2013-01-29 Thread Gui Maluf
Hi guys, I'm searching for a Swift Interface that integrates Administration and maybe monitoring. I've checked SwiftStack and Gladinet, but both are not opensource and require money to be us

Re: [Openstack] Question about Disk Setup of Nova Compute Node

2013-01-16 Thread Gui Maluf
Hey Sean, Did you found which is the best set up for your RAID? I'm facing the same situation here. I've 11 dell r710 servers, with 4x3TB disk each, and I'm wondering if worth it using a RAID5 or JBOD for some server that will run a compute-network-volume node. Did you got any solution? Thanks in

Re: [Openstack] OpenStack Java SDK

2013-01-10 Thread Gui Maluf
frans, you can always use devstack for a fast local OS deploy. Antonio I've interest in openstack-java-sdk, the only difference is that I'm using scala, instead of Java. I'm quite new at this and having a lot a difficulty trying to make my code connect with Keystone. I hope you can get your answer

Re: [Openstack] Developing with Scala/Java on OpenStack Swift

2013-01-03 Thread Gui Maluf
ObjectForUpload upload = new ObjectForUpload(); > > upload.setContainer("navidad2"); > > upload.setName("example2"); > > upload.setInputStream(new FileInputStream(TEST_FILE)); > > swiftClient.execute(new UploadObject(upload)); > >System.out.print

[Openstack] Developing with Scala/Java on OpenStack Swift

2013-01-02 Thread Gui Maluf
Hey guys, I'm trying to extend a software projectto talk with Swift. This project was developed on Scala, and my issue is: how should I access Swift resource? Should I use openstack-java-sdk, jclouds

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-20 Thread Gui Maluf
Found out! I'd a /etc/dnsmasq-nova.conf file defining the default route as my controller node! now everything is working perfectly! :D On Thu, Dec 20, 2012 at 11:07 AM, Gui Maluf wrote: > Vish, if you could help. > I realized that all internal route of my vms point to cloudcontrol

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-20 Thread Gui Maluf
Vish, if you could help. I realized that all internal route of my vms point to cloudcontroller. if I change the default route to node address everything works perfectly. How can I make the node IP the default route? Thanks for all help! On Wed, Dec 19, 2012 at 2:34 PM, Gui Maluf wrote: >

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-19 Thread Gui Maluf
.254 tcp dpt:80 to:200.131.6.250:8775 > > nodes > 0 0 DNAT tcp -- * * 0.0.0.0/0 > 169.254.169.254 tcp dpt:80 to:200.131.6.248:8775 > 0 0 DNAT tcp -- * * 0.0.0.0/0 > 169.254.169.254 tcp dpt:80 to:200.131.6.249:8775 > &g

Re: [Openstack] Instances can't reach metadata server in network HA mode

2012-12-19 Thread Gui Maluf
169.254.169.254 tcp dpt:80 to:200.131.6.249:8775 Thanks for appearing Vish! I was wishing your help! > > Vish > > On Dec 19, 2012, at 6:39 AM, Gui Maluf wrote: > > My set up is a > nova-network-ha<http://docs.openstack.org/trunk/openstack-compute/admin/content/exi

[Openstack] Instances can't reach metadata server in network HA mode

2012-12-19 Thread Gui Maluf
My set up is a nova-network-ha, so each of my nodes run a nova-{api-metadata,network,compute,volume}, my controller runs all of this plus the rest of things it should run. Each of my nodes are the

[Openstack] Running crazy with Essex, multi_host, nova-network-ha, nova-api-metadata, VMs can't reach metadata nor respond through floating ip

2012-12-18 Thread Gui Maluf
Countless times I'm here trying to make my openstack runnig! So here we go again! My set up is a nova-network-ha, so each of my nodes run a nova-{api-metadata,network,compute,volume}, my controlle

Re: [Openstack] "nova boot" errors while attaching a volume to an instance

2012-12-14 Thread Gui Maluf
I found the problem. Ubuntu MAAS iscsi images were occupying the target_num of the iscsi volumes. I just removed the iscsi disks and worked well! On Fri, Dec 14, 2012 at 3:21 PM, Gui Maluf wrote: > I'm running the same problem! And I would be grateful if someone could > help me! >

Re: [Openstack] "nova boot" errors while attaching a volume to an instance

2012-12-14 Thread Gui Maluf
I'm running the same problem! And I would be grateful if someone could help me! root@oxala:/var/log/nova# iscsiadm -m node 200.131.6.250:3260,1 iqn.2004-05.com.ubuntu:maas:maas-precise-12.04-i386-ephemeral-20120424 10.5.5.35:3260,1 iqn.2004-05.com.ubuntu:maas:maas-precise-12.04-i386-ephemeral-2012

Re: [Openstack] [urgent] Nova-network isn't creating floating IP iptables rules!

2012-12-14 Thread Gui Maluf
4 14:13:46 TRACE nova Stderr: 'iscsiadm: No portal found.\n' fulll nova-compute.log: http://paste.openstack.org/show/28109/ On Fri, Dec 14, 2012 at 1:45 PM, Gui Maluf wrote: > Razique, thanks for the tip. > To find out which tables has the hostname set I did this: > # for i in

Re: [Openstack] [urgent] Nova-network isn't creating floating IP iptables rules!

2012-12-14 Thread Gui Maluf
12:59 PM, Razique Mahroua wrote: > Check the nova database, the network tables and fixed_ip contains the > hostname. > Update these fields too and you should be ok :) > (Maybe your /etc/hosts files, keystone endpoints if you used hostnames) > > *Razique Mahroua** - **Nuage & Co

[Openstack] [urgent] Nova-network isn't creating floating IP iptables rules!

2012-12-14 Thread Gui Maluf
Hey guys. I think I did a stupid thing. My setup is 1 cloudcontroller + node and 2 node with FlatDHCP, mult_host, net HA. Recently I've changed the hostname of my cloudcontroller; to make things consistent I've updated the services table inside nova db to mark as deleted=1 the lines where host=old

Re: [Openstack] 2 Questions: Port 5000 and 35357, glance index

2012-12-13 Thread Gui Maluf
I think 5000 is kind of public port, for external use, and 35357 a private port for internal use. But probably I'm wrong! :) Is your OS_AUTH_URL and SERVICE_ENDPOINT defined? unset one of them and try again. On Thu, Dec 13, 2012 at 12:54 AM, Hao Wang wrote: > Hi Stackers, > > What is the differ

Re: [Openstack] nova-compute not starting

2012-12-13 Thread Gui Maluf
anytime this happend with me I do the following. create a lost_instance.xml with the content below(I think it's possible to create a simpler file, with less content) just to register a VM with libvirt. Make sure to change the tag. In your case instance-002a 4194304 4194304 4

Re: [Openstack] Installing Openstack - Issue with Keystone

2012-12-07 Thread Gui Maluf
I ran into this problem, it's cause by two env variable defined. Try to unset the OS_TOKEN variable you are using OS_USERNAME or unset SERVICE_ENDPOINT and SERVICE_TOKEN if you are using OS_AUTH_URL On Fri, Dec 7, 2012 at 1:49 PM, Wojciech Dec wrote: > Hi All, > > while following the Openstack

Re: [Openstack] 500 Internal Server error and [Errno 113] EHOSTUNREACH when adding a new node

2012-12-05 Thread Gui Maluf
Andrew, you're right. I just set up the swift + glance integration and uploaded again the image! everything worked fine! :D On Tue, Dec 4, 2012 at 1:55 PM, Gui Maluf wrote: > I've change the default_store to file on glance-api.conf > even after changin this I'm getting t

Re: [Openstack] 500 Internal Server error and [Errno 113] EHOSTUNREACH when adding a new node

2012-12-04 Thread Gui Maluf
Razique Mahroua** - **Nuage & Co* > razique.mahr...@gmail.com > Tel : +33 9 72 37 94 15 > > > Le 4 déc. 2012 à 16:22, Gui Maluf a écrit : > > > > > On Tue, Dec 4, 2012 at 1:16 PM, Razique Mahroua > wrote: > >> >> *Razique Mahroua** - **Nuage &

Re: [Openstack] 500 Internal Server error and [Errno 113] EHOSTUNREACH when adding a new node

2012-12-04 Thread Gui Maluf
les ? > > *Razique Mahroua** - **Nuage & Co* > razique.mahr...@gmail.com > Tel : +33 9 72 37 94 15 > > > Le 4 déc. 2012 à 16:22, Gui Maluf a écrit : > > > > > On Tue, Dec 4, 2012 at 1:16 PM, Razique Mahroua > wrote: > >> >> *Razique Mahroua** - *

Re: [Openstack] 500 Internal Server error and [Errno 113] EHOSTUNREACH when adding a new node

2012-12-04 Thread Gui Maluf
On Tue, Dec 4, 2012 at 1:16 PM, Razique Mahroua wrote: > > *Razique Mahroua** - **Nuage & Co* > razique.mahr...@gmail.com > Tel : +33 9 72 37 94 15 > > > Le 4 déc. 2012 à 16:01, Gui Maluf a écrit : > > Hy, I've a ubuntu 12.04 cloud controller + node runing

[Openstack] 500 Internal Server error and [Errno 113] EHOSTUNREACH when adding a new node

2012-12-04 Thread Gui Maluf
Hy, I've a ubuntu 12.04 cloud controller + node runing essex in multi_node mode. So I'm trying to install a new node but without success. Node and controller have the same /etc/network/interface/; Node is running nova-{api-metadata,compute,network,volume}; nova.conf: http://paste.openstack.org/sho

Re: [Openstack] Error while enabling s3 support in swift

2012-11-28 Thread Gui Maluf
Thanks Alan. I did # git checkout 195e6c7 -- swift3/middleware.py # python setup.py install and proxy started fine! :) thanks On Wed, Nov 28, 2012 at 10:32 AM, Alan Pevec wrote: > 2012/11/28 Gui Maluf : > > > "/usr/local/lib/python2.7/dist-packages/swift3-1.0.0

Re: [Openstack] Error while enabling s3 support in swift

2012-11-28 Thread Gui Maluf
John, I installed the fujita/swift3 but I'm stuck at this point: Traceback (most recent call last): File "/usr/bin/swift-proxy-server", line 22, in run_wsgi(conf_file, 'proxy-server', default_port=8080, **options) File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 138, in

Re: [Openstack] [devstack] How to purge, remove and wipe out devstack?

2012-11-20 Thread Gui Maluf
vary though :-) > > -Josh > > From: Tong Li > Date: Monday, November 19, 2012 6:19 AM > To: Gui Maluf > Cc: "openstack-bounces+litong01=us.ibm@lists.launchpad.net" < > openstack-bounces+litong01=us.ibm@lists.launchpad.net>, " > openstack@lists.laun

[Openstack] [devstack] How to purge, remove and wipe out devstack?

2012-11-19 Thread Gui Maluf
Hello, if I would like to wipe, remove and purge everything devstack installed and configured what should I do? rm -rf /opt/stack rm -rf /usr/local/bin/ what else? thanks in advance! :) -- *guilherme* \n \t *maluf* ___ Mailing list: https://launchpad

Re: [Openstack] authentication failure for glance client in the latest devstack dev environment

2012-11-13 Thread Gui Maluf
I'm getting the same error! I tried to run devstack with a simple localrc but still happening the same error. stack@cloud-controller:~/devstack$ glance image-list Request returned failure status. Invalid OpenStack Identity credentials. On Fri, Nov 9, 2012 at 8:44 AM, Lu, Lianhao wrote: > My s

Re: [Openstack] [devstack] Malformed Documentation on stack.sh script web site

2012-11-08 Thread Gui Maluf
thanks dean, looks beautiful now! :) On Wed, Nov 7, 2012 at 4:29 PM, Dean Troyer wrote: > On Wed, Nov 7, 2012 at 9:27 AM, Gui Maluf wrote: > > In http://devstack.org/stack.sh.html above "Log Files", the whole > > documentation is malformed. All descriptions stop to

[Openstack] [devstack] Malformed Documentation on stack.sh script web site

2012-11-07 Thread Gui Maluf
In http://devstack.org/stack.sh.html above "Log Files", the whole documentation is malformed. All descriptions stop to match with the current piece of code. I don't know who to warn, so I'm sending this email here. Hope it'll be fixed! att -- *guilherme* \n \tab *maluf* ___

Re: [Openstack] Fwd: Openstack

2012-10-31 Thread Gui Maluf
have you tried to disable vnc and check if is working? I followed official doc using multi_host. This is my vnc configs #VNC CONSOLE --vnc_enabled=true --vncproxy_url=http://cloud-controller-ip:6080 --vnc_console_proxy_url=http://cloud-controller-ip:6080 --novnc_enabled=true --novncproxy_base_ur

Re: [Openstack] Using nova-volumes openstack LVM group for other pourposes

2012-10-25 Thread Gui Maluf
I think renaming the existent volume to a name that cinder/nova-volume recognize is enough. On Thu, Oct 25, 2012 at 8:48 AM, Daniel Vázquez wrote: > If we create a volume out of openstack context (it's is not created on > nova database) only on system level. Can we after add to openstack? > refor

Re: [Openstack] Additional iptables when two network interfaces

2012-10-24 Thread Gui Maluf
Did you enabled ip_forwarding? Try to use nova-api-metadata on node; When I tried to do the same set up I couldnt, my solution was using multi_host = true, starting nova-api-metadata on nodes. so each vm would get metadata info through it's own host and all traffic will go through this same host.

Re: [Openstack] looking for a Nova scheduler filter plugin to boot nodes on named hosts

2012-10-16 Thread Gui Maluf
You may find what you want here: http://docs.openstack.org/trunk/openstack-compute/admin/content/ch_scheduling.html On Mon, Oct 15, 2012 at 8:45 PM, Christian Parpart wrote: > Hi all, > > I am looking for a (Essex) Nova scheduler plugin that parses the > scheduler_hints to get a hostname of the

Re: [Openstack] nova-compute on Controller Node

2012-10-05 Thread Gui Maluf
Ahmed, in my set up controller is a node too. if your controller is capable of doing that, there is no harm, its ok. there is no need to put any service together with each other. so you may or not put nova-volume in compute nodes. you can dedicate a whole node to serve only nova-volume. depends on

Re: [Openstack] Multi host nova-networking and local DNS resolving

2012-10-05 Thread Gui Maluf
I think it's true. Maybe you will have to setup some external dns if you want resolution between hosts. On Thu, Oct 4, 2012 at 4:51 AM, Doude wrote: > Hi all, > > I saw this question : https://answers.launchpad.net/nova/+question/197603 > Is it still true ? If yes, which workaround is possible ?

Re: [Openstack] "nova-manage service list" does not list all nova services

2012-10-01 Thread Gui Maluf
You should give us /var/log/nova/{nova-api,nova-compute,nova-network}.log. But please, use http://paste.openstack.org/, dont fill the email with logs entry. Also paste /etc/nova/nova.conf and /etc/nova/api-paste.ini Check the user and permissions of /etc/nova and my last shot in the dark: flush t

Re: [Openstack] Setup described in "OpenStack Install and Deploy Manual - Ubuntu"

2012-09-28 Thread Gui Maluf
I think in OpenStack, services may run in different servers, so there is no correct setup. What the manual say about network config is: "This walkthrough shows network configurations for a single server. For OpenStack Compute, networking is configured on multi-node installations between the physic

Re: [Openstack] Can't ping vm to google

2012-09-28 Thread Gui Maluf
Jon, I was facing a similar problem, the only difference was I had 2 NICs. I've tried many things to figure out what was happening, but I found nothing. What I did to fix it was use multi_host[https://lists.launchpad.net/openstack/msg16656.html] set up, then all vms was able to access internet. I t

Re: [Openstack] Error in Horizon or misconfiguration?

2012-09-18 Thread Gui Maluf
Are you using keystone catalog ? check if api-paste keystone configs are correct. check if nova-api is running. check if endpoint is correctly created with # keystone endpoint-list I don't have any other clue. :/ On Tue, Sep 18, 2012 at 9:21 AM, Matthias Runge wrote: > Hi, > > currently, I'm te

Re: [Openstack] [Horizon-Q] Horizon in Essex does not support multi Availability Zones?

2012-09-18 Thread Gui Maluf
have you checked on /etc/openstack-dashboard/local_settings.py ? maybe this lines will help you # For multiple regions uncomment this configuration, and add (endpoint, title). # AVAILABLE_REGIONS = [ # ('http://cluster1.example.com:5000/v2.0', 'cluster1'), # ('http://cluster2.example.com:5

Re: [Openstack] Please provide the step by step guide for 3 node swift instalation steps

2012-09-18 Thread Gui Maluf
it's well documented here: http://docs.openstack.org/essex/openstack-compute/install/apt/openstack-install-guide-essex.pdf On Tue, Sep 18, 2012 at 3:52 AM, John Raja wrote: > Please provide the step by step guide for 3 node swift instalation steps . > > > *

Re: [Openstack] Private instances can't access Internet

2012-09-12 Thread Gui Maluf
NC CONSOLE --vnc_enabled=true --vncproxy_url=http://150.164.3.236:6080 --vnc_console_proxy_url=http://150.164.3.236:6080 --novnc_enabled=true --novncproxy_base_url=http://150.164.3.236:6080/vnc_auto.html --vncserver_proxyclient_address=$my_ip --vncserver_listen=$my_ip On Tue, Sep 11, 2012 at 5:50 PM,

Re: [Openstack] Private instances can't access Internet

2012-09-11 Thread Gui Maluf
ed_apis=ec2,osapi_compute,osapi_volume,metadata on cc-node, the same problem above happens. I'm really confuse, and spending a lot of time to put network working. I would really appreciate if someone could help; If I'd miss some information, please let me know! Thanks On Tue, Sep 11

Re: [Openstack] Private instances can't access Internet

2012-09-11 Thread Gui Maluf
a switch. > > > On Tue, Sep 11, 2012 at 11:01 PM, Gui Maluf wrote: >> >> I'm facing the same problem and I can't solve it! >> Please, someone help us! >> Instances from cc-node can reach Internet, but the node instances can't! >> >> C

Re: [Openstack] Private instances can't access Internet

2012-09-11 Thread Gui Maluf
I'm facing the same problem and I can't solve it! Please, someone help us! Instances from cc-node can reach Internet, but the node instances can't! CC-node configs: http://paste.openstack.org/show/20861/ Node configs: http://paste.openstack.org/show/20862/ ps: i'm not using multi_host I've tried