[atomic-wg] Issue #160: Ship fedora-motd in F24 atomic image

2017-05-29 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
@dustymabe did anyone have time to review the above changes?
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


[atomic-wg] Issue #160 `Ship fedora-motd in F24 atomic image`

2017-02-22 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
Fixed the following issues:

- Don't cache update info from motdgen scripts, 
https://github.com/rtnpro/motdgen/commit/54c7571eb8616a413402bfb1c1ac033a5697bac9
- Replace cron jobs with systemd timer, 
https://github.com/rtnpro/motdgen/commit/06859c5c333ed7af85a05f67dc68bd7c9089a19f

If the cloud WG is OK with the changes, I will update the RPM package and 
release it.

@dustymabe @walters @mattdm ^^
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


[atomic-wg] Issue #160 `Ship fedora-motd in F24 atomic image`

2016-11-30 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
@walters 

I created an issue[1] to work on migrating from cron to systemd.

Regarding the first run of ``motdgen-cache-updateinfo``, I am not a big fan of 
it being run from the PAM stack. That's why I have a workaround in place.

## Use cases
### Installing fedora-motd manually
User can run ``/usr/bin/motdgen`` manually post install to cache update 
details. Hence, in subsequent runs, neither ``atomic`` or ``dnf`` update info 
will be checked. May be we can run ``/usr/bin/motdgen`` post install. Also, 
another way is to start ``motdgen.service`` or enable it at boot. So, 
``atomic`` and ``dnf`` commands won't be run at all from the PAM stack, because 
it has already been run, post install or at system boot.

### Enabling fedora-motd in images
We can enable ``motdgen.service`` at system boot. This will execute ``atomic`` 
and ``dnf`` commands only during first boot and cache the results. This will 
result in displaying the motd data from the cached update info result.

@walters what do you think? Is this workaround good enough?

[1]: https://github.com/rtnpro/motdgen/issues/8
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


[atomic-wg] Issue #160 `Ship fedora-motd in F24 atomic image`

2016-11-30 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
I did not manage to work on it post walter's review. I will be off for quite 
some time from next week on account of my marriage. It will be great if someone 
can lend me a hand to see this feature to completion.
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


[atomic-wg] Issue #160 `Ship fedora-motd in F24 atomic image`

2016-11-09 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
@walters I got that. I will fix fedora-motd based on your feedback and share it 
for review by this weekend.
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


[atomic-wg] Issue #160 `Ship fedora-motd in F24 atomic image`

2016-10-24 Thread Ratnadeep Debnath

rtnpro added a new comment to an issue you are following:
``
@walters could you outline the steps to ship fedora-motd in fedora atomic image 
build?
``

To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/160
___
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org


Won't be available for today's meeting

2016-08-24 Thread Ratnadeep Debnath
Hi all,

I will not be available for today's Fedora Cloud meeting.

See you, next week!

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Minutes from today's meeting

2016-05-18 Thread Ratnadeep Debnath
==
#fedora-meeting-1: fedora_cloud_wg
==


Meeting started by rtnpro at 17:00:37 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/fedora-meeting-1/2016-05-18/fedora_cloud_wg.2016-05-18-17.00.log.html
.



Meeting summary
---
* Roll Call  (rtnpro, 17:00:49)

* kushal to associate the items to owners in ticket 143  (rtnpro,
  17:03:30)

* Action items from last meeting  (kushal, 17:04:03)

* Fedora Cloud FAD (late 2015/early 2016)
  https://fedorahosted.org/cloud/ticket/115  (rtnpro, 17:15:24)

* Fedora-Dockerfiles examples for Kubernetes
  https://fedorahosted.org/cloud/ticket/125  (rtnpro, 17:21:30)

* vagrant boxes fixups https://fedorahosted.org/cloud/ticket/136
  (rtnpro, 17:24:33)

* Proposals for F24 features https://fedorahosted.org/cloud/ticket/143
  (rtnpro, 17:26:09)
  * ACTION: kushal to associate the items to owners in ticket 143
(kushal, 17:27:01)
  * ACTION: jberkus to obtain stats about cloud vs hw deployments
(kushal, 17:27:10)
  * ACTION: mattdm to create ticket giving download page redesign
options  (kushal, 17:27:20)
  * ACTION: jberkus to work on test for kubernetes cluster on AWS etc
(kushal, 17:27:29)

* Don't overwrite download location for 2 week atomic images
  https://fedorahosted.org/cloud/ticket/147  (rtnpro, 17:28:07)

* Container "Packager" Guildelines and Naming Conventions
  https://fedorahosted.org/cloud/ticket/148  (rtnpro, 17:29:11)

* Need owner to define basic container smoke testing requirements
  https://fedorahosted.org/cloud/ticket/151  (rtnpro, 17:31:06)

* Fedora Coud Test Day for F24 https://fedorahosted.org/cloud/ticket/152
  (rtnpro, 17:32:06)
  * ACTION: kushal will add his blog post in the ticket and close #152
(rtnpro, 17:33:58)

* design, deploy and document Fedora OpenShift Playground (FOSP)
  https://fedorahosted.org/cloud/ticket/153  (rtnpro, 17:35:28)

* make Fedora Atomic download page clearer
  https://fedorahosted.org/cloud/ticket/154  (rtnpro, 17:36:33)

* Decide on post-GA update cadence for various deliverables
  https://fedorahosted.org/cloud/ticket/155  (rtnpro, 17:39:40)

* Need complete Kickstart docs for Atomic Host
  https://fedorahosted.org/cloud/ticket/156  (rtnpro, 17:40:38)

* Open Floor  (rtnpro, 17:41:40)
  * LINK: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
(rtnpro, 17:44:13)
  * ACTION: jbrooks, sayan and trishnag will help to test
https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
(rtnpro, 17:47:23)
  * ACTION: rtnpro will speak with https://github.com/coreos/motdgen/
and figure out how we can collaborate on making a single tool for
motdgen  (rtnpro, 17:51:25)

Meeting ended at 18:02:08 UTC.




Action Items

* kushal to associate the items to owners in ticket 143
* jberkus to obtain stats about cloud vs hw deployments
* mattdm to create ticket giving download page redesign options
* jberkus to work on test for kubernetes cluster on AWS etc
* kushal will add his blog post in the ticket and close #152
* jbrooks, sayan and trishnag will help to test
  https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
* rtnpro will speak with https://github.com/coreos/motdgen/ and figure
  out how we can collaborate on making a single tool for motdgen




Action Items, by person
---
* jbrooks
  * jbrooks, sayan and trishnag will help to test
https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
* kushal
  * kushal to associate the items to owners in ticket 143
  * kushal will add his blog post in the ticket and close #152
* rtnpro
  * rtnpro will speak with https://github.com/coreos/motdgen/ and figure
out how we can collaborate on making a single tool for motdgen
* sayan
  * jbrooks, sayan and trishnag will help to test
https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
* trishnag
  * jbrooks, sayan and trishnag will help to test
https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8948356b9
* **UNASSIGNED**
  * jberkus to obtain stats about cloud vs hw deployments
  * mattdm to create ticket giving download page redesign options
  * jberkus to work on test for kubernetes cluster on AWS etc




People Present (lines said)
---
* rtnpro (75)
* kushal (56)
* dustymabe (50)
* zodbot (13)
* tflink (11)
* jzb (5)
* sayan (5)
* trishnag (4)
* jbrooks (4)




Generated by `MeetBot`_ 0.1.4

.. _`MeetBot`: http://wiki.debian.org/MeetBot

-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Fedora MOTD 0.1.3 release!

2016-05-09 Thread Ratnadeep Debnath
Hi all,

I pushed some fixes and updates to fedora-motd based on the issues
raised by @dustymabe on 0.1.2-1 release and, released a newer version
0.1.3. Here's a summary of the changes:

- Add support for Python3 alongside Python2
- Add motdgen service file
- Put all runtime files under /var/run/motdgen
- Fix SELinux labels for motdgen runtime files
- Automate including /etc/pam.d/motdgen in /etc/pam.d/sshd

I have submitted an update in bodhi at [1]. Please review it and give feedback.

[1]: https://bodhi.fedoraproject.org/updates/fedora-motd-0.1.3-1.fc24

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Fedora MOTD 0.1.2 release!

2016-04-19 Thread Ratnadeep Debnath
Hi all,

I pushed some updates to fedora-motd based on feedback from Colin
Walters and released a new version 0.1.2 with the fixes:

- Fix detecting rpm-ostree based system
- Don't use predicatable name in /tmp
- Cache updateinfo in background on first login post fedora-motd installation
- Don't wait for background jobs to complete in motdgen scripts

I submitted the update to bodhi at [1]. The koji build can be found at
[2]. The RPM can be found at [3].

Please help me test the fedora-motd-0.1.2-1 package and if everything
is OK, give karma to [1].

[1]: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fa9e77c232
[2]: http://koji.fedoraproject.org/koji/buildinfo?buildID=754309
[3]: 
https://kojipkgs.fedoraproject.org//packages/fedora-motd/0.1.2/1.fc23/noarch/fedora-motd-0.1.2-1.fc23.noarch.rpm

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Fedora MOTD status

2016-03-10 Thread Ratnadeep Debnath
Hi all,

fedora-motd-0.1.1-1 package has been pushed to "updates-testing" repo
today, with some fixes, on top of fedora-motd-0.1-1.

I built a f23 cloud base vagrant image after patching fedora-motd
related changes[1] on top of fedora-cloud-base kickstart file, with
"updates-testing" repo enabled (for now), and things seemed to work
properly.

I also created patches for:
- configuring fedora-motd on fedora-cloud-atomic image [2]
- adding fedora-motd in fedora-atomic's ostree[3]

I need help with updating the ostree for fedora-cloud-atomic and
building an image for fedora-cloud-atomic with fedora-motd enabled.

[1]: 
https://rtnpro.fedorapeople.org/fedora_motd/0001-Install-and-fedora-motd-in-fedora-cloud-base-kicksta.patch
[2]: 
https://rtnpro.fedorapeople.org/fedora_motd/0002-Include-motdgen-in-etc-pam.d-sshd-on-fedora-cloud-at.patch
[3]: 
https://rtnpro.fedorapeople.org/fedora_motd/0001-Added-fedora-motd-package.patch

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


fedora-motd package for review

2016-02-18 Thread Ratnadeep Debnath
Hi all,

I just created a review request for the RPM package for fedora-motd at
[1]. It'd be great if someone could review it and give feedback.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1309792

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Re: Fedora Cloud MOTD

2016-02-09 Thread Ratnadeep Debnath
Hi,

On Thu, Feb 4, 2016 at 10:48 PM, Ratnadeep Debnath <rtn...@gmail.com> wrote:
> Hi all,
>
> I now have a working version of fedora-motd[1] for use in Fedor Cloud images.
>
> You can give it a run as follows:

wget 
https://kojipkgs.fedoraproject.org//work/tasks/6582/12916582/fedora-motd-0.1-1.fc23.noarch.rpm
sudo dnf install ./fedora-motd-0.1-1.fc23.noarch.rpm

> sudo echo "sessioninclude  motdgen" >> /etc/pam.d/sshd
> sudo motdgen-cache-dnfupdateinfo
>
> Usage
> =
> SSH login to the machine you setup fedora-motd on, and you should see
something like:
>
> Last login: Thu Feb  4 22:39:21 2016 from 127.0.0.1
> 22:39:58 up 17 days, 13:52,  6 users,  load average: 0.88, 0.68, 0.46
> Updates Information Summary: available
> 34 Security notice(s)
> 66 Bugfix notice(s)
> 26 Enhancement notice(s)
>
>  1 other notice(s)

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Fedora Cloud MOTD

2016-02-04 Thread Ratnadeep Debnath
Hi all,

I now have a working version of fedora-motd[1] for use in Fedor Cloud images.

You can give it a run as follows:

Setup
=
git clone https://github.com/rtnpro/fedora-motd.git
cd fedora-motd
sudo python setup.py install
sudo echo "sessioninclude  motdgen" >> /etc/pam.d/sshd
sudo motdgen-cache-dnfupdateinfo

Usage
=
SSH login to the machine you setup fedora-motd on, and you should see
something like:

Last login: Thu Feb  4 22:39:21 2016 from 127.0.0.1
 22:39:58 up 17 days, 13:52,  6 users,  load average: 0.88, 0.68, 0.46
Updates Information Summary: available
34 Security notice(s)
66 Bugfix notice(s)
26 Enhancement notice(s)

 1 other notice(s)


Let me know what you think. I wish I could get rid of the step to
modify /etc/pam.d/sshd, but I could not find any workaround. If the
above looks good, I will make an RPM package for it and put up for
review.

[1]: https://github.com/rtnpro/fedora-motd

Thanks,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org


Re: Steps to setup file sync using NFS and 9pfs on vagrant/libvirt

2015-08-31 Thread Ratnadeep Debnath
On Wed, Aug 26, 2015 at 9:13 AM, Ratnadeep Debnath <rtn...@gmail.com> wrote:
> Hi,
>
> On Wed, Aug 26, 2015 at 7:17 AM, Dusty Mabe <du...@dustymabe.com> wrote:
>> On Tue, Aug 25, 2015 at 03:13:10PM -0400, Dusty Mabe wrote:
>>> I say put together some steps for documentation and then we can go
>>> from there and make a blog post out of it etc..
>>
>> Actually just found this:
>>
>> http://nts.strzibny.name/vagrant-nfs-exports-on-fedora-21/

This works flawlessly in Fedors 22 as well. I think this deserves to
be blogged on Fedora magazine.


Regards,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


Re: Steps to setup file sync using NFS and 9pfs on vagrant/libvirt

2015-08-25 Thread Ratnadeep Debnath
Hi,

On Wed, Aug 26, 2015 at 7:17 AM, Dusty Mabe du...@dustymabe.com wrote:
 On Tue, Aug 25, 2015 at 03:13:10PM -0400, Dusty Mabe wrote:
 I say put together some steps for documentation and then we can go
 from there and make a blog post out of it etc..

 Actually just found this:

 http://nts.strzibny.name/vagrant-nfs-exports-on-fedora-21/

 Does this still work for F22?

Thanks for the pointer. I will give it a run and let you know :)

Regards,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


Steps to setup file sync using NFS and 9pfs on vagrant/libvirt

2015-08-19 Thread Ratnadeep Debnath
Hi all,

I was wondering if someone has a set of reproducible steps to setup
file sync using NFS and 9pfs in a Vagrant/libvirt box.

Related issues with NFS setup on Vagrant:
https://fedorahosted.org/cloud/ticket/110

If someone has already solved this problem, I'd like to work on top of
it, rather than starting from scratch :)

Regards,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct


Re: Cloud WG membership renewal

2015-08-14 Thread Ratnadeep Debnath
Hi Haïkel,

On Sat, Aug 15, 2015 at 1:00 AM, Haïkel hgue...@fedoraproject.org wrote:
 Hi ladies and gentlemen,
 The Cloud WG regularly renew membership, and this time, we have
 two seats available.
 So if you're interested and able to dedicate a significant amount of time
 then you're more than welcome to apply.

 Candidates preferably could reply to the mailing list but you can
 email me directly
 if you're more comfortable this way. Please state what are your interests and
 what you'd like to let us know.

I'd like to apply for the Cloud WG.

About myself, I contribute to Fedora Infra, and I am a full stack web
developer with a keen interest in dev ops, a long time Vagrant user,
currently building orchestration tools around Docker and Openstack. I
am also working on **autocloud**[1] for Fedora Cloud along with Kushal
and others. My interests are in making new cloud/infrastructure
software available for Fedora and streamlining processes around it.

I will be joining the Container Tools team at OSAS this month and I
believe that most of my day job work will now align properly with my
work at Cloud WG and I will be able to devote more time and energy to
contribute to Cloud WG.

[1]: https://github.com/kushaldas/autocloud/

Regards,
rtnpro
-- 
Ratnadeep Debnath,
https://www.waartaa.com
GPG Fingerprint: 033C 8041 A0E9 CDBA 2E02  B785 2119 5486 F245 DFD6
___
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct