Access files stored in Swift objects from inside an OpenStack VM instance


forever flavin

I've uploaded some zip archives into Swift Object Storage and marked them as public. I want to download these files from the VM instance. I am running CentOS 7 in a VM.

Is it possible to do it?

forever flavin

I installed python-swiftclientand python-openstackclientused pipand set up the OpenStack API access environment inside the VM instance using a file downloaded from the Horizon console OpenStack RC.

After that, run the command swift download _container_name_(replace _container_name_with the container you need access to) to download all files associated with that container to the VM instance's filesystem.

Wish there was an easier way, like mounting a remote filesystem. But for this, I should use block storage instead of object storage.

Related


List access scopes from inside a GCE VM instance

Drucks How to find the access scopes an instance has from the command line of a Google Cloud Engine (GCE) VM instance? forms of commerce You can retrieve it from the metadata server , running the command in the VM instance: curl "http://metadata.google.interna

List access scopes from inside a GCE VM instance

Drucks How to find the access scopes an instance has from the command line of a Google Cloud Engine (GCE) VM instance? forms of commerce You can retrieve it from the metadata server , running the command in the VM instance: curl "http://metadata.google.interna

List access scopes from inside a GCE VM instance

Drucks How to find the access scopes an instance has from the command line of a Google Cloud Engine (GCE) VM instance? forms of commerce You can retrieve it from the metadata server , running the command in the VM instance: curl "http://metadata.google.interna

List access scopes from inside a GCE VM instance

Drucks How to find the access scopes an instance has from the command line of a Google Cloud Engine (GCE) VM instance? forms of commerce You can retrieve it from the metadata server , running the command in the VM instance: curl "http://metadata.google.interna

List access scopes from inside a GCE VM instance

Drucks How to find the access scopes an instance has from the command line of a Google Cloud Engine (GCE) VM instance? forms of commerce You can retrieve it from the metadata server , running the command in the VM instance: curl "http://metadata.google.interna

Unable to access OpenStack instance from other devices

Billa Yahya I have done a DevStack installation of OpenStack on the server. I have added ICMP and SSH rules to the security group. And made an example above. I can ssh and ping these instances from the host. The problem now is that I can't ssh or even ping my

Swift/IOS: Access objects stored in NSSet

sashimi I have two modals , Patient and PatientDocument as shown below @objc (Patient) class Patient: NSManagedObject { @NSManaged var id: Int64 @NSManaged var fullName: String @NSManaged var lastVisitDate: NSTimeInterval @NSManaged var documents:

Swift/IOS: Access objects stored in NSSet

sashimi I have two modals , Patient and PatientDocument as shown below @objc (Patient) class Patient: NSManagedObject { @NSManaged var id: Int64 @NSManaged var fullName: String @NSManaged var lastVisitDate: NSTimeInterval @NSManaged var documents:

Unable to access Openstack VM on LAN

user 0011 I'm having trouble accessing an Open Stack VM on a LAN. I have setup a single machine (192.168.2.15) opensatck with devstack, so all VMs are running on this machine My machine (192.168.2.15) has a network card (eth0), I have Nova Networks and have no

Unable to access Openstack VM on LAN

user 0011 I'm having trouble accessing an Open Stack VM on a LAN. I have setup a single machine (192.168.2.15) opensatck with devstack, so all VMs are running on this machine My machine (192.168.2.15) has a network card (eth0), I have Nova Networks and have no

Unable to access Openstack VM on LAN

user 0011 I'm having trouble accessing an Open Stack VM on a LAN. I have setup a single machine (192.168.2.15) opensatck with devstack, so all VMs are running on this machine My machine (192.168.2.15) has a network card (eth0), I have Nova Networks and have no

Access this /vm instance from props default (VueJS)

Geo C. I have a plugin that sets some variables for vue's object prototype. I need to access these variables from default properties of props. How can I achieve this? Using the following example, webpack throws some undefined errors. //... props: { size: {

Access this /vm instance from props default (VueJS)

Geo C. I have a plugin that sets some variables for vue's object prototype. I need to access these variables from default properties of props. How can I achieve this? Using the following example, webpack throws some undefined errors. //... props: { size: {

Access this /vm instance from props default (VueJS)

Geo C. I have a plugin that sets some variables for vue's object prototype. I need to access these variables from default properties of props. How can I achieve this? Using the following example, webpack throws some undefined errors. //... props: { size: {

Openstack instance cannot access internet

Imran Khakoo I used the landscape installer in MAAS. When I SSH into the Neutron node, I can ping to the internet, but the instance cannot. ubuntu@nvcg:~$ ping google.com PING google.com (216.58.223.14) 56(84) bytes of data. From 10.10.0.1 icmp_seq=1 Destinati

Openstack instance cannot access internet

Imran Khakoo I used the landscape installer in MAAS. When I SSH into the Neutron node, I can ping to the internet, but the instance cannot. ubuntu@nvcg:~$ ping google.com PING google.com (216.58.223.14) 56(84) bytes of data. From 10.10.0.1 icmp_seq=1 Destinati

Openstack instance cannot access internet

Imran Khakoo I used the landscape installer in MAAS. When I SSH into the Neutron node, I can ping to the internet, but the instance cannot. ubuntu@nvcg:~$ ping google.com PING google.com (216.58.223.14) 56(84) bytes of data. From 10.10.0.1 icmp_seq=1 Destinati

Can Ping but not SSH to Openstack VM instance

Nasto Has a multi-node MAAS-JUJU-Openstack setup, i.e. nova-cloud-controller, nova-compute and quantum/neutron gateway are on separate hosts. In this setup, MAAS and openstack share 10.0.0.0/24 as their management network, and the Quantum charm connects to the

Can Ping but not SSH to Openstack VM instance

Nasto Has a multi-node MAAS-JUJU-Openstack setup, i.e. nova-cloud-controller, nova-compute and quantum/neutron gateway are on separate hosts. In this setup, MAAS and openstack share 10.0.0.0/24 as their management network, and the Quantum charm connects to the

How to access instance methods from inside a list?

Flax So I'm trying to group a list by a specific method of a class. My code currently stores "meals" using Hive via the following class format: https://pub.dev/packages/hive import 'package:hive/hive.dart'; part 'meal.g.dart'; @HiveType(typeId: 1, adapterNam