Comments (4)
issue seems to be related to the proxy-config
property in the juju controller configuration, see thread https://chat.charmhub.io/charmhub/pl/w3y9mwzyxirpirha6cb6rp4jcr for more info
from pytest-operator.
same issue here. hard to understand when/why it started happening
from pytest-operator.
How does your controllers.yaml
look like? pylibjuju should pick it up if it's in there, otherwise we'll need to improve the connect_controller
to accept some kwargs for the proxy, currently it looks like the controllers.yaml is the only way to get that https://github.com/juju/python-libjuju/blob/b56963442a6deffe46ce1fb5cb41970344263649/juju/client/connector.py#L143.
from pytest-operator.
the definition for my k8s cloud looks like:
microk8s-localhost:
uuid: 351b04f0-19b5-4ddf-86d5-5a2497dda9ce
api-endpoints: ['10.152.183.40:17070']
dns-cache: {localhost: [127.0.0.1]}
ca-cert: SNIP
cloud: microk8s
region: localhost
type: kubernetes
agent-version: 3.5.0
controller-machine-count: 1
active-controller-machine-count: 0
machine-count: 1
proxy-config:
type: kubernetes-port-forward
config:
api-host: 127.0.0.1:16443
ca-cert: SNIP
namespace: controller-microk8s-localhost
remote-port: "17070"
service: controller-service
service-account-token: SNIP
I tried manually editing and replace 127.0.0.1 with the IP that I get from microk8s config
:
but that made no difference whatsoever.
from pytest-operator.
Related Issues (20)
- running suites in a fresh controller
- Building charm with multiple bases not handled correctly
- operator should not be bound only to TOX HOT 2
- `juju-bundle` causes breakage when calling `deploy_bundle`
- Cannot pass bases_index of zero when building a charm
- `--keep-models` does not work for machine tests HOT 1
- Temporary directories created without args required in pytest 7.3.0 HOT 1
- --model seems broken on an LXD environment HOT 14
- `ops_test.model.deploy` ignores pinned revisions in a bundle HOT 1
- Not able to build charms on osx
- Unable to deploy a bundle using model.deploy HOT 3
- argument `--model-config` doesn't actually work HOT 1
- The name of the generated model is never displayed.
- MAAS cloud model name issue when using build_charm method
- MAAS cloud model name issue when initializing ops_test fixture
- Handle charms with merged `metadata.yaml` in `charmcraft.yaml`
- Pytest 8.2.0: AttributeError: 'FixtureDef' object has no attribute 'unittest' when using HOT 2
- Teardown storage HOT 1
- Add abstraction for testing cos integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-operator.