Closed eftner closed 8 months ago
Hi @eftner,
Thank you for bringing this issue to our attention. I tried to reproduce it with our test case domain_vlan_subnet_mappin
, but it runs as expected. Please try this also against your installation (I guess you mean 1.6.0
). This version is not yet fully tested, but the before mentioned test case runs well.
To run the test against your installation, you need to do the following:
PYTHONWARNINGS="ignore:Unverified HTTPS request"
PHPIPAM_VERSION="v1.6.0"
PHPIPAM_PORT=8443
PHPIPAM_URL=https://localhost:${PHPIPAM_PORT}
PHPIPAM_APPID=ansible
PHPIPAM_USERNAME=admin
PHPIPAM_PASSWORD=ipamadmin
PHPIPAM_VALIDATE_CERTS=false
PHPIPAM_API_URL=https://localhost:8443/api/${PHPIPAM_APPID}
make test-domain_vlan_subnet_mapping
ansible-playbook -i tests/inventory/hosts tests/test_playbooks/domain_vlan_subnet_mapping.yml -vvv
, to get more verbose outputTo double-check the results against a local test installation, you can run make setup-phpipam
to spin up a podman-compose (docker-compose) phpipam instance and run the test against this one. Before running the setup, you need to adjust the environment variables from step 2.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
I have deployed phpIPAM
Installed phpIPAM release: 1.7.0 Database schema version: 1.7 dbversion 41 PHP version: 8.1.2-1ubuntu2.14 MySQL version: 10.6.16-MariaDB-0ubuntu0.22.04.1
I have already configured vlans 1 to 1000 via ansible for the default l2domain
Snippet form the DB:
When trying to deploy a subnet and assign a vlan to it, I get "Can not resolve 'vlan' to an existing ID"
This is my playbook:
Here is the result of running the playbook
Versions:
Ansible:
phpipam-ansible-modules:
phpypam:
phpIPAM:
python version
list of python libraries: