Issue with Amulet testing
Hi I am trying to run the following amulet test on my charm where it verifies a particular url. self.assertTrue(self.d.deployed) unit = self.d.sentry['ibm-mobilefirst-server'][0] url = 'http://%s:9081/appcenterconsole' % unit.info['public-address'] https_url = 'https://%s:9443/appcenterconsole' % unit.info['public-address'] print('Url is %s' % url) response = requests.get(url, verify=False) response = requests.get(https_url, verify=False) # Raise an exception if the url was not a valid web page. response.raise_for_status() While running amulet, it throws an error as "InsecureRequestWarning: Unverified HTTPS request is being made". Can anyone please let me know how to resolve this ? E2017-03-02 01:00:38 Starting deployment of lxd-testing:admin/default 2017-03-02 01:00:38 Deploying applications... 2017-03-02 01:00:43 Config specifies num units for subordinate: ibm-mobilefirst-server 2017-03-02 01:00:44 Adding relations... 2017-03-02 01:00:44 Deployment complete in 6.19 seconds Url is http://:9081/appcenterconsole /usr/lib/python3/dist-packages/urllib3/connectionpool.py:794: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) I tried to install some additional packages as mentioned in the link https://urllib3.readthedocs.org/en/latest/security.html. But that doesn't help. Suchitra Venugopal Project Manager Juju Charms Phone: +91-80-494-93581 Mobile: +91-966-312-6000 E-mail: suchv...@in.ibm.com Product Transformation Centre INDIA SOFTWARE LABS, IBM SYSTEMS, EGL C, 6th FLOOR, BANGALORE -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Readme file changes in Charm store
Hi, I have recently updated the Readme file in the trunk Branch in Launchpad. But the updated changes are not yet reflected in Charm store. I have noticed before that the changes get reflected in the store in 1 hour or so. Are there any issues ? Thanks & Regards, Suchitra Venugopal Project Manager, Cloud Orchestration IBM Certified IT Specialist Seat # EGLC 6F B099, C-Block, Embassy Golf Link, Intermediate Ring Road, Bangalore Off : (91)80-4129-7773 Mobile : 9663126000 Email: suchv...@in.ibm.com -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Issue while deploying charm - Could not resolve 'archive.ubuntu.com'
Hi, I am facing this issue while deploying a charm in my local container. 2015-10-14 12:47:09 INFO install After this operation, 11.7 MB of additional disk space will be used. 2015-10-14 12:47:09 INFO install Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main binutils amd64 2.24-5ubuntu13 2015-10-14 12:47:09 INFO install Could not resolve 'archive.ubuntu.com' 2015-10-14 12:47:09 INFO install E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/binutils/binutils_2.24-5ubuntu13_amd64.deb Could not resolve 'archive.ubuntu.com' 2015-10-14 12:47:09 INFO install 2015-10-14 12:47:09 INFO install E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 2015-10-14 12:47:09 ERROR juju.worker.uniter.operation runhook.go:103 hook "install" failed: exit status 100 Tried to do apt-get update in the container, which is also failing. How do I resolve this issue ? Thanks & Regards, Suchitra Venugopal IBM India Pvt. Ltd Seat # EGLC 6F B099, C-Block, Embassy Golf Link, Intermediate Ring Road, Bangalore Off : (91)80-4129-7773 Mobile : 9663126000 Email: suchv...@in.ibm.com-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Adding a new machine in juju
Hi Team, I installed juju(1.24.0) version in my Ubuntu box and when tried to add a juju machine using juju add-machine its waiting in pending state for long time as shown below: The log is also not getting updated and the status is also not getting updated after 30 - 40 minutes. This issue has been observed in some more ubuntu machines in the near past and we were not able to resolve this after cleaning the environment and reisntall. At the same time we had few other machines which is working fine and we able to deploy charms in them. The version of juju in them are lower than 1.24.0. Few of them has 1.23.2 and few 1.22.0, 1.22.1 etc. We are trying to install an older vrsion of juju to confirm whether this is an issue with version. Also thought to check with you whether any issue is ther with later version of Juju ? Also can anyone help us with the step to get an older version which is supported in trusty(14.04) version. I had a quick look in https://launchpad.net/~juju/+archive/ubuntu/stable and found the below versions available under stable. Or should we be looking at some other place other than stable ? Can anyone help me in this. Thanks Regards, Suchitra Venugopal IBM India Pvt. Ltd Seat # EGLC 6F B099, C-Block, Embassy Golf Link, Intermediate Ring Road, Bangalore Off : (91)80-4129-7773 Mobile : 9663126000 Email: suchv...@in.ibm.com-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju