You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by rv...@privaz.io.INVALID on 2020/08/06 09:11:28 UTC

Vlan being used for dynamic allocation?

​Hi!

I am trying to setup a Cloudstack lab/test cloud for the first time.

I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2 hosts + 1 manager, to get started.

I am creating my zone, physical networks and I am hitting the wall when trying to create an ip range for public traffic on VLAN 8.

I get the following error:

The VLAN tag vlan://8 is already being used for dynamic vlan allocation for the guest network in zone z1


However, when I create the physical network for Gest I specified VLANS 10-500 for Guest (see attached capture)


What am I doing wrong?


Regards,
Rafael


Re: Vlan being used for dynamic allocation?

Posted by Rafael del Valle <ra...@livelens.net.INVALID>.
If I stop using the VLAN parameter for the Physical Network then it works as I would have expected.

R.

On Thu, 2020-08-06 01:29 PM, Rafael del Valle <rv...@privaz.io.INVALID> wrote:
> Yes, 
> 
> Probably I have misunderstood  something:
> 
> That is the network that I am trying to create, it is not yet active:
> 
>  * first I create the physical network, and I specify the VLAN range that I intent to use in that physical network.
> 
>  * then I create the  IP Ranges + VLAN, where I can specify the concrete reservations. 
> 
> So, I have specified VLAN range 8-8 for that physical network and then I expect to be able to use VLAN 8 when defining an IP-range that uses that physical network.
> 
> When I try to use 8 with cs_vlan_ip_range then it complains that it is already in use.
> 
> What did I get wrong? 
> 
> 
> 
> On Thu, 2020-08-06 01:03 PM, Andrija Panic " target="_blank"><an...@gmail.com> wrote:
> > Last row - say vlan 8-8 for the z1-public-net... so does that ring any
> > bells?
> > 
> > cheers,
> > 
> > On Thu, 6 Aug 2020 at 12:00, Rafael del Valle " target="_blank">" target="_blank"><rv...@privaz.io.invalid>
> > wrote:
> > 
> > > Hi!
> > >
> > > Find attached the results of the queries:
> > >
> > > mysql> select * from vlan
> > >     -> ;
> > >
> > > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > | id | uuid                                 | vlan_id         |
> > > vlan_gateway | vlan_netmask | ip4_range           | vlan_type      |
> > > data_center_id | network_id | physical_network_id | ip6_gateway | ip6_cidr
> > > | ip6_range | removed             | created             |
> > >
> > > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > |  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged | 10.8.0.1
> > >    | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |              1
> > > |        200 |                 203 | NULL        | NULL     | NULL      |
> > > 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
> > >
> > > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > 1 row in set (0.00 sec)
> > >
> > > mysql> select * from physical_network;
> > >
> > > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > | id  | uuid                                 | name          |
> > > data_center_id | vnet   | speed | domain_id | broadcast_domain_range |
> > > state    | created             | removed |
> > >
> > > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > | 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |
> > >   1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  |
> > > 2020-08-05 22:23:22 | NULL    |
> > > | 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |
> > >   1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  |
> > > 2020-08-05 22:23:29 | NULL    |
> > > | 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |
> > >   1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled |
> > > 2020-08-05 22:27:34 | NULL    |
> > >
> > > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > 3 rows in set (0.00 sec)
> > >
> > > R.
> > >
> > > On Thu, 2020-08-06 11:44 AM, Andrija Panic " target="_blank">" target="_blank"><an...@gmail.com>
> > > wrote:
> > > > Hi,
> > > >
> > > > no attachments are allowed on the ML (doesn't get sent to receivers), so
> > > > please upload to some external service and post a link here.
> > > >
> > > > Based on the error message, you definitely do use vlan 8 somewhere.
> > > >
> > > > Please give the output of:
> > > >
> > > > select * from vlan;
> > > > select * from physical_network
> > > >
> > > > Best,
> > > >
> > > > On Thu, 6 Aug 2020 at 11:11, " target="_blank">" target="_blank">" target="_blank"><rv...@privaz.io.invalid>
> > > wrote:
> > > >
> > > > > ​Hi!
> > > > >
> > > > > I am trying to setup a Cloudstack lab/test cloud for the first time.
> > > > >
> > > > > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2
> > > hosts +
> > > > > 1 manager, to get started.
> > > > >
> > > > > I am creating my zone, physical networks and I am hitting the wall when
> > > > > trying to create an ip range for public traffic on VLAN 8.
> > > > >
> > > > > I get the following error:
> > > > >
> > > > > The VLAN tag vlan://8 is already being used for dynamic vlan allocation
> > > > > for the guest network in zone z1
> > > > >
> > > > > However, when I create the physical network for Gest I specified VLANS
> > > > > 10-500 for Guest (see attached capture)
> > > > >
> > > > > What am I doing wrong?
> > > > >
> > > > > Regards,
> > > > > Rafael
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> > 
> > 
> > 
> > --
> > 
> > Andrija Panić
> > 

Re: Vlan being used for dynamic allocation?

Posted by Rafael del Valle <rv...@privaz.io.INVALID>.
Andrija,

Thanks for the clarifiation. 

R.

On Thu, 2020-08-06 09:18 PM, Andrija Panic <an...@gmail.com> wrote:
> Rafael, the vlan range you were specifying when creating a physical
> network, is for the Guest traffic (each guest/tenant VM is located on some
> network, and each network is isolated by others using one VLAN from that
> range)\
> 
> i.e. whatever VLAN you want to use when adding a Public IP addresses, it
> must not be added to a physical network's Guest VLANs range (i.e. remove it
> from there)
> 
> Cheers,
> 
> On Thu, 6 Aug 2020 at 13:30, Rafael del Valle " target="_blank"><rv...@privaz.io.invalid>
> wrote:
> 
> > Yes,
> >
> > Probably I have misunderstood  something:
> >
> > That is the network that I am trying to create, it is not yet active:
> >
> >  * first I create the physical network, and I specify the VLAN range that
> > I intent to use in that physical network.
> >
> >  * then I create the  IP Ranges + VLAN, where I can specify the concrete
> > reservations.
> >
> > So, I have specified VLAN range 8-8 for that physical network and then I
> > expect to be able to use VLAN 8 when defining an IP-range that uses that
> > physical network.
> >
> > When I try to use 8 with cs_vlan_ip_range then it complains that it is
> > already in use.
> >
> > What did I get wrong?
> >
> >
> >
> > On Thu, 2020-08-06 01:03 PM, Andrija Panic " target="_blank"><an...@gmail.com>
> > wrote:
> > > Last row - say vlan 8-8 for the z1-public-net... so does that ring any
> > > bells?
> > >
> > > cheers,
> > >
> > > On Thu, 6 Aug 2020 at 12:00, Rafael del Valle "
> > target="_blank">" target="_blank"><rv...@privaz.io.invalid>
> > > wrote:
> > >
> > > > Hi!
> > > >
> > > > Find attached the results of the queries:
> > > >
> > > > mysql> select * from vlan
> > > >     -> ;
> > > >
> > > >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > > | id | uuid                                 | vlan_id         |
> > > > vlan_gateway | vlan_netmask | ip4_range           | vlan_type      |
> > > > data_center_id | network_id | physical_network_id | ip6_gateway |
> > ip6_cidr
> > > > | ip6_range | removed             | created             |
> > > >
> > > >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > > |  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged |
> > 10.8.0.1
> > > >    | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |
> >   1
> > > > |        200 |                 203 | NULL        | NULL     | NULL
> >   |
> > > > 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
> > > >
> > > >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > > 1 row in set (0.00 sec)
> > > >
> > > > mysql> select * from physical_network;
> > > >
> > > >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > > | id  | uuid                                 | name          |
> > > > data_center_id | vnet   | speed | domain_id | broadcast_domain_range |
> > > > state    | created             | removed |
> > > >
> > > >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > > | 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |
> > > >   1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  |
> > > > 2020-08-05 22:23:22 | NULL    |
> > > > | 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |
> > > >   1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  |
> > > > 2020-08-05 22:23:29 | NULL    |
> > > > | 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |
> > > >   1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled |
> > > > 2020-08-05 22:27:34 | NULL    |
> > > >
> > > >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > > 3 rows in set (0.00 sec)
> > > >
> > > > R.
> > > >
> > > > On Thu, 2020-08-06 11:44 AM, Andrija Panic " target="_blank"><
> > " target="_blank">andrija.panic@gmail.com>
> > > > wrote:
> > > > > Hi,
> > > > >
> > > > > no attachments are allowed on the ML (doesn't get sent to
> > receivers), so
> > > > > please upload to some external service and post a link here.
> > > > >
> > > > > Based on the error message, you definitely do use vlan 8 somewhere.
> > > > >
> > > > > Please give the output of:
> > > > >
> > > > > select * from vlan;
> > > > > select * from physical_network
> > > > >
> > > > > Best,
> > > > >
> > > > > On Thu, 6 Aug 2020 at 11:11, " target="_blank">"
> > target="_blank">" target="_blank"><rv...@privaz.io.invalid>
> > > > wrote:
> > > > >
> > > > > > ​Hi!
> > > > > >
> > > > > > I am trying to setup a Cloudstack lab/test cloud for the first
> > time.
> > > > > >
> > > > > > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2
> > > > hosts +
> > > > > > 1 manager, to get started.
> > > > > >
> > > > > > I am creating my zone, physical networks and I am hitting the wall
> > when
> > > > > > trying to create an ip range for public traffic on VLAN 8.
> > > > > >
> > > > > > I get the following error:
> > > > > >
> > > > > > The VLAN tag vlan://8 is already being used for dynamic vlan
> > allocation
> > > > > > for the guest network in zone z1
> > > > > >
> > > > > > However, when I create the physical network for Gest I specified
> > VLANS
> > > > > > 10-500 for Guest (see attached capture)
> > > > > >
> > > > > > What am I doing wrong?
> > > > > >
> > > > > > Regards,
> > > > > > Rafael
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > > >
> > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> 
> 
> 
> --
> 
> Andrija Panić
> 

Re: Vlan being used for dynamic allocation?

Posted by Andrija Panic <an...@gmail.com>.
Rafael, the vlan range you were specifying when creating a physical
network, is for the Guest traffic (each guest/tenant VM is located on some
network, and each network is isolated by others using one VLAN from that
range)\

i.e. whatever VLAN you want to use when adding a Public IP addresses, it
must not be added to a physical network's Guest VLANs range (i.e. remove it
from there)

Cheers,

On Thu, 6 Aug 2020 at 13:30, Rafael del Valle <rv...@privaz.io.invalid>
wrote:

> Yes,
>
> Probably I have misunderstood  something:
>
> That is the network that I am trying to create, it is not yet active:
>
>  * first I create the physical network, and I specify the VLAN range that
> I intent to use in that physical network.
>
>  * then I create the  IP Ranges + VLAN, where I can specify the concrete
> reservations.
>
> So, I have specified VLAN range 8-8 for that physical network and then I
> expect to be able to use VLAN 8 when defining an IP-range that uses that
> physical network.
>
> When I try to use 8 with cs_vlan_ip_range then it complains that it is
> already in use.
>
> What did I get wrong?
>
>
>
> On Thu, 2020-08-06 01:03 PM, Andrija Panic <an...@gmail.com>
> wrote:
> > Last row - say vlan 8-8 for the z1-public-net... so does that ring any
> > bells?
> >
> > cheers,
> >
> > On Thu, 6 Aug 2020 at 12:00, Rafael del Valle "
> target="_blank"><rv...@privaz.io.invalid>
> > wrote:
> >
> > > Hi!
> > >
> > > Find attached the results of the queries:
> > >
> > > mysql> select * from vlan
> > >     -> ;
> > >
> > >
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > | id | uuid                                 | vlan_id         |
> > > vlan_gateway | vlan_netmask | ip4_range           | vlan_type      |
> > > data_center_id | network_id | physical_network_id | ip6_gateway |
> ip6_cidr
> > > | ip6_range | removed             | created             |
> > >
> > >
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > |  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged |
> 10.8.0.1
> > >    | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |
>   1
> > > |        200 |                 203 | NULL        | NULL     | NULL
>   |
> > > 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
> > >
> > >
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > > 1 row in set (0.00 sec)
> > >
> > > mysql> select * from physical_network;
> > >
> > >
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > | id  | uuid                                 | name          |
> > > data_center_id | vnet   | speed | domain_id | broadcast_domain_range |
> > > state    | created             | removed |
> > >
> > >
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > | 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |
> > >   1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  |
> > > 2020-08-05 22:23:22 | NULL    |
> > > | 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |
> > >   1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  |
> > > 2020-08-05 22:23:29 | NULL    |
> > > | 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |
> > >   1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled |
> > > 2020-08-05 22:27:34 | NULL    |
> > >
> > >
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > > 3 rows in set (0.00 sec)
> > >
> > > R.
> > >
> > > On Thu, 2020-08-06 11:44 AM, Andrija Panic " target="_blank"><
> andrija.panic@gmail.com>
> > > wrote:
> > > > Hi,
> > > >
> > > > no attachments are allowed on the ML (doesn't get sent to
> receivers), so
> > > > please upload to some external service and post a link here.
> > > >
> > > > Based on the error message, you definitely do use vlan 8 somewhere.
> > > >
> > > > Please give the output of:
> > > >
> > > > select * from vlan;
> > > > select * from physical_network
> > > >
> > > > Best,
> > > >
> > > > On Thu, 6 Aug 2020 at 11:11, " target="_blank">"
> target="_blank"><rv...@privaz.io.invalid>
> > > wrote:
> > > >
> > > > > ​Hi!
> > > > >
> > > > > I am trying to setup a Cloudstack lab/test cloud for the first
> time.
> > > > >
> > > > > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2
> > > hosts +
> > > > > 1 manager, to get started.
> > > > >
> > > > > I am creating my zone, physical networks and I am hitting the wall
> when
> > > > > trying to create an ip range for public traffic on VLAN 8.
> > > > >
> > > > > I get the following error:
> > > > >
> > > > > The VLAN tag vlan://8 is already being used for dynamic vlan
> allocation
> > > > > for the guest network in zone z1
> > > > >
> > > > > However, when I create the physical network for Gest I specified
> VLANS
> > > > > 10-500 for Guest (see attached capture)
> > > > >
> > > > > What am I doing wrong?
> > > > >
> > > > > Regards,
> > > > > Rafael
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> >
> >
> >
> > --
> >
> > Andrija Panić
> >



-- 

Andrija Panić

Re: Vlan being used for dynamic allocation?

Posted by Rafael del Valle <rv...@privaz.io.INVALID>.
Yes, 

Probably I have misunderstood  something:

That is the network that I am trying to create, it is not yet active:

 * first I create the physical network, and I specify the VLAN range that I intent to use in that physical network.

 * then I create the  IP Ranges + VLAN, where I can specify the concrete reservations. 

So, I have specified VLAN range 8-8 for that physical network and then I expect to be able to use VLAN 8 when defining an IP-range that uses that physical network.

When I try to use 8 with cs_vlan_ip_range then it complains that it is already in use.

What did I get wrong? 



On Thu, 2020-08-06 01:03 PM, Andrija Panic <an...@gmail.com> wrote:
> Last row - say vlan 8-8 for the z1-public-net... so does that ring any
> bells?
> 
> cheers,
> 
> On Thu, 6 Aug 2020 at 12:00, Rafael del Valle " target="_blank"><rv...@privaz.io.invalid>
> wrote:
> 
> > Hi!
> >
> > Find attached the results of the queries:
> >
> > mysql> select * from vlan
> >     -> ;
> >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > | id | uuid                                 | vlan_id         |
> > vlan_gateway | vlan_netmask | ip4_range           | vlan_type      |
> > data_center_id | network_id | physical_network_id | ip6_gateway | ip6_cidr
> > | ip6_range | removed             | created             |
> >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > |  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged | 10.8.0.1
> >    | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |              1
> > |        200 |                 203 | NULL        | NULL     | NULL      |
> > 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
> >
> > +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> > 1 row in set (0.00 sec)
> >
> > mysql> select * from physical_network;
> >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > | id  | uuid                                 | name          |
> > data_center_id | vnet   | speed | domain_id | broadcast_domain_range |
> > state    | created             | removed |
> >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > | 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |
> >   1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  |
> > 2020-08-05 22:23:22 | NULL    |
> > | 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |
> >   1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  |
> > 2020-08-05 22:23:29 | NULL    |
> > | 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |
> >   1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled |
> > 2020-08-05 22:27:34 | NULL    |
> >
> > +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> > 3 rows in set (0.00 sec)
> >
> > R.
> >
> > On Thu, 2020-08-06 11:44 AM, Andrija Panic " target="_blank"><an...@gmail.com>
> > wrote:
> > > Hi,
> > >
> > > no attachments are allowed on the ML (doesn't get sent to receivers), so
> > > please upload to some external service and post a link here.
> > >
> > > Based on the error message, you definitely do use vlan 8 somewhere.
> > >
> > > Please give the output of:
> > >
> > > select * from vlan;
> > > select * from physical_network
> > >
> > > Best,
> > >
> > > On Thu, 6 Aug 2020 at 11:11, " target="_blank">" target="_blank"><rv...@privaz.io.invalid>
> > wrote:
> > >
> > > > ​Hi!
> > > >
> > > > I am trying to setup a Cloudstack lab/test cloud for the first time.
> > > >
> > > > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2
> > hosts +
> > > > 1 manager, to get started.
> > > >
> > > > I am creating my zone, physical networks and I am hitting the wall when
> > > > trying to create an ip range for public traffic on VLAN 8.
> > > >
> > > > I get the following error:
> > > >
> > > > The VLAN tag vlan://8 is already being used for dynamic vlan allocation
> > > > for the guest network in zone z1
> > > >
> > > > However, when I create the physical network for Gest I specified VLANS
> > > > 10-500 for Guest (see attached capture)
> > > >
> > > > What am I doing wrong?
> > > >
> > > > Regards,
> > > > Rafael
> > > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> 
> 
> 
> --
> 
> Andrija Panić
> 

Re: Vlan being used for dynamic allocation?

Posted by Andrija Panic <an...@gmail.com>.
Last row - say vlan 8-8 for the z1-public-net... so does that ring any
bells?

cheers,

On Thu, 6 Aug 2020 at 12:00, Rafael del Valle <rv...@privaz.io.invalid>
wrote:

> Hi!
>
> Find attached the results of the queries:
>
> mysql> select * from vlan
>     -> ;
>
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> | id | uuid                                 | vlan_id         |
> vlan_gateway | vlan_netmask | ip4_range           | vlan_type      |
> data_center_id | network_id | physical_network_id | ip6_gateway | ip6_cidr
> | ip6_range | removed             | created             |
>
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> |  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged | 10.8.0.1
>    | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |              1
> |        200 |                 203 | NULL        | NULL     | NULL      |
> 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
>
> +----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
> 1 row in set (0.00 sec)
>
> mysql> select * from physical_network;
>
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> | id  | uuid                                 | name          |
> data_center_id | vnet   | speed | domain_id | broadcast_domain_range |
> state    | created             | removed |
>
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> | 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |
>   1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  |
> 2020-08-05 22:23:22 | NULL    |
> | 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |
>   1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  |
> 2020-08-05 22:23:29 | NULL    |
> | 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |
>   1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled |
> 2020-08-05 22:27:34 | NULL    |
>
> +-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
> 3 rows in set (0.00 sec)
>
> R.
>
> On Thu, 2020-08-06 11:44 AM, Andrija Panic <an...@gmail.com>
> wrote:
> > Hi,
> >
> > no attachments are allowed on the ML (doesn't get sent to receivers), so
> > please upload to some external service and post a link here.
> >
> > Based on the error message, you definitely do use vlan 8 somewhere.
> >
> > Please give the output of:
> >
> > select * from vlan;
> > select * from physical_network
> >
> > Best,
> >
> > On Thu, 6 Aug 2020 at 11:11, " target="_blank"><rv...@privaz.io.invalid>
> wrote:
> >
> > > ​Hi!
> > >
> > > I am trying to setup a Cloudstack lab/test cloud for the first time.
> > >
> > > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2
> hosts +
> > > 1 manager, to get started.
> > >
> > > I am creating my zone, physical networks and I am hitting the wall when
> > > trying to create an ip range for public traffic on VLAN 8.
> > >
> > > I get the following error:
> > >
> > > The VLAN tag vlan://8 is already being used for dynamic vlan allocation
> > > for the guest network in zone z1
> > >
> > > However, when I create the physical network for Gest I specified VLANS
> > > 10-500 for Guest (see attached capture)
> > >
> > > What am I doing wrong?
> > >
> > > Regards,
> > > Rafael
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >



-- 

Andrija Panić

Re: Vlan being used for dynamic allocation?

Posted by Rafael del Valle <rv...@privaz.io.INVALID>.
Hi!

Find attached the results of the queries:

mysql> select * from vlan
    -> ;
+----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
| id | uuid                                 | vlan_id         | vlan_gateway | vlan_netmask | ip4_range           | vlan_type      | data_center_id | network_id | physical_network_id | ip6_gateway | ip6_cidr | ip6_range | removed             | created             |
+----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
|  1 | 9f0883b6-debe-4076-a0ed-ffa7086a7729 | vlan://untagged | 10.8.0.1     | 255.255.0.0  | 10.8.1.1-10.8.1.254 | VirtualNetwork |              1 |        200 |                 203 | NULL        | NULL     | NULL      | 2020-08-06 08:04:29 | 2020-08-05 22:28:02 |
+----+--------------------------------------+-----------------+--------------+--------------+---------------------+----------------+----------------+------------+---------------------+-------------+----------+-----------+---------------------+---------------------+
1 row in set (0.00 sec)

mysql> select * from physical_network;
+-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
| id  | uuid                                 | name          | data_center_id | vnet   | speed | domain_id | broadcast_domain_range | state    | created             | removed |
+-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
| 200 | 5c6e335a-0746-4b5f-8c60-fb733f0e368a | z1-mgmt-net   |              1 | NULL   | NULL  |      NULL | ZONE                   | Enabled  | 2020-08-05 22:23:22 | NULL    |
| 201 | cbc89b2e-58aa-4009-b89f-27e74b0db0ef | z1-guest-net  |              1 | 10-500 | NULL  |      NULL | ZONE                   | Enabled  | 2020-08-05 22:23:29 | NULL    |
| 203 | 049cfe5f-c31a-48a0-9ddf-24639f46be68 | z1-public-net |              1 | 8-8    | NULL  |      NULL | ZONE                   | Disabled | 2020-08-05 22:27:34 | NULL    |
+-----+--------------------------------------+---------------+----------------+--------+-------+-----------+------------------------+----------+---------------------+---------+
3 rows in set (0.00 sec)

R.

On Thu, 2020-08-06 11:44 AM, Andrija Panic <an...@gmail.com> wrote:
> Hi,
> 
> no attachments are allowed on the ML (doesn't get sent to receivers), so
> please upload to some external service and post a link here.
> 
> Based on the error message, you definitely do use vlan 8 somewhere.
> 
> Please give the output of:
> 
> select * from vlan;
> select * from physical_network
> 
> Best,
> 
> On Thu, 6 Aug 2020 at 11:11, " target="_blank"><rv...@privaz.io.invalid> wrote:
> 
> > ​Hi!
> >
> > I am trying to setup a Cloudstack lab/test cloud for the first time.
> >
> > I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2 hosts +
> > 1 manager, to get started.
> >
> > I am creating my zone, physical networks and I am hitting the wall when
> > trying to create an ip range for public traffic on VLAN 8.
> >
> > I get the following error:
> >
> > The VLAN tag vlan://8 is already being used for dynamic vlan allocation
> > for the guest network in zone z1
> >
> > However, when I create the physical network for Gest I specified VLANS
> > 10-500 for Guest (see attached capture)
> >
> > What am I doing wrong?
> >
> > Regards,
> > Rafael
> >
> 
> 
> --
> 
> Andrija Panić
> 

Re: Vlan being used for dynamic allocation?

Posted by Andrija Panic <an...@gmail.com>.
Hi,

no attachments are allowed on the ML (doesn't get sent to receivers), so
please upload to some external service and post a link here.

Based on the error message, you definitely do use vlan 8 somewhere.

Please give the output of:

select * from vlan;
select * from physical_network

Best,

On Thu, 6 Aug 2020 at 11:11, <rv...@privaz.io.invalid> wrote:

> ​Hi!
>
> I am trying to setup a Cloudstack lab/test cloud for the first time.
>
> I am using ACS 4.14, advanced networking, KVM, on Ubuntu 18.04, 2 hosts +
> 1 manager, to get started.
>
> I am creating my zone, physical networks and I am hitting the wall when
> trying to create an ip range for public traffic on VLAN 8.
>
> I get the following error:
>
> The VLAN tag vlan://8 is already being used for dynamic vlan allocation
> for the guest network in zone z1
>
> However, when I create the physical network for Gest I specified VLANS
> 10-500 for Guest (see attached capture)
>
> What am I doing wrong?
>
> Regards,
> Rafael
>


-- 

Andrija Panić