*** andrey-mp has quit IRC | 06:39 | |
*** andrey-mp has joined #openstack-ec2api | 08:46 | |
cybojanek | andrey-mp: Hi! | 14:21 |
---|---|---|
cybojanek | I'm trying to do a describe-subnets command | 14:21 |
cybojanek | But I get back an empty list | 14:21 |
cybojanek | Does ec2api use its own database, or is it supposed to use the nova one? | 14:21 |
andrey-mp | ec2api has own database. | 14:23 |
andrey-mp | are you using nova-network or neutron? | 14:24 |
cybojanek | Neutron | 14:24 |
cybojanek | I see that the networks show up in the api calls in ec2api log | 14:24 |
cybojanek | But during the describe() "for os_item in self.os_items" | 14:24 |
cybojanek | They all get filtered out | 14:25 |
cybojanek | And formatted_items becomes empty | 14:25 |
andrey-mp | they can be filtered for your project | 14:25 |
andrey-mp | and ec2api returns only own subnets | 14:26 |
cybojanek | Do I need to specify the network when allocating an instance with ec2api, or will it choose a default? | 14:32 |
andrey-mp | there are two options: | 14:40 |
andrey-mp | 1) use VPC: you need to specify subnet for instance creation | 14:40 |
andrey-mp | 2) use EC2-classic: just boot instance | 14:40 |
cybojanek | Ok - I created a private network/subnet in my openstack project. I can list them with openstack project list. In EC2, I try to use "ec2 describe subnets" and I get an empty reply back | 14:41 |
cybojanek | I have full_vpc_support=true | 14:42 |
cybojanek | Do I need to do something in ec2api to create VPCs to map them to the actual openstack subnets? | 14:42 |
andrey-mp | ec2api doesn't return object that was created through openstack tools | 14:42 |
andrey-mp | you need to create VPC via 'aws' CLI tool | 14:43 |
cybojanek | I see | 14:43 |
cybojanek | How does ec2-classic choose the subnet to boot on? | 14:45 |
andrey-mp | ec2-classic uses network from current project if the project has one and only one network | 14:49 |
cybojanek | Do I enable ec2-classic through full_vpc_support=false | 14:50 |
cybojanek | ? | 14:50 |
andrey-mp | ec2-classic is existed alwaws | 14:51 |
andrey-mp | always | 14:51 |
andrey-mp | you can switch on/off only vpc support | 14:51 |
*** andrey-mp has quit IRC | 15:27 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!