Ask Your Question

Ocelot's profile - activity

2016-05-13 01:23:35 -0600 received badge  Famous Question (source)
2016-05-13 01:23:35 -0600 received badge  Notable Question (source)
2016-05-13 01:23:35 -0600 received badge  Popular Question (source)
2016-04-04 03:09:09 -0600 received badge  Notable Question (source)
2016-04-04 03:09:09 -0600 received badge  Popular Question (source)
2016-02-15 14:16:54 -0600 received badge  Notable Question (source)
2016-02-15 05:14:34 -0600 received badge  Student (source)
2016-02-15 05:13:45 -0600 received badge  Popular Question (source)
2016-02-13 11:33:15 -0600 asked a question How to get tenant id using openstack4j

Hi, is there a way to get the tenant id using openstack4j? I need it to create a config file. Getting swift's endpoint would be nice as well. Thanks!

Update: I finally did it with this:

        Iterator<? extends Service> i = OS.getAccess().getServiceCatalog().iterator();
        while(i.hasNext()){
            Service aux = i.next();
            if(aux.getName().compareTo("swift") == 0){
                Iterator<? extends Endpoint> j = (aux.getEndpoints()).iterator();
                while (j.hasNext()){
                    Endpoint ep = j.next();
                    System.out.println(ep.getInternalURL());
                }
            }
        }

Is there a better solution?

2016-02-07 09:25:46 -0600 received badge  Editor (source)
2016-02-07 09:23:26 -0600 received badge  Popular Question (source)
2016-02-07 09:23:26 -0600 received badge  Famous Question (source)
2016-02-07 09:23:26 -0600 received badge  Notable Question (source)
2016-02-05 07:21:20 -0600 asked a question [Trystack] can't delete or upload objects

Hi, since yesterday i can neither upload nor delete objects into Swift. I can download though. In the http response i get:

<html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>

Have you any suggestion please? Thanks.

UPDATE: It's like a "corrupted container" Log23. If I type swift stat Log23 -v I get an "503" error. "Server Unavailable try later" and "Container HEAD failed". How can i fix this?

2016-02-02 00:38:47 -0600 asked a question [Trystack] Creaate Snapshot or upload Image

Hi, is it possible to upload an image with trystack? Creating a snapshot would be fine too. I need an nstance with java to test my cloud-init.

2015-07-27 12:11:43 -0600 asked a question Devstack: can't create container on Swift

Hi everyone,

I've installed devstack and i've enabled swift by adding: enable_service s-proxy s-object s-container s-account

The problem is, whenever I try to create a container " i.e. swift post firstcontainer" I get "Container not found". By looking at the s-proxy's screen I've found: "Container GET returning 503 [...] Could not autocreate account". So I added "account_autocreate = true" in /etc/swift/swift.conf, stopped all the swift services and started them again but nothing changed. Have you any suggestion?

EDIT: "account_autocreate" in /etc/swift/proxy-server.conf is setted true.