Andrew Bogott has uploaded a new change for review.
https://gerrit.wikimedia.org/r/104484
Change subject: Start using instance fqdn for the page url rather than just ec2
id.
......................................................................
Start using instance fqdn for the page url rather than just ec2 id.
Note that this solution is half-baked since in this context
fqdn is just 'instance_name.' . FLAGS.wiki_instance_dns_domain
so the domain name is essentially hardcoded.
Will probably still work, though, presuming that wiki_instance_dns_domain
is properly set according to what region the nova host is in.
Change-Id: Ib50080a02ddcdc598ebd9bd1cfb227a195a6402e
---
M wikistatus/wikistatus.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/openstack-wikistatus
refs/changes/84/104484/1
diff --git a/wikistatus/wikistatus.py b/wikistatus/wikistatus.py
index d8d57ce..6fc474d 100644
--- a/wikistatus/wikistatus.py
+++ b/wikistatus/wikistatus.py
@@ -239,7 +239,7 @@
end_comment)
self._wiki_login()
- pagename = "%s%s" % (FLAGS.wiki_page_prefix, ec2_id)
+ pagename = "%s%s" % (FLAGS.wiki_page_prefix, fqdn)
LOG.debug("wikistatus: Writing instance info"
" to page http://%s/wiki/%s" %
(self.host, pagename))
--
To view, visit https://gerrit.wikimedia.org/r/104484
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib50080a02ddcdc598ebd9bd1cfb227a195a6402e
Gerrit-PatchSet: 1
Gerrit-Project: openstack-wikistatus
Gerrit-Branch: master
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits