Straight from the State of California website:
WHEN CAN A LANDLORD TERMINATE A TENANCY?
A
landlord can terminate (end) a month-to-month
tenancy simply by giving the
tenant 30 or 60 days' advance written notice.
However, the landlord can terminate the tenancy by giving the tenant only
three days' advance written notice if the tenant has done any of the following:
276
- Failed to pay the rent.
- Violated any provision of the lease or rental agreement.
- Materially damaged the rental property ("committed waste").
- Substantially interfered with other tenants ("committed a nuisance").277
- Committed domestic violence or sexual assault against, or stalked another tenant or subtenant on the premises.
- Used the rental property for an unlawful purpose.278
- Engaged in drug dealing, unlawfully used, cultivated, imported, or manufactured illegal drugs.
- Using the building or property to conduct dogfighting or cockfighting.278.1
- Unlawful conduct involving weapons or ammunition.279
From SFGate (California):
Eviction Without Reason
There are a number of good reasons that you can be evicted. Your landlord can give you the boot if you violate the terms of your tenancy, break the law, don't pay your rent or harass other tenants. But there are also scenarios in which your landlord can evict you for no reason at all. This power is limited depending on the details of your rental arrangement, the city in which you live, the type of housing you are renting and the underlying reason that the landlord is evicting you for “no reason.”
Location
Some jurisdictions in California have landlord-tenant rules that go above and beyond the state's laws. According to the California Department of Consumer Affairs, “Some rent control cities require 'just cause' for eviction.” The specifics depend on where you live, so your first step should be to look at your city's website. Additionally, some specific properties operate under special rules that limit the landlord's power to evict you. Generally, your landlord has the greatest power to evict you arbitrarily when you are renting from a private owner at a market rate. Low-income public housing usually offers extra protections to tenants.
Lease Agreement Breach
If you are on a rental lease and you breach the terms of the lease, you can be evicted. Otherwise, you cannot be evicted for any reason until the lease expires. Read a lease thoroughly before you sign it, and request changes to the language where you think the terms are unreasonable.
From The Cannifornians :
Q. What rights do landlords have when it comes to deciding whether renters can smoke or grow pot in their properties?
A. In short, landlords in California can prohibit tenants from smoking or growing marijuana in their property―regardless of whether it’s medical or recreational marijuana. It really comes down to what is in your lease.
Marijuana Growing in the Rental
As your question relates to growing, many leases prohibit making alterations to the property without the landlord’s permission, so any modifications for ventilation or electricity would violate that provision.
Similarly, most leases prohibit damaging the property in any way beyond reasonable wear and tear. So, for example, if growing causes mold, mites, or other issues, that would likely constitute a violation of the lease.
If the landlord pays any of the utilities, the excessive use of water or electricity resulting from even a stealth grow operation arguably would constitute a “waste” in violation of many leases.
There is a higher risk for landlords to rent to individuals who grow―as opposed to merely consume―marijuana, for reasons related to insurance, risks to the property due to electrical/plumbing issues, and the possibility (although perhaps remote if the tenant is only growing for himself) that the landlord’s property could be seized under federal asset forfeiture laws. So, while some landlords might be open to tenants’ discrete use of marijuana in the rental, many would likely prohibit any growing on the premises.
And federally, call it what you want, "medical" weed is still illegal. Don't know about anywhere else but too many growers here and majority of the CA Landlord takes this shit seriously. Again, the best thing to do is to be upfront with your landlord, or better yet, buy your own home.